Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") [: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.002391/0.00239, allocations: 174.4 kB / 8.148 MB, free: 2.223 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.739/1.739, allocations: 205.2 MB / 213.7 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.00133/0.001329, allocations: 95.52 kB / 261.8 MB, free: 13.62 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.2729/0.2729, allocations: 43.48 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.224e-05/1.241e-05, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2827, allocations: 58.85 MB / 476.6 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1629/0.4456, allocations: 87.87 MB / 0.5512 GB, free: 11.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.446, allocations: 79.45 kB / 0.5513 GB, free: 11.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01896/0.465, allocations: 3.873 MB / 0.5551 GB, free: 7.242 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.465, allocations: 0 / 0.5551 GB, free: 7.242 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007601/0.4658, allocations: 467.8 kB / 0.5555 GB, free: 6.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4659, allocations: 8.031 kB / 0.5555 GB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.4659, allocations: 23.78 kB / 0.5555 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.4664, allocations: 222.7 kB / 0.5557 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.4665, allocations: 0 / 0.5557 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.4665, allocations: 11.91 kB / 0.5558 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001566/0.4667, allocations: 35.98 kB / 0.5558 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.4669, allocations: 96.23 kB / 0.5559 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.4669, allocations: 3.938 kB / 0.5559 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.467, allocations: 0 / 0.5559 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.467, allocations: 0 / 0.5559 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008076/0.4678, allocations: 0.4897 MB / 0.5564 GB, free: 5.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.4682, allocations: 74.62 kB / 0.5564 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.4683, allocations: 36.84 kB / 0.5565 GB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.4683, allocations: 0 / 0.5565 GB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.4685, allocations: 71.39 kB / 0.5565 GB, free: 5.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.4685, allocations: 0 / 0.5565 GB, free: 5.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003355/0.4688, allocations: 89.44 kB / 0.5566 GB, free: 5.453 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.4689, allocations: 59.39 kB / 0.5567 GB, free: 5.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.4692, allocations: 166.7 kB / 0.5568 GB, free: 5.207 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.4692, allocations: 29.7 kB / 0.5569 GB, free: 5.172 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.4693, allocations: 162.4 kB / 0.557 GB, free: 5.012 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.4694, allocations: 27.64 kB / 0.557 GB, free: 4.984 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-06/0.4694, allocations: 0 / 0.557 GB, free: 4.984 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4696, allocations: 314.8 kB / 0.5573 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.99e-05/0.4696, allocations: 23.98 kB / 0.5574 GB, free: 4.645 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.4698, allocations: 54.36 kB / 0.5574 GB, free: 4.578 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.4699, allocations: 39.95 kB / 0.5575 GB, free: 4.539 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4699, allocations: 0 / 0.5575 GB, free: 4.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002955/0.4702, allocations: 109.5 kB / 0.5576 GB, free: 4.426 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4702, allocations: 4 kB / 0.5576 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4702, allocations: 0 / 0.5576 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.4703, allocations: 4.125 kB / 0.5576 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.4705, allocations: 23.98 kB / 0.5576 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4705, allocations: 4 kB / 0.5576 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.4706, allocations: 11.84 kB / 0.5576 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.4707, allocations: 15.98 kB / 0.5576 GB, free: 4.363 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.979e-05/0.4708, allocations: 29.77 kB / 0.5577 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.4708, allocations: 15.81 kB / 0.5577 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.4712, allocations: 111 kB / 0.5578 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4712, allocations: 0 / 0.5578 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4712, allocations: 0 / 0.5578 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.4712, allocations: 0 / 0.5578 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.4715, allocations: 190.2 kB / 0.558 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.4715, allocations: 0 / 0.558 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.4717, allocations: 15.98 kB / 0.558 GB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.4717, allocations: 0 / 0.558 GB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.4717, allocations: 0 / 0.558 GB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.4717, allocations: 11.91 kB / 0.558 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4717, allocations: 0 / 0.558 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003899/0.4721, allocations: 161 kB / 0.5581 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-05/0.4722, allocations: 92.91 kB / 0.5582 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.4723, allocations: 0 / 0.5582 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.4724, allocations: 15.98 kB / 0.5582 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.4725, allocations: 16.05 kB / 0.5583 GB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.4725, allocations: 0 / 0.5583 GB, free: 3.629 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001737/0.4727, allocations: 132.1 kB / 0.5584 GB, free: 3.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003186/0.473, allocations: 36.06 kB / 0.5584 GB, free: 3.465 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009429/0.474, allocations: 315.8 kB / 0.5587 GB, free: 3.184 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.4743, allocations: 63.94 kB / 0.5588 GB, free: 3.121 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4743, allocations: 4.25 kB / 0.5588 GB, free: 3.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.4744, allocations: 40.05 kB / 0.5588 GB, free: 3.078 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.4749, allocations: 32.08 kB / 0.5589 GB, free: 3.043 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/0.4756, allocations: 205.4 kB / 0.559 GB, free: 2.809 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004381/0.4761, allocations: 0.7391 MB / 0.5598 GB, free: 2.043 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4761, allocations: 0 / 0.5598 GB, free: 2.043 MB / 394.7 MB Notification: Performance of Templates: time 0.006226/0.4823, allocations: 2.171 MB / 0.5619 GB, free: 15.88 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches