Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002309/0.002314, allocations: 185.4 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.958/1.958, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001303/0.001303, allocations: 80.5 kB / 270.9 MB, free: 8.363 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.5371/0.5371, allocations: 43.55 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004757, allocations: 20 kB / 431.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1248, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4848/0.6097, allocations: 87.57 MB / 0.5643 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/0.6101, allocations: 71.97 kB / 0.5643 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02859/0.6387, allocations: 6.52 MB / 0.5707 GB, free: 8.426 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.6387, allocations: 0 / 0.5707 GB, free: 8.426 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.349e-05/0.6388, allocations: 8.656 kB / 0.5707 GB, free: 8.418 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.001521/0.6403, allocations: 0.7181 MB / 0.5714 GB, free: 7.652 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.6404, allocations: 12.02 kB / 0.5714 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.6406, allocations: 50.88 kB / 0.5715 GB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.6419, allocations: 487 kB / 0.5719 GB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.642, allocations: 7.984 kB / 0.5719 GB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.642, allocations: 4 kB / 0.5719 GB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.6424, allocations: 92.08 kB / 0.572 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.6424, allocations: 0 / 0.572 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.6424, allocations: 4 kB / 0.572 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.6424, allocations: 9.016 kB / 0.572 GB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.6426, allocations: 27.98 kB / 0.5721 GB, free: 6.926 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006422/0.6433, allocations: 382.3 kB / 0.5724 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.6437, allocations: 109.3 kB / 0.5725 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.6438, allocations: 4 kB / 0.5725 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003675/0.6441, allocations: 117 kB / 0.5726 GB, free: 6.238 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.595e-06/0.6442, allocations: 0 / 0.5726 GB, free: 6.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000818/0.645, allocations: 209 kB / 0.5728 GB, free: 6.027 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.6451, allocations: 77.11 kB / 0.5729 GB, free: 5.934 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.6473, allocations: 0.9356 MB / 0.5738 GB, free: 4.988 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.6474, allocations: 29.7 kB / 0.5739 GB, free: 4.953 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.6476, allocations: 242.6 kB / 0.5741 GB, free: 4.715 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.01e-05/0.6477, allocations: 43.53 kB / 0.5741 GB, free: 4.672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/0.6477, allocations: 4 kB / 0.5741 GB, free: 4.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.6479, allocations: 322.8 kB / 0.5744 GB, free: 4.344 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.6481, allocations: 28.73 kB / 0.5745 GB, free: 4.316 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.6483, allocations: 59.86 kB / 0.5745 GB, free: 4.246 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.6484, allocations: 35.98 kB / 0.5746 GB, free: 4.211 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.6485, allocations: 4 kB / 0.5746 GB, free: 4.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004564/0.6489, allocations: 117.6 kB / 0.5747 GB, free: 4.086 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.649, allocations: 8 kB / 0.5747 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.649, allocations: 0 / 0.5747 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.649, allocations: 0 / 0.5747 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.6492, allocations: 31.86 kB / 0.5747 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.6493, allocations: 0 / 0.5747 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.6495, allocations: 23.91 kB / 0.5747 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.6496, allocations: 11.97 kB / 0.5748 GB, free: 4.012 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.0004156/0.65, allocations: 229.5 kB / 0.575 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.6502, allocations: 47.44 kB / 0.575 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006618/0.6508, allocations: 206.2 kB / 0.5752 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6509, allocations: 0 / 0.5752 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.6509, allocations: 4 kB / 0.5752 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6509, allocations: 4 kB / 0.5752 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.6514, allocations: 397.3 kB / 0.5756 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.6515, allocations: 0 / 0.5756 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.271e-05/0.6516, allocations: 11.94 kB / 0.5756 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.6516, allocations: 0 / 0.5756 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.6516, allocations: 7.984 kB / 0.5756 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.6516, allocations: 0 / 0.5756 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.6516, allocations: 0 / 0.5756 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/0.6523, allocations: 235 kB / 0.5758 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/0.6527, allocations: 188.4 kB / 0.576 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.6528, allocations: 7.984 kB / 0.576 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.653, allocations: 12 kB / 0.576 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.6531, allocations: 11.92 kB / 0.5761 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.6531, allocations: 7.938 kB / 0.5761 GB, free: 2.559 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00152/0.6546, allocations: 0.7565 MB / 0.5768 GB, free: 1.805 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.6546, allocations: 0 / 0.5768 GB, free: 1.805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000513/0.6552, allocations: 83.91 kB / 0.5769 GB, free: 1.723 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.001286/0.6565, allocations: 420.3 kB / 0.5773 GB, free: 1.406 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004403/0.6569, allocations: 87.89 kB / 0.5774 GB, free: 1.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6569, allocations: 0 / 0.5774 GB, free: 1.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.6571, allocations: 43.92 kB / 0.5774 GB, free: 1.277 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006457/0.6578, allocations: 70.91 kB / 0.5775 GB, free: 1.207 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.6604, allocations: 1.045 MB / 0.5785 GB, free: 136 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.6611, allocations: 0.8507 MB / 0.5793 GB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.6613, allocations: 47.42 kB / 0.5794 GB, free: 15.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6614, allocations: 0 / 0.5794 GB, free: 15.21 MB / 410.7 MB Notification: Performance of Templates: time 0.01435/0.6757, allocations: 5.61 MB / 0.5848 GB, free: 9.605 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches