Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.002697/0.002697, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.003326/0.003326, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.571/1.571, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 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.3756/0.3756, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.935e-05, allocations: 2.312 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003372/0.003401, allocations: 1.821 MB / 379.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.005536, allocations: 1.075 MB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.005622, allocations: 3.938 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008288/0.006451, allocations: 303.2 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005867/0.007037, allocations: 270.9 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.007344, allocations: 111.6 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.007737, allocations: 271.2 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.007784, allocations: 5.812 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.00803, allocations: 151.6 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.008338, allocations: 207.6 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.008377, allocations: 11.94 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.008507, allocations: 47.92 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.008698, allocations: 135.6 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.00882, allocations: 75.59 kB / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005052/0.009326, allocations: 358.8 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.009329, allocations: 0 / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.009331, allocations: 0 / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.009337, allocations: 0 / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001289/0.01063, allocations: 0.8094 MB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.01067, allocations: 12.03 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.01078, allocations: 56.56 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006056/0.01139, allocations: 340.6 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.01141, allocations: 4.375 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.01142, allocations: 4.375 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.01164, allocations: 97.52 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.01165, allocations: 192 / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.01167, allocations: 384 / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.01168, allocations: 7.938 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.01178, allocations: 19.98 kB / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.01229, allocations: 360.2 kB / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.01262, allocations: 114.2 kB / 383.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.01272, allocations: 39.36 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.01274, allocations: 7.938 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.01298, allocations: 116.3 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.01298, allocations: 4 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005419/0.01353, allocations: 197.2 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/0.0136, allocations: 89.03 kB / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.01464, allocations: 0.7722 MB / 385.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.01467, allocations: 29.7 kB / 385.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.015, allocations: 326.8 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.01506, allocations: 27.84 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.01513, allocations: 35.38 kB / 385.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004007/0.01553, allocations: 0.5821 MB / 386.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.01562, allocations: 27.98 kB / 386.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.01574, allocations: 66.72 kB / 386.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.01593, allocations: 95.17 kB / 386.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.01594, allocations: 4 kB / 386.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003394/0.01628, allocations: 173.2 kB / 386.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01629, allocations: 4 kB / 386.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.0163, allocations: 4 kB / 386.5 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.01632, allocations: 4.062 kB / 386.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.01645, allocations: 23.92 kB / 386.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.01646, allocations: 4 kB / 386.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.01656, allocations: 15.89 kB / 386.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.01658, allocations: 7.938 kB / 386.5 MB, free: 9.258 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001783/0.01676, allocations: 178 kB / 386.7 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.18e-05/0.01684, allocations: 51.67 kB / 386.7 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.01724, allocations: 177.9 kB / 386.9 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01724, allocations: 4 kB / 386.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.01725, allocations: 3.938 kB / 386.9 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.01725, allocations: 4 kB / 386.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/0.01772, allocations: 364.4 kB / 387.3 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01772, allocations: 0 / 387.3 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.142e-05/0.01777, allocations: 12 kB / 387.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01778, allocations: 0 / 387.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.01779, allocations: 4 kB / 387.3 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01779, allocations: 256 / 387.3 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01779, allocations: 0 / 387.3 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006865/0.01848, allocations: 239.6 kB / 387.5 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.01866, allocations: 67.55 kB / 387.6 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.0187, allocations: 4 kB / 387.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.01878, allocations: 8 kB / 387.6 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.01884, allocations: 11.92 kB / 387.6 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.01887, allocations: 15.98 kB / 387.6 MB, free: 8.059 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006726/0.01954, allocations: 0.4949 MB / 388.1 MB, free: 7.566 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01954, allocations: 0 / 388.1 MB, free: 7.566 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002781/0.01982, allocations: 44 kB / 388.2 MB, free: 7.523 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003103/0.02292, allocations: 445.7 kB / 388.6 MB, free: 7.234 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003017/0.02323, allocations: 91.66 kB / 388.7 MB, free: 7.141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02323, allocations: 4.062 kB / 388.7 MB, free: 7.137 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.02335, allocations: 51.66 kB / 388.8 MB, free: 7.082 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.02384, allocations: 73.69 kB / 388.8 MB, free: 7.012 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.02506, allocations: 0.687 MB / 389.5 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.02535, allocations: 229.7 kB / 389.7 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.02546, allocations: 50.92 kB / 389.8 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.549e-05/0.02555, allocations: 32.5 kB / 389.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02555, allocations: 0 / 389.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of Templates: time 0.01002/0.03556, allocations: 4.002 MB / 393.8 MB, free: 1.988 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.026348774088547]