Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008377/0.0008377, allocations: 189.5 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.073/1.073, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0007436/0.0007435, allocations: 91.55 kB / 261.4 MB, free: 13.54 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.1605/0.1605, allocations: 43.49 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.474e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2438, allocations: 58.83 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.3463, allocations: 87.21 MB / 0.5506 GB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000158/0.3465, allocations: 71.97 kB / 0.5506 GB, free: 11.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02756/0.3741, allocations: 10.55 MB / 0.5609 GB, free: 1.168 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.933e-05/0.3741, allocations: 8 kB / 0.5609 GB, free: 1.16 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008181/0.375, allocations: 0.6394 MB / 0.5616 GB, free: 484 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.375, allocations: 8.031 kB / 0.5616 GB, free: 476 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.999e-05/0.3751, allocations: 51.34 kB / 0.5616 GB, free: 424 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007541/0.3759, allocations: 427 kB / 0.562 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.3759, allocations: 4 kB / 0.562 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.3759, allocations: 15.98 kB / 0.562 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000175/0.3761, allocations: 91.8 kB / 0.5621 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.3764, allocations: 185.9 kB / 0.5623 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3764, allocations: 0 / 0.5623 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.3764, allocations: 7.984 kB / 0.5623 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.3764, allocations: 11.98 kB / 0.5623 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008687/0.3773, allocations: 0.8493 MB / 0.5632 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.3777, allocations: 253.8 kB / 0.5634 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.3778, allocations: 88.3 kB / 0.5635 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3778, allocations: 7.984 kB / 0.5635 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.378, allocations: 207.4 kB / 0.5637 GB, free: 14.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.3781, allocations: 0 / 0.5637 GB, free: 14.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001251/0.3793, allocations: 0.7691 MB / 0.5644 GB, free: 13.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.3794, allocations: 166.2 kB / 0.5646 GB, free: 13.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005724/0.38, allocations: 0.5294 MB / 0.5651 GB, free: 12.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.38, allocations: 33.69 kB / 0.5651 GB, free: 12.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.3801, allocations: 136.7 kB / 0.5653 GB, free: 12.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.3802, allocations: 122.3 kB / 0.5654 GB, free: 12.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.3802, allocations: 0 / 0.5654 GB, free: 12.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3804, allocations: 370.8 kB / 0.5657 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.3805, allocations: 84.88 kB / 0.5658 GB, free: 11.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.3807, allocations: 164.1 kB / 0.566 GB, free: 11.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.3809, allocations: 104.3 kB / 0.5661 GB, free: 11.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3809, allocations: 0 / 0.5661 GB, free: 11.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004897/0.3814, allocations: 360.7 kB / 0.5664 GB, free: 11.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.3814, allocations: 4 kB / 0.5664 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3814, allocations: 0 / 0.5664 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3814, allocations: 8 kB / 0.5664 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.3817, allocations: 87.83 kB / 0.5665 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3817, allocations: 7.938 kB / 0.5665 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.3819, allocations: 20.14 kB / 0.5666 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.382, allocations: 19.98 kB / 0.5666 GB, free: 11.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.000105/0.3821, allocations: 132.7 kB / 0.5667 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.3822, allocations: 55.34 kB / 0.5668 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006285/0.3828, allocations: 401.5 kB / 0.5671 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.3828, allocations: 12 kB / 0.5671 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3828, allocations: 0 / 0.5671 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.3829, allocations: 7.984 kB / 0.5672 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.3841, allocations: 1.226 MB / 0.5684 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.3841, allocations: 4 kB / 0.5684 GB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.3843, allocations: 59.81 kB / 0.5684 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.3843, allocations: 4.469 kB / 0.5684 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.3843, allocations: 15.97 kB / 0.5684 GB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3844, allocations: 7.938 kB / 0.5684 GB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3844, allocations: 4 kB / 0.5684 GB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006716/0.385, allocations: 0.8703 MB / 0.5693 GB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.3852, allocations: 164.3 kB / 0.5694 GB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/0.3853, allocations: 7.984 kB / 0.5695 GB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.3857, allocations: 15.98 kB / 0.5695 GB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.3858, allocations: 39.86 kB / 0.5695 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.3858, allocations: 20.36 kB / 0.5695 GB, free: 7.801 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004382/0.3863, allocations: 430.8 kB / 0.5699 GB, free: 7.383 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005256/0.3868, allocations: 91.92 kB / 0.57 GB, free: 7.293 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0007181/0.3875, allocations: 355.2 kB / 0.5704 GB, free: 6.984 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003947/0.3879, allocations: 268.4 kB / 0.5706 GB, free: 6.723 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3879, allocations: 0 / 0.5706 GB, free: 6.723 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.3881, allocations: 148.4 kB / 0.5708 GB, free: 6.578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007286/0.3889, allocations: 118 kB / 0.5709 GB, free: 6.461 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.3901, allocations: 0.6967 MB / 0.5716 GB, free: 5.711 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005745/0.3906, allocations: 0.921 MB / 0.5725 GB, free: 4.762 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3907, allocations: 4 kB / 0.5725 GB, free: 4.758 MB / 410.7 MB Notification: Performance of Templates: time 0.009605/0.4003, allocations: 5.48 MB / 0.5778 GB, free: 15.29 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches