Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002677/0.002677, allocations: 177.7 kB / 8.147 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 94 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2574/0.2574, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.012e-05/1.061e-05, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3069, allocations: 58.85 MB / 476.6 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1891/0.4961, allocations: 87.16 MB / 0.5505 GB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/0.4965, allocations: 75.45 kB / 0.5506 GB, free: 11.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06075/0.5572, allocations: 7.391 MB / 0.5578 GB, free: 4.453 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.5573, allocations: 4 kB / 0.5578 GB, free: 4.449 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.0008703/0.5582, allocations: 418.1 kB / 0.5582 GB, free: 3.996 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.5583, allocations: 12.03 kB / 0.5582 GB, free: 3.984 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.5584, allocations: 7.906 kB / 0.5582 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.5589, allocations: 210.8 kB / 0.5584 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.559, allocations: 0 / 0.5584 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.559, allocations: 4 kB / 0.5584 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001244/0.5592, allocations: 15.91 kB / 0.5584 GB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.5594, allocations: 67.39 kB / 0.5585 GB, free: 3.633 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.5594, allocations: 0 / 0.5585 GB, free: 3.633 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.5595, allocations: 0 / 0.5585 GB, free: 3.633 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.5595, allocations: 0 / 0.5585 GB, free: 3.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.5601, allocations: 273.3 kB / 0.5588 GB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.5603, allocations: 46.7 kB / 0.5588 GB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.5604, allocations: 24.97 kB / 0.5588 GB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.5604, allocations: 0 / 0.5588 GB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.5606, allocations: 63.41 kB / 0.5589 GB, free: 3.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.404e-06/0.5606, allocations: 0 / 0.5589 GB, free: 3.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007365/0.5614, allocations: 125.3 kB / 0.559 GB, free: 3.043 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.5615, allocations: 81.02 kB / 0.5591 GB, free: 2.945 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.5618, allocations: 136.4 kB / 0.5592 GB, free: 2.809 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.5619, allocations: 33.69 kB / 0.5592 GB, free: 2.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.562, allocations: 150.6 kB / 0.5594 GB, free: 2.621 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.562, allocations: 23.66 kB / 0.5594 GB, free: 2.598 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-06/0.5621, allocations: 3.938 kB / 0.5594 GB, free: 2.594 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5622, allocations: 322.8 kB / 0.5597 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.874e-05/0.5624, allocations: 16 kB / 0.5597 GB, free: 2.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.5625, allocations: 46.45 kB / 0.5598 GB, free: 2.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.5627, allocations: 19.98 kB / 0.5598 GB, free: 2.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5627, allocations: 0 / 0.5598 GB, free: 2.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003689/0.5631, allocations: 89.58 kB / 0.5599 GB, free: 2.086 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.5631, allocations: 8.062 kB / 0.5599 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.5631, allocations: 0 / 0.5599 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.5632, allocations: 0 / 0.5599 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.5634, allocations: 24.11 kB / 0.5599 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5634, allocations: 0 / 0.5599 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.5636, allocations: 8 kB / 0.5599 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.5636, allocations: 0 / 0.5599 GB, free: 2.047 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 () * 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.0001074/0.5637, allocations: 31.11 kB / 0.56 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.5638, allocations: 15.8 kB / 0.56 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004671/0.5643, allocations: 102.1 kB / 0.5601 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.5643, allocations: 0 / 0.5601 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.5644, allocations: 0 / 0.5601 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.5644, allocations: 0 / 0.5601 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008361/0.5652, allocations: 367.9 kB / 0.5604 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5653, allocations: 0 / 0.5604 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.5654, allocations: 8 kB / 0.5604 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/0.5654, allocations: 4 kB / 0.5604 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.5655, allocations: 4.031 kB / 0.5604 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5655, allocations: 0 / 0.5604 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5655, allocations: 0 / 0.5604 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003968/0.5659, allocations: 209.8 kB / 0.5606 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.566, allocations: 93 kB / 0.5607 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.491e-05/0.5661, allocations: 0 / 0.5607 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.5663, allocations: 11.91 kB / 0.5607 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.5664, allocations: 12.34 kB / 0.5607 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.5665, allocations: 0 / 0.5607 GB, free: 1.102 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001943/0.5667, allocations: 119.3 kB / 0.5609 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006456/0.5674, allocations: 43.86 kB / 0.5609 GB, free: 0.9414 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) * 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.00169/0.5691, allocations: 388.6 kB / 0.5613 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.5694, allocations: 51.92 kB / 0.5613 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.5695, allocations: 0 / 0.5613 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.5696, allocations: 36.28 kB / 0.5614 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006052/0.5702, allocations: 24.12 kB / 0.5614 GB, free: 500 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.571, allocations: 166.3 kB / 0.5615 GB, free: 292 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005485/0.5716, allocations: 0.7192 MB / 0.5622 GB, free: 15.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.432e-06/0.5716, allocations: 64 / 0.5622 GB, free: 15.54 MB / 410.7 MB Notification: Performance of Templates: time 0.008636/0.5803, allocations: 2.075 MB / 0.5643 GB, free: 13.46 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches