Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 181.6 kB / 17.41 MB, free: 4.406 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.677/1.677, allocations: 205.4 MB / 223.6 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.0008124/0.0008126, allocations: 93.41 kB / 271.9 MB, free: 8.254 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.3886/0.3886, allocations: 43.55 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.0004154, allocations: 20 kB / 432.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1365, allocations: 58.85 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.401/0.5375, allocations: 87.98 MB / 0.5659 GB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.5378, allocations: 82.33 kB / 0.5659 GB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01597/0.5538, allocations: 5.973 MB / 0.5718 GB, free: 8.438 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5538, allocations: 0 / 0.5718 GB, free: 8.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.5538, allocations: 0 / 0.5718 GB, free: 8.438 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.0005215/0.5544, allocations: 415.2 kB / 0.5722 GB, free: 7.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.5544, allocations: 12.03 kB / 0.5722 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.5545, allocations: 8.844 kB / 0.5722 GB, free: 7.965 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.5547, allocations: 208 kB / 0.5724 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.5548, allocations: 4.375 kB / 0.5724 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.5548, allocations: 384 / 0.5724 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.555, allocations: 82.7 kB / 0.5725 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.555, allocations: 192 / 0.5725 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.555, allocations: 3.938 kB / 0.5725 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.555, allocations: 4 kB / 0.5725 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.111e-05/0.5551, allocations: 19.97 kB / 0.5725 GB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.5555, allocations: 288.8 kB / 0.5728 GB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.5557, allocations: 70.55 kB / 0.5728 GB, free: 7.191 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/0.5558, allocations: 16.86 kB / 0.5728 GB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.5558, allocations: 0 / 0.5728 GB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.5559, allocations: 71.38 kB / 0.5729 GB, free: 7.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.556, allocations: 0 / 0.5729 GB, free: 7.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005441/0.5565, allocations: 169.3 kB / 0.5731 GB, free: 6.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.5566, allocations: 85.11 kB / 0.5732 GB, free: 6.816 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.5567, allocations: 166 kB / 0.5733 GB, free: 6.652 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.5568, allocations: 25.7 kB / 0.5733 GB, free: 6.621 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.5568, allocations: 92.14 kB / 0.5734 GB, free: 6.527 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.5568, allocations: 23.7 kB / 0.5734 GB, free: 6.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.5569, allocations: 0 / 0.5734 GB, free: 6.504 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.557, allocations: 326.8 kB / 0.5738 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.5571, allocations: 19.94 kB / 0.5738 GB, free: 6.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.5571, allocations: 50.55 kB / 0.5738 GB, free: 6.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.5573, allocations: 61.7 kB / 0.5739 GB, free: 6.031 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5573, allocations: 0 / 0.5739 GB, free: 6.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001842/0.5575, allocations: 101.5 kB / 0.574 GB, free: 5.926 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.5575, allocations: 4.938 kB / 0.574 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5575, allocations: 4 kB / 0.574 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5575, allocations: 4.062 kB / 0.574 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.5576, allocations: 15.98 kB / 0.574 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5576, allocations: 0 / 0.574 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.5577, allocations: 4 kB / 0.574 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.5577, allocations: 12.3 kB / 0.574 GB, free: 5.883 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.0001026/0.5578, allocations: 132.4 kB / 0.5742 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.5578, allocations: 11.91 kB / 0.5742 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.5581, allocations: 130.5 kB / 0.5743 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.5581, allocations: 0 / 0.5743 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5581, allocations: 8 kB / 0.5743 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5581, allocations: 0 / 0.5743 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.5586, allocations: 407.1 kB / 0.5747 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5586, allocations: 0 / 0.5747 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.5587, allocations: 8 kB / 0.5747 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.5587, allocations: 4 kB / 0.5747 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.5587, allocations: 12.02 kB / 0.5747 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5587, allocations: 0 / 0.5747 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5587, allocations: 7.938 kB / 0.5747 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.5589, allocations: 200.2 kB / 0.5749 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.559, allocations: 89 kB / 0.575 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.559, allocations: 8 kB / 0.575 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.5591, allocations: 0 / 0.575 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.5592, allocations: 15.92 kB / 0.575 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.5592, allocations: 4 kB / 0.575 GB, free: 4.758 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.559e-05/0.5593, allocations: 123.2 kB / 0.5751 GB, free: 4.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5593, allocations: 0 / 0.5751 GB, free: 4.637 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002793/0.5596, allocations: 39.98 kB / 0.5752 GB, free: 4.598 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.001087/0.5607, allocations: 0.4949 MB / 0.5757 GB, free: 4.199 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.5609, allocations: 63.89 kB / 0.5757 GB, free: 4.137 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5609, allocations: 0 / 0.5757 GB, free: 4.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.561, allocations: 36.05 kB / 0.5758 GB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.5613, allocations: 24.3 kB / 0.5758 GB, free: 4.078 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.5617, allocations: 257.8 kB / 0.576 GB, free: 3.797 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.562, allocations: 0.7004 MB / 0.5767 GB, free: 3.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.5621, allocations: 19.42 kB / 0.5767 GB, free: 3.051 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5621, allocations: 0 / 0.5767 GB, free: 3.051 MB / 394.7 MB Notification: Performance of Templates: time 0.003688/0.5658, allocations: 2.028 MB / 0.5787 GB, free: 1.035 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches