Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001529, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001012/0.001012, allocations: 86.77 kB / 267.5 MB, free: 14.04 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.2816/0.2816, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.821e-05/3.83e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1344, allocations: 58.86 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4901/0.6246, allocations: 87.84 MB / 0.5586 GB, free: 15.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.6249, allocations: 74.5 kB / 0.5587 GB, free: 15.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02591/0.6508, allocations: 5.763 MB / 0.5643 GB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6508, allocations: 3.938 kB / 0.5643 GB, free: 11.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.6509, allocations: 3.984 kB / 0.5643 GB, free: 11.11 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005959/0.6515, allocations: 387.6 kB / 0.5647 GB, free: 10.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.6515, allocations: 16.03 kB / 0.5647 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.6516, allocations: 7.906 kB / 0.5647 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.652, allocations: 204.3 kB / 0.5649 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.652, allocations: 7.547 kB / 0.5649 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.6521, allocations: 4 kB / 0.5649 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.6523, allocations: 62.34 kB / 0.5649 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.6523, allocations: 3.984 kB / 0.565 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.6523, allocations: 3.375 kB / 0.565 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.6524, allocations: 4 kB / 0.565 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.366e-05/0.6524, allocations: 19.44 kB / 0.565 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.6529, allocations: 294.9 kB / 0.5653 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.6531, allocations: 49.2 kB / 0.5653 GB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.425e-05/0.6532, allocations: 20.78 kB / 0.5653 GB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.6532, allocations: 11.94 kB / 0.5653 GB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.6534, allocations: 63.14 kB / 0.5654 GB, free: 9.875 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 5.14e-06/0.6534, allocations: 0 / 0.5654 GB, free: 9.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006508/0.6541, allocations: 163.3 kB / 0.5656 GB, free: 9.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.6542, allocations: 77.11 kB / 0.5656 GB, free: 9.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.6544, allocations: 142.1 kB / 0.5658 GB, free: 9.512 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.6544, allocations: 29.7 kB / 0.5658 GB, free: 9.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.6545, allocations: 161.5 kB / 0.5659 GB, free: 9.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.6546, allocations: 22.91 kB / 0.566 GB, free: 9.305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.6546, allocations: 0 / 0.566 GB, free: 9.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6547, allocations: 318.3 kB / 0.5663 GB, free: 8.988 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.37e-05/0.6548, allocations: 19.12 kB / 0.5663 GB, free: 8.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.622e-05/0.6549, allocations: 41.52 kB / 0.5663 GB, free: 8.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.549e-05/0.655, allocations: 27.11 kB / 0.5664 GB, free: 8.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.655, allocations: 4.031 kB / 0.5664 GB, free: 8.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002409/0.6553, allocations: 95.17 kB / 0.5664 GB, free: 8.828 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.6553, allocations: 7.953 kB / 0.5665 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.6553, allocations: 0 / 0.5665 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.6554, allocations: 4 kB / 0.5665 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.6555, allocations: 19.92 kB / 0.5665 GB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.6556, allocations: 0 / 0.5665 GB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.927e-05/0.6557, allocations: 4 kB / 0.5665 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.6557, allocations: 7.438 kB / 0.5665 GB, free: 8.789 MB / 378.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 () * 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.0001134/0.6558, allocations: 112.2 kB / 0.5666 GB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.6559, allocations: 11.91 kB / 0.5666 GB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.6562, allocations: 118.4 kB / 0.5667 GB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.6562, allocations: 3.984 kB / 0.5667 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.6562, allocations: 4 kB / 0.5667 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6563, allocations: 0 / 0.5667 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.6569, allocations: 389.8 kB / 0.5671 GB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.6569, allocations: 11.97 kB / 0.5671 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.657, allocations: 8 kB / 0.5671 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.657, allocations: 4 kB / 0.5671 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.657, allocations: 0 / 0.5671 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.657, allocations: 0 / 0.5671 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6571, allocations: 0 / 0.5671 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.6574, allocations: 221.7 kB / 0.5673 GB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.6575, allocations: 92.38 kB / 0.5674 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.6575, allocations: 8.375 kB / 0.5674 GB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.6577, allocations: 7.312 kB / 0.5674 GB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.6578, allocations: 11.92 kB / 0.5674 GB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.6578, allocations: 4 kB / 0.5675 GB, free: 7.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000143/0.6579, allocations: 120.7 kB / 0.5676 GB, free: 7.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.658, allocations: 0 / 0.5676 GB, free: 7.676 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003967/0.6584, allocations: 46.67 kB / 0.5676 GB, free: 7.637 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001458/0.6598, allocations: 452.9 kB / 0.568 GB, free: 7.246 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.6601, allocations: 73.28 kB / 0.5681 GB, free: 7.191 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.6601, allocations: 4 kB / 0.5681 GB, free: 7.188 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.404e-05/0.6602, allocations: 30.75 kB / 0.5681 GB, free: 7.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.6607, allocations: 30.89 kB / 0.5682 GB, free: 7.141 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.6612, allocations: 157.5 kB / 0.5683 GB, free: 6.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.6616, allocations: 0.7045 MB / 0.569 GB, free: 6.238 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.169e-05/0.6617, allocations: 19.42 kB / 0.569 GB, free: 6.219 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.6617, allocations: 0 / 0.569 GB, free: 6.219 MB / 378.7 MB Notification: Performance of Templates: time 0.006023/0.6678, allocations: 2.067 MB / 0.5711 GB, free: 4.164 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches