Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") [: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.00164/0.00164, allocations: 171.8 kB / 8.147 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.703/1.703, 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.001241/0.001241, allocations: 94.86 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.2893/0.2893, allocations: 43.49 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.152e-05/1.166e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2816, allocations: 58.85 MB / 476.6 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.4386, allocations: 86.69 MB / 0.55 GB, free: 12.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.4389, allocations: 71.47 kB / 0.5501 GB, free: 12.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02425/0.4632, allocations: 4.874 MB / 0.5549 GB, free: 7.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.4633, allocations: 0 / 0.5549 GB, free: 7.438 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006029/0.4639, allocations: 398 kB / 0.5552 GB, free: 7.004 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.464, allocations: 8.031 kB / 0.5553 GB, free: 6.996 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.464, allocations: 15.8 kB / 0.5553 GB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.4645, allocations: 214.9 kB / 0.5555 GB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.4645, allocations: 0 / 0.5555 GB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.4646, allocations: 3.984 kB / 0.5555 GB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.684e-05/0.4647, allocations: 15.91 kB / 0.5555 GB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.4648, allocations: 57.55 kB / 0.5555 GB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4648, allocations: 0 / 0.5555 GB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.4649, allocations: 4 kB / 0.5556 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.4649, allocations: 0 / 0.5556 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.4652, allocations: 162.2 kB / 0.5557 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.4654, allocations: 42.62 kB / 0.5557 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.523e-05/0.4655, allocations: 20.84 kB / 0.5558 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.4655, allocations: 4 kB / 0.5558 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.4656, allocations: 63.41 kB / 0.5558 GB, free: 6.297 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.044e-06/0.4656, allocations: 0 / 0.5558 GB, free: 6.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002908/0.4659, allocations: 73.52 kB / 0.5559 GB, free: 6.219 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.466, allocations: 55.41 kB / 0.556 GB, free: 6.152 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.4663, allocations: 181.5 kB / 0.5561 GB, free: 5.965 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.4664, allocations: 25.7 kB / 0.5562 GB, free: 5.934 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.4664, allocations: 154.5 kB / 0.5563 GB, free: 5.781 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.4665, allocations: 19.75 kB / 0.5563 GB, free: 5.762 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.4665, allocations: 4 kB / 0.5563 GB, free: 5.758 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4667, allocations: 310.8 kB / 0.5566 GB, free: 5.445 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-05/0.4667, allocations: 12 kB / 0.5566 GB, free: 5.434 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.479e-05/0.4668, allocations: 29.7 kB / 0.5567 GB, free: 5.398 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.617e-05/0.4669, allocations: 16.06 kB / 0.5567 GB, free: 5.383 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4669, allocations: 0 / 0.5567 GB, free: 5.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001967/0.4671, allocations: 73.52 kB / 0.5567 GB, free: 5.305 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4671, allocations: 8.031 kB / 0.5568 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4672, allocations: 0 / 0.5568 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.4672, allocations: 4 kB / 0.5568 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.4673, allocations: 8 kB / 0.5568 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4674, allocations: 0 / 0.5568 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.4674, allocations: 4 kB / 0.5568 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.4675, allocations: 4 kB / 0.5568 GB, free: 5.277 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 (7): * Single equations (assignments): 7 * 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.465e-05/0.4676, allocations: 41.53 kB / 0.5568 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.4676, allocations: 7.906 kB / 0.5568 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.4679, allocations: 82.77 kB / 0.5569 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4679, allocations: 0 / 0.5569 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4679, allocations: 0 / 0.5569 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.468, allocations: 7.906 kB / 0.5569 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.4682, allocations: 170.2 kB / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4682, allocations: 0 / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.4683, allocations: 4 kB / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.4683, allocations: 0 / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.4683, allocations: 7.984 kB / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4683, allocations: 0 / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4683, allocations: 7.938 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002107/0.4685, allocations: 100.9 kB / 0.5572 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-05/0.4687, allocations: 100.9 kB / 0.5573 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.4687, allocations: 192 / 0.5573 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.4688, allocations: 4 kB / 0.5573 GB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.4688, allocations: 7.984 kB / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.4689, allocations: 0 / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002248/0.4691, allocations: 160.2 kB / 0.5574 GB, free: 4.508 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002968/0.4694, allocations: 27.88 kB / 0.5575 GB, free: 4.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009422/0.4704, allocations: 305.8 kB / 0.5578 GB, free: 4.215 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.4706, allocations: 39.92 kB / 0.5578 GB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.4706, allocations: 4 kB / 0.5578 GB, free: 4.172 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.824e-05/0.4707, allocations: 16 kB / 0.5578 GB, free: 4.156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.4711, allocations: 36.03 kB / 0.5579 GB, free: 4.121 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005835/0.4717, allocations: 193 kB / 0.558 GB, free: 3.898 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/0.4722, allocations: 0.727 MB / 0.5587 GB, free: 3.145 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.4722, allocations: 0 / 0.5587 GB, free: 3.145 MB / 394.7 MB Notification: Performance of Templates: time 0.005561/0.4778, allocations: 1.777 MB / 0.5605 GB, free: 1.367 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches