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.001339/0.001339, allocations: 183.5 kB / 13.19 MB, free: 2.129 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.303/1.303, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008614/0.0008614, allocations: 95.81 kB / 267.1 MB, free: 9.273 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.3158/0.3158, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.226e-05, allocations: 4 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 58.85 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3484/0.4557, allocations: 87.48 MB / 0.5582 GB, free: 16.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001753/0.4559, allocations: 77.27 kB / 0.5583 GB, free: 16.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0135/0.4694, allocations: 6.497 MB / 0.5647 GB, free: 12.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4694, allocations: 0 / 0.5647 GB, free: 12.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.186e-05/0.4695, allocations: 7.281 kB / 0.5647 GB, free: 12.59 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004676/0.47, allocations: 0.5995 MB / 0.5653 GB, free: 11.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.47, allocations: 8.031 kB / 0.5653 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.064e-05/0.4701, allocations: 54.78 kB / 0.5653 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.4707, allocations: 482.8 kB / 0.5658 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.4707, allocations: 7 kB / 0.5658 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.4707, allocations: 3.938 kB / 0.5658 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.4708, allocations: 88.61 kB / 0.5659 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.4709, allocations: 4 kB / 0.5659 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.4709, allocations: 1.375 kB / 0.5659 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4709, allocations: 0 / 0.5659 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/0.471, allocations: 26.98 kB / 0.5659 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.4712, allocations: 390.1 kB / 0.5663 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.4714, allocations: 99.03 kB / 0.5664 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.4714, allocations: 36.34 kB / 0.5664 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.4714, allocations: 11.94 kB / 0.5664 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.4716, allocations: 103.4 kB / 0.5665 GB, free: 10.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.4716, allocations: 0 / 0.5665 GB, free: 10.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002572/0.4718, allocations: 168.8 kB / 0.5667 GB, free: 10.56 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.4719, allocations: 81.11 kB / 0.5668 GB, free: 10.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009217/0.4728, allocations: 0.9334 MB / 0.5677 GB, free: 9.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.4728, allocations: 33.2 kB / 0.5677 GB, free: 9.695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.997e-05/0.4729, allocations: 227.4 kB / 0.5679 GB, free: 9.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.473, allocations: 26.72 kB / 0.5679 GB, free: 9.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.473, allocations: 0 / 0.5679 GB, free: 9.551 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.4731, allocations: 372 kB / 0.5683 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.4731, allocations: 30.11 kB / 0.5683 GB, free: 9.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.627e-05/0.4732, allocations: 50.62 kB / 0.5684 GB, free: 9.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.395e-05/0.4732, allocations: 47.47 kB / 0.5684 GB, free: 9.094 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4732, allocations: 0 / 0.5684 GB, free: 9.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001803/0.4734, allocations: 159.6 kB / 0.5686 GB, free: 8.953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.4734, allocations: 8 kB / 0.5686 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4734, allocations: 0 / 0.5686 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4735, allocations: 4 kB / 0.5686 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4736, allocations: 23.92 kB / 0.5686 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.4736, allocations: 4.062 kB / 0.5686 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.513e-05/0.4737, allocations: 19.28 kB / 0.5686 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.4737, allocations: 4 kB / 0.5686 GB, free: 8.895 MB / 394.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 () * 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 4.972e-05/0.4738, allocations: 121.4 kB / 0.5687 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.4738, allocations: 51.44 kB / 0.5688 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.4741, allocations: 193.8 kB / 0.569 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.4741, allocations: 0 / 0.569 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4741, allocations: 11.94 kB / 0.569 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4741, allocations: 3.984 kB / 0.569 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.4743, allocations: 394.3 kB / 0.5694 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4743, allocations: 1.312 kB / 0.5694 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.4744, allocations: 11.94 kB / 0.5694 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4744, allocations: 0 / 0.5694 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.4744, allocations: 4 kB / 0.5694 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4744, allocations: 256 / 0.5694 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4744, allocations: 0 / 0.5694 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.4746, allocations: 232.3 kB / 0.5696 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.4748, allocations: 191.3 kB / 0.5698 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.4749, allocations: 7.75 kB / 0.5698 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.93e-05/0.475, allocations: 4 kB / 0.5698 GB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.475, allocations: 19.66 kB / 0.5698 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.475, allocations: 4 kB / 0.5698 GB, free: 7.711 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005935/0.4756, allocations: 0.748 MB / 0.5706 GB, free: 7.164 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.4756, allocations: 0 / 0.5706 GB, free: 7.164 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.4759, allocations: 88.19 kB / 0.5706 GB, free: 7.086 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: 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) * 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.0006841/0.4766, allocations: 374.5 kB / 0.571 GB, free: 6.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.4767, allocations: 82.3 kB / 0.5711 GB, free: 6.727 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4767, allocations: 0 / 0.5711 GB, free: 6.727 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.785e-05/0.4768, allocations: 45.61 kB / 0.5711 GB, free: 6.691 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.4771, allocations: 75.7 kB / 0.5712 GB, free: 6.641 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007959/0.4779, allocations: 0.7765 MB / 0.5719 GB, free: 5.918 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.4781, allocations: 0.8522 MB / 0.5728 GB, free: 5.055 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.4783, allocations: 85.58 kB / 0.5729 GB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.616e-05/0.4784, allocations: 49.98 kB / 0.5729 GB, free: 4.934 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4784, allocations: 0 / 0.5729 GB, free: 4.934 MB / 394.7 MB Notification: Performance of Templates: time 0.006457/0.4848, allocations: 4.598 MB / 0.5774 GB, free: 364 kB / 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