Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001463, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.899/1.899, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.00112/0.00112, allocations: 93.3 kB / 270.9 MB, free: 8.383 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.5095/0.5095, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004787, allocations: 19.98 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1294, allocations: 58.84 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.484/0.6135, allocations: 87.57 MB / 0.5642 GB, free: 15.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.6138, allocations: 79.95 kB / 0.5643 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02802/0.6418, allocations: 6.514 MB / 0.5707 GB, free: 8.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.6419, allocations: 0.7656 kB / 0.5707 GB, free: 8.488 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.573e-05/0.642, allocations: 8 kB / 0.5707 GB, free: 8.48 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.001413/0.6434, allocations: 0.722 MB / 0.5714 GB, free: 7.711 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.6434, allocations: 12.02 kB / 0.5714 GB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.6436, allocations: 50.88 kB / 0.5715 GB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.6449, allocations: 483 kB / 0.5719 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.6449, allocations: 8 kB / 0.5719 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.645, allocations: 4 kB / 0.5719 GB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.6453, allocations: 98.19 kB / 0.572 GB, free: 7.023 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.6453, allocations: 0 / 0.572 GB, free: 7.023 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.6453, allocations: 0 / 0.572 GB, free: 7.023 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.6453, allocations: 5.016 kB / 0.572 GB, free: 7.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.6455, allocations: 31.98 kB / 0.5721 GB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.6462, allocations: 382.3 kB / 0.5724 GB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.6466, allocations: 109.3 kB / 0.5725 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.6467, allocations: 4 kB / 0.5725 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/0.647, allocations: 117 kB / 0.5726 GB, free: 6.301 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.564e-06/0.647, allocations: 4 kB / 0.5726 GB, free: 6.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008383/0.6479, allocations: 201.4 kB / 0.5728 GB, free: 6.094 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.648, allocations: 81.11 kB / 0.5729 GB, free: 5.996 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.6502, allocations: 0.9356 MB / 0.5738 GB, free: 5.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.6503, allocations: 29.7 kB / 0.5739 GB, free: 5.016 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.6505, allocations: 246.6 kB / 0.5741 GB, free: 4.773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.644e-05/0.6506, allocations: 39.53 kB / 0.5741 GB, free: 4.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.6506, allocations: 4 kB / 0.5741 GB, free: 4.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.6508, allocations: 322.8 kB / 0.5744 GB, free: 4.406 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.651, allocations: 27.98 kB / 0.5745 GB, free: 4.379 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.6511, allocations: 56.55 kB / 0.5745 GB, free: 4.312 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.6513, allocations: 39.92 kB / 0.5746 GB, free: 4.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.6513, allocations: 0 / 0.5746 GB, free: 4.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004421/0.6518, allocations: 121.6 kB / 0.5747 GB, free: 4.148 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.6518, allocations: 8 kB / 0.5747 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.6518, allocations: 0 / 0.5747 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.6519, allocations: 1.031 kB / 0.5747 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.6521, allocations: 27.98 kB / 0.5747 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.6521, allocations: 3.938 kB / 0.5747 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.6524, allocations: 19.91 kB / 0.5747 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.6524, allocations: 11.92 kB / 0.5747 GB, free: 4.078 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 () * 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.0004129/0.6529, allocations: 225.6 kB / 0.575 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.653, allocations: 47.44 kB / 0.575 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006466/0.6537, allocations: 209.5 kB / 0.5752 GB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.6537, allocations: 0 / 0.5752 GB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6537, allocations: 0 / 0.5752 GB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.6537, allocations: 8 kB / 0.5752 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.6543, allocations: 385.6 kB / 0.5756 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6543, allocations: 4 kB / 0.5756 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.003e-05/0.6544, allocations: 12 kB / 0.5756 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.6544, allocations: 0 / 0.5756 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.6544, allocations: 7.984 kB / 0.5756 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.321e-06/0.6545, allocations: 3.938 kB / 0.5756 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6545, allocations: 0 / 0.5756 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006338/0.6551, allocations: 231 kB / 0.5758 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003874/0.6555, allocations: 188.5 kB / 0.576 GB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.6556, allocations: 11.98 kB / 0.576 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.6558, allocations: 11.94 kB / 0.576 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.6559, allocations: 7.984 kB / 0.576 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.6559, allocations: 8 kB / 0.576 GB, free: 2.633 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001558/0.6575, allocations: 0.7526 MB / 0.5768 GB, free: 1.883 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.6575, allocations: 0 / 0.5768 GB, free: 1.883 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005557/0.6581, allocations: 83.91 kB / 0.5769 GB, free: 1.801 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) * 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.001284/0.6594, allocations: 435.4 kB / 0.5773 GB, free: 1.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004602/0.6599, allocations: 83.89 kB / 0.5774 GB, free: 1.383 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6599, allocations: 0 / 0.5774 GB, free: 1.383 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.6601, allocations: 48.05 kB / 0.5774 GB, free: 1.336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006633/0.6608, allocations: 74.72 kB / 0.5775 GB, free: 1.262 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.6632, allocations: 1.045 MB / 0.5785 GB, free: 192 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.6638, allocations: 0.8507 MB / 0.5793 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.6641, allocations: 39.42 kB / 0.5794 GB, free: 15.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6641, allocations: 0 / 0.5794 GB, free: 15.28 MB / 410.7 MB Notification: Performance of Templates: time 0.01468/0.6788, allocations: 5.609 MB / 0.5848 GB, free: 9.672 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches