Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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.Test26") [: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.002462/0.002461, allocations: 175.8 kB / 8.148 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.844/1.844, 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: 93.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.3265/0.3265, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.275e-06/8.536e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.29, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/0.4487, allocations: 86.41 MB / 0.5498 GB, free: 12.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.449, allocations: 71.47 kB / 0.5498 GB, free: 12.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01842/0.4675, allocations: 3.912 MB / 0.5536 GB, free: 8.699 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.4676, allocations: 0 / 0.5536 GB, free: 8.699 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.0005882/0.4682, allocations: 390.2 kB / 0.554 GB, free: 8.273 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4682, allocations: 8.031 kB / 0.554 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.359e-05/0.4683, allocations: 11.89 kB / 0.554 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.4687, allocations: 218.6 kB / 0.5542 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4687, allocations: 4 kB / 0.5542 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.4687, allocations: 0 / 0.5542 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001224/0.4689, allocations: 16 kB / 0.5543 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.469, allocations: 57.62 kB / 0.5543 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.469, allocations: 0 / 0.5543 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.4691, allocations: 0 / 0.5543 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4691, allocations: 0 / 0.5543 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.4697, allocations: 301.3 kB / 0.5546 GB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.4698, allocations: 34.58 kB / 0.5546 GB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.4699, allocations: 16.86 kB / 0.5547 GB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.4699, allocations: 3.906 kB / 0.5547 GB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.41e-05/0.47, allocations: 34.64 kB / 0.5547 GB, free: 7.477 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.47, allocations: 0 / 0.5547 GB, free: 7.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007708/0.4708, allocations: 157.3 kB / 0.5548 GB, free: 7.316 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.4709, allocations: 55.41 kB / 0.5549 GB, free: 7.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.4712, allocations: 164.2 kB / 0.555 GB, free: 7.086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.4712, allocations: 25.7 kB / 0.5551 GB, free: 7.055 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.4713, allocations: 166.5 kB / 0.5552 GB, free: 6.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.4713, allocations: 15.72 kB / 0.5552 GB, free: 6.875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.4714, allocations: 0 / 0.5552 GB, free: 6.875 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4715, allocations: 322.8 kB / 0.5556 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.53e-05/0.4716, allocations: 15.98 kB / 0.5556 GB, free: 6.535 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-05/0.4717, allocations: 20 kB / 0.5556 GB, free: 6.516 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.116e-05/0.4718, allocations: 28.2 kB / 0.5556 GB, free: 6.488 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4718, allocations: 0 / 0.5556 GB, free: 6.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002276/0.472, allocations: 85.61 kB / 0.5557 GB, free: 6.398 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4721, allocations: 8 kB / 0.5557 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4721, allocations: 0 / 0.5557 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.4721, allocations: 4 kB / 0.5557 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.4724, allocations: 19.98 kB / 0.5557 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4724, allocations: 0 / 0.5557 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.4725, allocations: 27.83 kB / 0.5558 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.4725, allocations: 0 / 0.5558 GB, free: 6.34 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.424e-05/0.4726, allocations: 35.05 kB / 0.5558 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.4727, allocations: 7.906 kB / 0.5558 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.473, allocations: 106.1 kB / 0.5559 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.4731, allocations: 7.906 kB / 0.5559 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.4731, allocations: 8 kB / 0.5559 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4731, allocations: 0 / 0.5559 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/0.4738, allocations: 359 kB / 0.5563 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4738, allocations: 0 / 0.5563 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.474, allocations: 27.89 kB / 0.5563 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.474, allocations: 4 kB / 0.5563 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4741, allocations: 0 / 0.5563 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.4741, allocations: 4 kB / 0.5563 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.4741, allocations: 3.938 kB / 0.5563 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002901/0.4744, allocations: 187.6 kB / 0.5565 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.573e-05/0.4745, allocations: 93 kB / 0.5566 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.4745, allocations: 0 / 0.5566 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.4747, allocations: 19.98 kB / 0.5566 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.4748, allocations: 0 / 0.5566 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.4748, allocations: 4 kB / 0.5566 GB, free: 5.402 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001829/0.475, allocations: 136.1 kB / 0.5567 GB, free: 5.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003243/0.4754, allocations: 24 kB / 0.5567 GB, free: 5.246 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.0008974/0.4763, allocations: 318.7 kB / 0.557 GB, free: 4.965 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.4765, allocations: 55.97 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4765, allocations: 0 / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.349e-05/0.4766, allocations: 27.98 kB / 0.5571 GB, free: 4.883 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.4769, allocations: 12 kB / 0.5571 GB, free: 4.871 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.4776, allocations: 196.8 kB / 0.5573 GB, free: 4.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004708/0.4781, allocations: 0.7387 MB / 0.558 GB, free: 3.883 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4781, allocations: 0 / 0.558 GB, free: 3.883 MB / 394.7 MB Notification: Performance of Templates: time 0.005412/0.4835, allocations: 1.771 MB / 0.5598 GB, free: 2.113 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches