Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") [: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.002376/0.002381, allocations: 175.8 kB / 8.147 MB, free: 2.129 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.708/1.708, 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.001645/0.001645, allocations: 94.39 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.2614/0.2614, allocations: 43.5 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.025e-05/1.052e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3027, allocations: 58.85 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.4674, allocations: 87.17 MB / 0.5505 GB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.4678, allocations: 79.45 kB / 0.5506 GB, free: 11.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03468/0.5025, allocations: 7.629 MB / 0.558 GB, free: 4.199 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.5025, allocations: 7.938 kB / 0.558 GB, free: 4.191 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007421/0.5033, allocations: 422.2 kB / 0.5584 GB, free: 3.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.5033, allocations: 8.031 kB / 0.5584 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.5034, allocations: 11.91 kB / 0.5585 GB, free: 3.715 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.5038, allocations: 211.3 kB / 0.5587 GB, free: 3.465 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.5039, allocations: 3.938 kB / 0.5587 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.5039, allocations: 4 kB / 0.5587 GB, free: 3.457 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001437/0.5041, allocations: 31.92 kB / 0.5587 GB, free: 3.426 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.5042, allocations: 83.36 kB / 0.5588 GB, free: 3.332 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.5043, allocations: 4 kB / 0.5588 GB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.5043, allocations: 0 / 0.5588 GB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5043, allocations: 3.938 kB / 0.5588 GB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.5048, allocations: 277.3 kB / 0.5591 GB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.5051, allocations: 66.62 kB / 0.5591 GB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.349e-05/0.5052, allocations: 24.98 kB / 0.5591 GB, free: 2.914 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.5052, allocations: 0 / 0.5591 GB, free: 2.914 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.5054, allocations: 71.39 kB / 0.5592 GB, free: 2.832 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.814e-06/0.5054, allocations: 0 / 0.5592 GB, free: 2.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006574/0.506, allocations: 157.2 kB / 0.5594 GB, free: 2.672 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.5061, allocations: 77.11 kB / 0.5594 GB, free: 2.578 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.5063, allocations: 151.5 kB / 0.5596 GB, free: 2.418 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.5064, allocations: 29.7 kB / 0.5596 GB, free: 2.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.5065, allocations: 154.5 kB / 0.5598 GB, free: 2.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.5065, allocations: 27.61 kB / 0.5598 GB, free: 2.203 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-06/0.5065, allocations: 0 / 0.5598 GB, free: 2.203 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5067, allocations: 318.8 kB / 0.5601 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-05/0.5068, allocations: 20 kB / 0.5601 GB, free: 1.863 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.5069, allocations: 46.5 kB / 0.5601 GB, free: 1.809 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.507, allocations: 35.95 kB / 0.5602 GB, free: 1.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5071, allocations: 0 / 0.5602 GB, free: 1.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002746/0.5073, allocations: 105.5 kB / 0.5603 GB, free: 1.664 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5074, allocations: 4.188 kB / 0.5603 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.5074, allocations: 0 / 0.5603 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.5074, allocations: 3.938 kB / 0.5603 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.5076, allocations: 16 kB / 0.5603 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5076, allocations: 0 / 0.5603 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.712e-05/0.5077, allocations: 8.016 kB / 0.5603 GB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.5077, allocations: 8 kB / 0.5603 GB, free: 1.625 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 (11): * Single equations (assignments): 11 * 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 7.523e-05/0.5078, allocations: 31.11 kB / 0.5603 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.5079, allocations: 15.81 kB / 0.5604 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.5082, allocations: 118 kB / 0.5605 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.5083, allocations: 4 kB / 0.5605 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5083, allocations: 0 / 0.5605 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.5083, allocations: 3.984 kB / 0.5605 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006633/0.509, allocations: 391.9 kB / 0.5609 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.509, allocations: 4 kB / 0.5609 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.5091, allocations: 15.98 kB / 0.5609 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.5091, allocations: 0 / 0.5609 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.5091, allocations: 0 / 0.5609 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.5092, allocations: 11.84 kB / 0.5609 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5092, allocations: 0 / 0.5609 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003298/0.5095, allocations: 225.9 kB / 0.5611 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.5096, allocations: 85.02 kB / 0.5612 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.5097, allocations: 4 kB / 0.5612 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.5098, allocations: 7.984 kB / 0.5612 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.5099, allocations: 4 kB / 0.5612 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.5099, allocations: 7.984 kB / 0.5612 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000147/0.51, allocations: 124.5 kB / 0.5613 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003823/0.5104, allocations: 51.84 kB / 0.5614 GB, free: 452 kB / 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 (11): * Single equations (assignments): 9 * 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.001159/0.5116, allocations: 400.8 kB / 0.5618 GB, free: 88 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.512, allocations: 71.86 kB / 0.5618 GB, free: 16 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.512, allocations: 0 / 0.5618 GB, free: 16 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.5121, allocations: 35.98 kB / 0.5619 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.5126, allocations: 23.8 kB / 0.5619 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005728/0.5132, allocations: 174 kB / 0.562 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000446/0.5136, allocations: 0.7344 MB / 0.5628 GB, free: 15 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.5136, allocations: 0 / 0.5628 GB, free: 15 MB / 410.7 MB Notification: Performance of Templates: time 0.006426/0.5201, allocations: 2.198 MB / 0.5649 GB, free: 12.8 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches