Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.483/1.483, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0008312/0.0008313, allocations: 89.42 kB / 271.9 MB, free: 8.262 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.4033/0.4033, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003695, allocations: 19.98 kB / 432.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1512, allocations: 58.85 MB / 491.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/0.5525, allocations: 87.72 MB / 0.5656 GB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.5528, allocations: 79.95 kB / 0.5657 GB, free: 14.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01515/0.568, allocations: 5.28 MB / 0.5708 GB, free: 9.238 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.568, allocations: 0 / 0.5708 GB, free: 9.238 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.5681, allocations: 4 kB / 0.5708 GB, free: 9.234 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.0005482/0.5686, allocations: 414 kB / 0.5712 GB, free: 8.781 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.5687, allocations: 12.03 kB / 0.5712 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.5687, allocations: 12.84 kB / 0.5713 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.569, allocations: 223 kB / 0.5715 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.5691, allocations: 384 / 0.5715 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.5691, allocations: 4.375 kB / 0.5715 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.5693, allocations: 57.05 kB / 0.5715 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.5693, allocations: 192 / 0.5715 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.5693, allocations: 7.922 kB / 0.5715 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.5693, allocations: 0 / 0.5715 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.768e-05/0.5694, allocations: 27.91 kB / 0.5716 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.5698, allocations: 292.9 kB / 0.5718 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.57, allocations: 63.42 kB / 0.5719 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.813e-05/0.5701, allocations: 28.84 kB / 0.5719 GB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.5701, allocations: 0 / 0.5719 GB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.5703, allocations: 67.39 kB / 0.572 GB, free: 7.891 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.5703, allocations: 4 kB / 0.572 GB, free: 7.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005907/0.5709, allocations: 177.2 kB / 0.5722 GB, free: 7.707 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.5709, allocations: 51.41 kB / 0.5722 GB, free: 7.645 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.5711, allocations: 186.2 kB / 0.5724 GB, free: 7.453 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.5711, allocations: 25.7 kB / 0.5724 GB, free: 7.422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.5712, allocations: 104.1 kB / 0.5725 GB, free: 7.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.5713, allocations: 27.66 kB / 0.5725 GB, free: 7.289 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.5713, allocations: 0 / 0.5725 GB, free: 7.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5714, allocations: 334.7 kB / 0.5729 GB, free: 6.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.5715, allocations: 15.98 kB / 0.5729 GB, free: 6.938 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.929e-05/0.5716, allocations: 37.7 kB / 0.5729 GB, free: 6.895 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.5717, allocations: 58.48 kB / 0.573 GB, free: 6.832 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.5718, allocations: 4 kB / 0.573 GB, free: 6.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001864/0.5719, allocations: 110 kB / 0.5731 GB, free: 6.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.572, allocations: 4.938 kB / 0.5731 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.572, allocations: 0 / 0.5731 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.572, allocations: 4 kB / 0.5731 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.5721, allocations: 12 kB / 0.5731 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.5721, allocations: 3.984 kB / 0.5731 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.5722, allocations: 7.938 kB / 0.5731 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.5722, allocations: 4 kB / 0.5731 GB, free: 6.68 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.0001073/0.5723, allocations: 134.4 kB / 0.5732 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.5723, allocations: 11.89 kB / 0.5733 GB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.5726, allocations: 126.6 kB / 0.5734 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5726, allocations: 0 / 0.5734 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5726, allocations: 4 kB / 0.5734 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5726, allocations: 0 / 0.5734 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004601/0.5731, allocations: 415.2 kB / 0.5738 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5731, allocations: 0 / 0.5738 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/0.5732, allocations: 11.98 kB / 0.5738 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5732, allocations: 3.938 kB / 0.5738 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.5732, allocations: 4 kB / 0.5738 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.5732, allocations: 0 / 0.5738 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.5732, allocations: 3.938 kB / 0.5738 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.5734, allocations: 212.2 kB / 0.574 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.5735, allocations: 97 kB / 0.5741 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.5735, allocations: 0 / 0.5741 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.5736, allocations: 8 kB / 0.5741 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.5737, allocations: 11.92 kB / 0.5741 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.5737, allocations: 0 / 0.5741 GB, free: 5.543 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.5738, allocations: 144.8 kB / 0.5742 GB, free: 5.402 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.393e-06/0.5738, allocations: 0 / 0.5742 GB, free: 5.402 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.5741, allocations: 43.88 kB / 0.5743 GB, free: 5.359 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.001062/0.5752, allocations: 476.9 kB / 0.5747 GB, free: 4.992 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.5754, allocations: 67.91 kB / 0.5748 GB, free: 4.926 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5754, allocations: 0 / 0.5748 GB, free: 4.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.5755, allocations: 31.98 kB / 0.5748 GB, free: 4.895 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.5758, allocations: 23.97 kB / 0.5749 GB, free: 4.871 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.5764, allocations: 282.6 kB / 0.5751 GB, free: 4.562 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.5767, allocations: 0.7043 MB / 0.5758 GB, free: 3.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.5767, allocations: 19.44 kB / 0.5758 GB, free: 3.816 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5767, allocations: 0 / 0.5758 GB, free: 3.816 MB / 394.7 MB Notification: Performance of Templates: time 0.003747/0.5805, allocations: 1.916 MB / 0.5777 GB, free: 1.91 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches