Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") [: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.002497/0.002497, allocations: 174.4 kB / 8.145 MB, free: 2.219 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.78/1.78, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001746/0.001746, allocations: 94.25 kB / 261.8 MB, free: 13.61 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.3154/0.3154, allocations: 43.49 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.014e-05/1.03e-05, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2943, allocations: 58.84 MB / 476.5 MB, free: 5.07 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.461, allocations: 86.4 MB / 0.5497 GB, free: 12.69 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.4613, allocations: 83.39 kB / 0.5498 GB, free: 12.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01792/0.4793, allocations: 3.939 MB / 0.5537 GB, free: 8.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.4793, allocations: 4 kB / 0.5537 GB, free: 8.664 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.0005315/0.4799, allocations: 390.1 kB / 0.554 GB, free: 8.238 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4799, allocations: 12.03 kB / 0.5541 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.48, allocations: 7.906 kB / 0.5541 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.4803, allocations: 210.7 kB / 0.5543 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.4804, allocations: 3.984 kB / 0.5543 GB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.4804, allocations: 4 kB / 0.5543 GB, free: 7.965 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000112/0.4805, allocations: 16 kB / 0.5543 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.4807, allocations: 57.67 kB / 0.5543 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4807, allocations: 0 / 0.5543 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.4807, allocations: 0 / 0.5543 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4807, allocations: 0 / 0.5543 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.4813, allocations: 297.3 kB / 0.5546 GB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.4814, allocations: 38.58 kB / 0.5547 GB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.4815, allocations: 12.86 kB / 0.5547 GB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.4815, allocations: 3.906 kB / 0.5547 GB, free: 7.492 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.4816, allocations: 38.64 kB / 0.5547 GB, free: 7.445 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.4816, allocations: 3.938 kB / 0.5547 GB, free: 7.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007133/0.4823, allocations: 153.2 kB / 0.5549 GB, free: 7.285 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.4824, allocations: 51.41 kB / 0.5549 GB, free: 7.223 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.4827, allocations: 168.2 kB / 0.5551 GB, free: 7.055 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.4827, allocations: 29.7 kB / 0.5551 GB, free: 7.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.4828, allocations: 162.5 kB / 0.5553 GB, free: 6.859 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.4828, allocations: 15.72 kB / 0.5553 GB, free: 6.844 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.4828, allocations: 0 / 0.5553 GB, free: 6.844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.483, allocations: 318.8 kB / 0.5556 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.356e-05/0.4831, allocations: 19.98 kB / 0.5556 GB, free: 6.504 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.245e-05/0.4831, allocations: 20.08 kB / 0.5556 GB, free: 6.484 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.645e-05/0.4832, allocations: 27.97 kB / 0.5556 GB, free: 6.457 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4832, allocations: 0 / 0.5556 GB, free: 6.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002133/0.4835, allocations: 85.61 kB / 0.5557 GB, free: 6.367 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4835, allocations: 4 kB / 0.5557 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4835, allocations: 0 / 0.5557 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4835, allocations: 0 / 0.5557 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.4838, allocations: 27.98 kB / 0.5558 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.4838, allocations: 0 / 0.5558 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.4839, allocations: 23.83 kB / 0.5558 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.4839, allocations: 4 kB / 0.5558 GB, free: 6.309 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 8.895e-05/0.484, allocations: 31.05 kB / 0.5558 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.4841, allocations: 7.906 kB / 0.5558 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.4844, allocations: 106.4 kB / 0.5559 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4844, allocations: 3.906 kB / 0.5559 GB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4844, allocations: 4 kB / 0.5559 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4844, allocations: 0 / 0.5559 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/0.4851, allocations: 367.1 kB / 0.5563 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4851, allocations: 0 / 0.5563 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.4853, allocations: 27.89 kB / 0.5563 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4853, allocations: 4 kB / 0.5563 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.4853, allocations: 0 / 0.5563 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.4853, allocations: 0 / 0.5563 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.4853, allocations: 3.938 kB / 0.5563 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002627/0.4856, allocations: 183.3 kB / 0.5565 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/0.4857, allocations: 96.94 kB / 0.5566 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.4857, allocations: 4 kB / 0.5566 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.4859, allocations: 15.98 kB / 0.5566 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.486, allocations: 4 kB / 0.5566 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-06/0.486, allocations: 0 / 0.5566 GB, free: 5.379 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001795/0.4862, allocations: 140.1 kB / 0.5567 GB, free: 5.242 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003147/0.4865, allocations: 24 kB / 0.5568 GB, free: 5.219 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.0008526/0.4874, allocations: 318.2 kB / 0.5571 GB, free: 4.941 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.4876, allocations: 59.91 kB / 0.5571 GB, free: 4.883 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4876, allocations: 0 / 0.5571 GB, free: 4.883 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.858e-05/0.4877, allocations: 31.98 kB / 0.5571 GB, free: 4.852 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.4881, allocations: 8 kB / 0.5572 GB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.4887, allocations: 200.8 kB / 0.5573 GB, free: 4.617 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004867/0.4892, allocations: 0.7348 MB / 0.5581 GB, free: 3.855 MB / 394.7 MB Notification: Performance of SimCode: time 8.61e-07/0.4892, allocations: 0 / 0.5581 GB, free: 3.855 MB / 394.7 MB Notification: Performance of Templates: time 0.006813/0.496, allocations: 1.771 MB / 0.5598 GB, free: 2.086 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches