Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001844/0.001845, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.804/1.804, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0007559/0.0007559, allocations: 94.83 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2111/0.2111, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003225, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1265, allocations: 58.85 MB / 490.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4271/0.5536, allocations: 87.57 MB / 0.5643 GB, free: 12.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.5539, allocations: 77.42 kB / 0.5644 GB, free: 12.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01713/0.5711, allocations: 6.506 MB / 0.5707 GB, free: 6.582 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5711, allocations: 4 kB / 0.5707 GB, free: 6.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.603e-05/0.5711, allocations: 8 kB / 0.5707 GB, free: 6.57 MB / 378.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.001032/0.5722, allocations: 0.7123 MB / 0.5714 GB, free: 5.836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.5722, allocations: 12.02 kB / 0.5714 GB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.5724, allocations: 51.42 kB / 0.5715 GB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000866/0.5733, allocations: 490.3 kB / 0.5719 GB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.5733, allocations: 11.98 kB / 0.572 GB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.5733, allocations: 0 / 0.572 GB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.5735, allocations: 97.92 kB / 0.5721 GB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.5735, allocations: 0 / 0.5721 GB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.5736, allocations: 0 / 0.5721 GB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5736, allocations: 0 / 0.5721 GB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.5737, allocations: 34.84 kB / 0.5721 GB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.5741, allocations: 390.2 kB / 0.5725 GB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.5744, allocations: 110.7 kB / 0.5726 GB, free: 4.684 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.5744, allocations: 4 kB / 0.5726 GB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.5747, allocations: 111 kB / 0.5727 GB, free: 4.566 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.5747, allocations: 0 / 0.5727 GB, free: 4.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004955/0.5752, allocations: 202.8 kB / 0.5729 GB, free: 4.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.5753, allocations: 81.11 kB / 0.5729 GB, free: 4.297 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.5766, allocations: 0.9374 MB / 0.5739 GB, free: 3.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.5766, allocations: 33 kB / 0.5739 GB, free: 3.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.5768, allocations: 232.3 kB / 0.5741 GB, free: 3.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.192e-05/0.5769, allocations: 33.61 kB / 0.5741 GB, free: 3.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.5769, allocations: 0 / 0.5741 GB, free: 3.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002323/0.5772, allocations: 374.9 kB / 0.5745 GB, free: 3.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.199e-05/0.5773, allocations: 27.55 kB / 0.5745 GB, free: 3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.5774, allocations: 54.84 kB / 0.5746 GB, free: 2.945 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.5775, allocations: 38.92 kB / 0.5746 GB, free: 2.918 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5775, allocations: 3.938 kB / 0.5746 GB, free: 2.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003355/0.5778, allocations: 167.7 kB / 0.5748 GB, free: 2.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.5779, allocations: 8 kB / 0.5748 GB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.5779, allocations: 0 / 0.5748 GB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.5779, allocations: 0 / 0.5748 GB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.5781, allocations: 20 kB / 0.5748 GB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.5781, allocations: 11.98 kB / 0.5748 GB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.5782, allocations: 20.28 kB / 0.5748 GB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.5783, allocations: 4 kB / 0.5748 GB, free: 2.711 MB / 378.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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002897/0.5786, allocations: 228.1 kB / 0.5751 GB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.5787, allocations: 51.34 kB / 0.5751 GB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004631/0.5791, allocations: 203.3 kB / 0.5753 GB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5792, allocations: 7.875 kB / 0.5753 GB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.5792, allocations: 8 kB / 0.5753 GB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5792, allocations: 0 / 0.5753 GB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.5797, allocations: 391.5 kB / 0.5757 GB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5797, allocations: 3.984 kB / 0.5757 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-05/0.5797, allocations: 8 kB / 0.5757 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5797, allocations: 0 / 0.5757 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.5798, allocations: 7.75 kB / 0.5757 GB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.5798, allocations: 0 / 0.5757 GB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5798, allocations: 3.938 kB / 0.5757 GB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.5802, allocations: 233.1 kB / 0.5759 GB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004173/0.5806, allocations: 191.8 kB / 0.5761 GB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-05/0.5807, allocations: 7.688 kB / 0.5761 GB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.5808, allocations: 11.98 kB / 0.5761 GB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.5809, allocations: 7.984 kB / 0.5761 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.5809, allocations: 11.81 kB / 0.5762 GB, free: 1.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009379/0.5819, allocations: 0.746 MB / 0.5769 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5819, allocations: 3.938 kB / 0.5769 GB, free: 0.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003378/0.5822, allocations: 83.92 kB / 0.577 GB, free: 0.7969 MB / 378.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 (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.0009921/0.5832, allocations: 433 kB / 0.5774 GB, free: 444 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.5835, allocations: 83.02 kB / 0.5775 GB, free: 380 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5835, allocations: 4.125 kB / 0.5775 GB, free: 376 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.5836, allocations: 47.61 kB / 0.5775 GB, free: 340 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.5841, allocations: 65.28 kB / 0.5776 GB, free: 292 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.5858, allocations: 1 MB / 0.5785 GB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.5864, allocations: 0.8497 MB / 0.5794 GB, free: 14.47 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.5865, allocations: 91.06 kB / 0.5795 GB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.5866, allocations: 39.31 kB / 0.5795 GB, free: 14.36 MB / 394.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5866, allocations: 4 kB / 0.5795 GB, free: 14.35 MB / 394.7 MB Notification: Performance of Templates: time 0.01076/0.5974, allocations: 4.582 MB / 0.584 GB, free: 9.777 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches