Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001828/0.001828, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002186/0.002186, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2676/0.2676, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 442.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.536e-05/3.789e-05, allocations: 6.219 kB / 442.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.004095/0.004133, allocations: 1.594 MB / 444.3 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.006898, allocations: 1.23 MB / 445.5 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.006971, allocations: 0 / 445.5 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.007246, allocations: 35.72 kB / 445.5 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.007684, allocations: 83.55 kB / 445.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.008067, allocations: 87.7 kB / 445.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.008272, allocations: 79.69 kB / 445.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.008389, allocations: 11.86 kB / 445.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.008495, allocations: 31.91 kB / 445.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.008662, allocations: 27.91 kB / 445.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.008691, allocations: 4 kB / 445.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.008941, allocations: 91.81 kB / 446 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.488e-05/0.009006, allocations: 11.94 kB / 446 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.009056, allocations: 19.91 kB / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.009426, allocations: 143.5 kB / 446.1 MB, free: 1.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.009429, allocations: 4 kB / 446.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.00943, allocations: 0 / 446.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.009435, allocations: 0 / 446.1 MB, free: 1.801 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006788/0.01011, allocations: 325.7 kB / 446.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.01016, allocations: 11.97 kB / 446.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.01022, allocations: 12.83 kB / 446.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.01052, allocations: 133.7 kB / 446.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.01054, allocations: 4.375 kB / 446.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.01056, allocations: 384 / 446.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.0108, allocations: 93.59 kB / 446.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.01082, allocations: 8.141 kB / 446.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.01084, allocations: 4.375 kB / 446.7 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.01084, allocations: 384 / 446.7 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.01099, allocations: 23.92 kB / 446.7 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.01145, allocations: 216.6 kB / 446.9 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.01172, allocations: 50.48 kB / 447 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.286e-05/0.01179, allocations: 12.94 kB / 447 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.01182, allocations: 0 / 447 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.01186, allocations: 38.56 kB / 447 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.01186, allocations: 4 kB / 447 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000801/0.01266, allocations: 141.4 kB / 447.2 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.01274, allocations: 81.09 kB / 447.3 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.01297, allocations: 141.8 kB / 447.4 MB, free: 372 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.013, allocations: 25.7 kB / 447.4 MB, free: 340 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/0.01309, allocations: 96.08 kB / 447.5 MB, free: 240 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.01312, allocations: 19.84 kB / 447.5 MB, free: 220 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.01318, allocations: 21.72 kB / 447.6 MB, free: 192 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2364/0.2496, allocations: 319.5 kB / 447.9 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.2497, allocations: 14.98 kB / 447.9 MB, free: 18.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.2499, allocations: 57.41 kB / 447.9 MB, free: 18.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.2501, allocations: 47.25 kB / 448 MB, free: 18.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2501, allocations: 0 / 448 MB, free: 18.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003302/0.2504, allocations: 87.81 kB / 448.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.2504, allocations: 6.5 kB / 448.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.2505, allocations: 0 / 448.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.2505, allocations: 1.891 kB / 448.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.2506, allocations: 11.98 kB / 448.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2506, allocations: 1.156 kB / 448.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.2507, allocations: 13.14 kB / 448.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2507, allocations: 4.906 kB / 448.1 MB, free: 18.85 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.2508, allocations: 115.1 kB / 448.2 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.2508, allocations: 9.312 kB / 448.2 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.2512, allocations: 92.62 kB / 448.3 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.2512, allocations: 1.156 kB / 448.3 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2512, allocations: 5.562 kB / 448.3 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.2512, allocations: 0.9844 kB / 448.3 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006184/0.2518, allocations: 292.1 kB / 448.6 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2518, allocations: 3.312 kB / 448.6 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.2519, allocations: 12.73 kB / 448.6 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2519, allocations: 0 / 448.6 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.2519, allocations: 5.531 kB / 448.6 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2519, allocations: 1.094 kB / 448.6 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2519, allocations: 2.312 kB / 448.6 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.2523, allocations: 179.3 kB / 448.8 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.2523, allocations: 9.172 kB / 448.8 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.2523, allocations: 5.938 kB / 448.8 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.2524, allocations: 7.312 kB / 448.8 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.2525, allocations: 2.891 kB / 448.8 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.2525, allocations: 3.266 kB / 448.8 MB, free: 18.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.2526, allocations: 115.8 kB / 449 MB, free: 18.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2526, allocations: 0 / 449 MB, free: 18.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005548/0.2532, allocations: 41.06 kB / 449 MB, free: 18.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002639/0.2558, allocations: 0.5165 MB / 449.5 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000264/0.2561, allocations: 43.83 kB / 449.6 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2561, allocations: 1.062 kB / 449.6 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.834e-05/0.2562, allocations: 27.62 kB / 449.6 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000617/0.2568, allocations: 24.36 kB / 449.6 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000616/0.2574, allocations: 176.2 kB / 449.8 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.231e-05/0.2575, allocations: 72.28 kB / 449.9 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.004e-05/0.2575, allocations: 17.44 kB / 449.9 MB, free: 17.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.2576, allocations: 22.11 kB / 449.9 MB, free: 17.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2576, allocations: 4 kB / 449.9 MB, free: 17.85 MB / 366.1 MB Notification: Performance of Templates: time 0.008694/0.2663, allocations: 1.795 MB / 451.7 MB, free: 17.64 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0762951001524925]