Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 176.2 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008828/0.0008831, allocations: 94.61 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3819/0.3819, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004137, allocations: 16 kB / 432.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1495, allocations: 58.85 MB / 491.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4088/0.5583, allocations: 87.76 MB / 0.5657 GB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.5586, allocations: 75.95 kB / 0.5657 GB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01516/0.5738, allocations: 5.434 MB / 0.571 GB, free: 8.754 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.358e-06/0.5738, allocations: 0 / 0.571 GB, free: 8.754 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.051e-05/0.5739, allocations: 4.766 kB / 0.5711 GB, free: 8.75 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007927/0.5747, allocations: 418 kB / 0.5714 GB, free: 8.293 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/0.5748, allocations: 12.03 kB / 0.5715 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.204e-05/0.5749, allocations: 12.75 kB / 0.5715 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.5753, allocations: 220.7 kB / 0.5717 GB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.5754, allocations: 4.375 kB / 0.5717 GB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.5754, allocations: 7.281 kB / 0.5717 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.5756, allocations: 54.73 kB / 0.5717 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.5757, allocations: 192 / 0.5717 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.5757, allocations: 7.922 kB / 0.5718 GB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.5757, allocations: 4 kB / 0.5718 GB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.73e-05/0.5758, allocations: 27.92 kB / 0.5718 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.5764, allocations: 288.9 kB / 0.5721 GB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.5766, allocations: 66.61 kB / 0.5721 GB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.291e-05/0.5767, allocations: 20.84 kB / 0.5721 GB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.5767, allocations: 4 kB / 0.5721 GB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.5769, allocations: 71.23 kB / 0.5722 GB, free: 7.391 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.5769, allocations: 4 kB / 0.5722 GB, free: 7.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007342/0.5776, allocations: 177.2 kB / 0.5724 GB, free: 7.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.5777, allocations: 55.34 kB / 0.5724 GB, free: 7.141 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.578, allocations: 201.7 kB / 0.5726 GB, free: 6.934 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.578, allocations: 25.7 kB / 0.5727 GB, free: 6.902 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.5781, allocations: 100.1 kB / 0.5728 GB, free: 6.801 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.5782, allocations: 31.62 kB / 0.5728 GB, free: 6.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-06/0.5782, allocations: 0 / 0.5728 GB, free: 6.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.5784, allocations: 330.8 kB / 0.5731 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.5784, allocations: 23.98 kB / 0.5731 GB, free: 6.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.5785, allocations: 37.7 kB / 0.5732 GB, free: 6.371 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.5787, allocations: 61.64 kB / 0.5732 GB, free: 6.305 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5787, allocations: 0 / 0.5732 GB, free: 6.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002234/0.5789, allocations: 93.59 kB / 0.5733 GB, free: 6.207 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.5789, allocations: 9.062 kB / 0.5733 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.579, allocations: 3.984 kB / 0.5733 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.579, allocations: 4 kB / 0.5733 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.5791, allocations: 19.94 kB / 0.5733 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.5791, allocations: 0 / 0.5733 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.5792, allocations: 4 kB / 0.5733 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.5792, allocations: 3.984 kB / 0.5733 GB, free: 6.164 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.5793, allocations: 129.8 kB / 0.5735 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.5794, allocations: 11.81 kB / 0.5735 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.5797, allocations: 127.1 kB / 0.5736 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.5797, allocations: 7.984 kB / 0.5736 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5797, allocations: 0 / 0.5736 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.5797, allocations: 0 / 0.5736 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.5803, allocations: 411.2 kB / 0.574 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.5803, allocations: 4 kB / 0.574 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.5804, allocations: 12.02 kB / 0.574 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.5804, allocations: 7.938 kB / 0.574 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.5804, allocations: 4 kB / 0.574 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5804, allocations: 384 / 0.574 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.5804, allocations: 3.938 kB / 0.574 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.5807, allocations: 208.1 kB / 0.5742 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.994e-05/0.5808, allocations: 105 kB / 0.5743 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.5808, allocations: 4 kB / 0.5743 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.5809, allocations: 8 kB / 0.5743 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.581, allocations: 15.86 kB / 0.5744 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.581, allocations: 0 / 0.5744 GB, free: 5.016 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001672/0.5812, allocations: 152.9 kB / 0.5745 GB, free: 4.867 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5812, allocations: 0 / 0.5745 GB, free: 4.867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003086/0.5815, allocations: 39.92 kB / 0.5745 GB, free: 4.828 MB / 394.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001136/0.5827, allocations: 486.4 kB / 0.575 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.5829, allocations: 63.91 kB / 0.5751 GB, free: 4.387 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5829, allocations: 0 / 0.5751 GB, free: 4.387 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.184e-05/0.583, allocations: 35.91 kB / 0.5751 GB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.5833, allocations: 28.11 kB / 0.5751 GB, free: 4.324 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.5839, allocations: 260.3 kB / 0.5754 GB, free: 4.051 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.5843, allocations: 0.7004 MB / 0.5761 GB, free: 3.324 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.799e-05/0.5843, allocations: 16.55 kB / 0.5761 GB, free: 3.309 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.5844, allocations: 15.44 kB / 0.5761 GB, free: 3.293 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5844, allocations: 0 / 0.5761 GB, free: 3.293 MB / 394.7 MB Notification: Performance of Templates: time 0.004907/0.5893, allocations: 1.722 MB / 0.5778 GB, free: 1.582 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches