Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25") [: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.002304/0.002304, allocations: 176 kB / 8.15 MB, free: 2.184 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.769/1.769, 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.001267, allocations: 94.41 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.2928/0.2928, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.987e-06/9.437e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2891, allocations: 58.84 MB / 476.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/0.4464, allocations: 86.4 MB / 0.5497 GB, free: 12.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.4468, allocations: 83.44 kB / 0.5498 GB, free: 12.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01725/0.4641, allocations: 3.853 MB / 0.5536 GB, free: 8.719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.4642, allocations: 0 / 0.5536 GB, free: 8.719 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.0005166/0.4647, allocations: 390.1 kB / 0.554 GB, free: 8.293 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4647, allocations: 12.03 kB / 0.554 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.4648, allocations: 7.906 kB / 0.554 GB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.4651, allocations: 195.5 kB / 0.5542 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.4651, allocations: 7.906 kB / 0.5542 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.4652, allocations: 0 / 0.5542 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001237/0.4653, allocations: 31.92 kB / 0.5542 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.4654, allocations: 49.67 kB / 0.5543 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4655, allocations: 0 / 0.5543 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.4655, allocations: 0 / 0.5543 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4655, allocations: 0 / 0.5543 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.4661, allocations: 293.3 kB / 0.5545 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.4662, allocations: 38.56 kB / 0.5546 GB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.4663, allocations: 16.8 kB / 0.5546 GB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.4663, allocations: 8 kB / 0.5546 GB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.4663, allocations: 30.56 kB / 0.5546 GB, free: 7.508 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.4663, allocations: 3.938 kB / 0.5546 GB, free: 7.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007064/0.4671, allocations: 157.3 kB / 0.5548 GB, free: 7.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.4671, allocations: 55.39 kB / 0.5548 GB, free: 7.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.4674, allocations: 153.5 kB / 0.555 GB, free: 7.117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.4674, allocations: 25.7 kB / 0.555 GB, free: 7.086 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.4675, allocations: 154.6 kB / 0.5551 GB, free: 6.934 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.4675, allocations: 23.66 kB / 0.5552 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.4676, allocations: 3.938 kB / 0.5552 GB, free: 6.906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4677, allocations: 318.8 kB / 0.5555 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.616e-05/0.4678, allocations: 24.06 kB / 0.5555 GB, free: 6.562 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.269e-05/0.4678, allocations: 20 kB / 0.5555 GB, free: 6.543 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.527e-05/0.4679, allocations: 28.2 kB / 0.5555 GB, free: 6.516 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4679, allocations: 0 / 0.5555 GB, free: 6.516 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002068/0.4682, allocations: 81.58 kB / 0.5556 GB, free: 6.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.4682, allocations: 7.938 kB / 0.5556 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4682, allocations: 0 / 0.5556 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.4682, allocations: 0 / 0.5556 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.4685, allocations: 27.98 kB / 0.5557 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.4685, allocations: 0 / 0.5557 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.4686, allocations: 16.12 kB / 0.5557 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.4686, allocations: 0 / 0.5557 GB, free: 6.379 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 6.255e-05/0.4687, allocations: 43.05 kB / 0.5557 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.4688, allocations: 15.8 kB / 0.5557 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.4691, allocations: 94.16 kB / 0.5558 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4691, allocations: 0 / 0.5558 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.4691, allocations: 4 kB / 0.5558 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4691, allocations: 0 / 0.5558 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/0.4697, allocations: 358.9 kB / 0.5562 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4697, allocations: 0 / 0.5562 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.4699, allocations: 27.98 kB / 0.5562 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4699, allocations: 0 / 0.5562 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.4699, allocations: 4 kB / 0.5562 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4699, allocations: 0 / 0.5562 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.47, allocations: 0 / 0.5562 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002628/0.4702, allocations: 195.6 kB / 0.5564 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-05/0.4703, allocations: 92.94 kB / 0.5565 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.4704, allocations: 0 / 0.5565 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.4705, allocations: 15.91 kB / 0.5565 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.4706, allocations: 7.922 kB / 0.5565 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.4706, allocations: 8 kB / 0.5565 GB, free: 5.441 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001547/0.4708, allocations: 128.1 kB / 0.5566 GB, free: 5.316 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003267/0.4711, allocations: 24 kB / 0.5566 GB, free: 5.293 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0008803/0.472, allocations: 302 kB / 0.5569 GB, free: 5.031 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.4723, allocations: 51.98 kB / 0.557 GB, free: 4.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4723, allocations: 0 / 0.557 GB, free: 4.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.751e-05/0.4724, allocations: 31.94 kB / 0.557 GB, free: 4.949 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.4727, allocations: 15.97 kB / 0.557 GB, free: 4.934 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006023/0.4733, allocations: 188.9 kB / 0.5572 GB, free: 4.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004164/0.4737, allocations: 0.7309 MB / 0.5579 GB, free: 3.965 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4737, allocations: 0 / 0.5579 GB, free: 3.965 MB / 394.7 MB Notification: Performance of Templates: time 0.005001/0.4788, allocations: 1.744 MB / 0.5596 GB, free: 2.223 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches