Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") [: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.001866/0.001867, allocations: 175.8 kB / 8.148 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.816/1.816, 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.001282/0.001281, allocations: 84.66 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.2651/0.2651, allocations: 43.49 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.096e-05/1.111e-05, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2961, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.4513, allocations: 86.41 MB / 0.5498 GB, free: 12.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.4516, allocations: 71.95 kB / 0.5498 GB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02036/0.472, allocations: 4.076 MB / 0.5538 GB, free: 8.512 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.4721, allocations: 3.938 kB / 0.5538 GB, free: 8.508 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.0005705/0.4726, allocations: 398.1 kB / 0.5542 GB, free: 8.074 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.4727, allocations: 12.03 kB / 0.5542 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.755e-05/0.4728, allocations: 15.81 kB / 0.5542 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.4732, allocations: 208.9 kB / 0.5544 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4733, allocations: 0 / 0.5544 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.4733, allocations: 4 kB / 0.5544 GB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001204/0.4734, allocations: 16 kB / 0.5544 GB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.4736, allocations: 49.59 kB / 0.5545 GB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4736, allocations: 0 / 0.5545 GB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.4736, allocations: 0 / 0.5545 GB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4736, allocations: 0 / 0.5545 GB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000812/0.4745, allocations: 309.3 kB / 0.5548 GB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.4746, allocations: 50.5 kB / 0.5548 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.4747, allocations: 12.86 kB / 0.5548 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.4747, allocations: 8.062 kB / 0.5548 GB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.4748, allocations: 34.5 kB / 0.5549 GB, free: 7.262 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.365e-06/0.4748, allocations: 0 / 0.5549 GB, free: 7.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007783/0.4756, allocations: 157.2 kB / 0.555 GB, free: 7.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.4756, allocations: 51.41 kB / 0.5551 GB, free: 7.039 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.4759, allocations: 189.5 kB / 0.5553 GB, free: 6.844 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.476, allocations: 25.7 kB / 0.5553 GB, free: 6.812 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.476, allocations: 158.5 kB / 0.5554 GB, free: 6.656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.4761, allocations: 23.66 kB / 0.5555 GB, free: 6.633 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.4761, allocations: 0 / 0.5555 GB, free: 6.633 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4763, allocations: 322.8 kB / 0.5558 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.4764, allocations: 19.98 kB / 0.5558 GB, free: 6.289 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.411e-05/0.4766, allocations: 16 kB / 0.5558 GB, free: 6.273 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.4767, allocations: 23.98 kB / 0.5558 GB, free: 6.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4767, allocations: 0 / 0.5558 GB, free: 6.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003511/0.4771, allocations: 85.66 kB / 0.5559 GB, free: 6.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.4771, allocations: 4 kB / 0.5559 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4772, allocations: 0 / 0.5559 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.4772, allocations: 4 kB / 0.5559 GB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.4775, allocations: 27.92 kB / 0.5559 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.4775, allocations: 0 / 0.5559 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.4776, allocations: 15.98 kB / 0.556 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.4776, allocations: 7.906 kB / 0.556 GB, free: 6.102 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.125e-05/0.4777, allocations: 29.7 kB / 0.556 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.261e-05/0.4778, allocations: 7.906 kB / 0.556 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.4781, allocations: 111.3 kB / 0.5561 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.4782, allocations: 0 / 0.5561 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4782, allocations: 3.938 kB / 0.5561 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4782, allocations: 0 / 0.5561 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006378/0.4788, allocations: 378.9 kB / 0.5565 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4789, allocations: 0 / 0.5565 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.4791, allocations: 19.98 kB / 0.5565 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.4791, allocations: 7.984 kB / 0.5565 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.4791, allocations: 0 / 0.5565 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4791, allocations: 0 / 0.5565 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4792, allocations: 0 / 0.5565 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002826/0.4795, allocations: 195.2 kB / 0.5567 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/0.4796, allocations: 93.02 kB / 0.5568 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.4796, allocations: 3.906 kB / 0.5568 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.4798, allocations: 15.98 kB / 0.5568 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.4799, allocations: 8.125 kB / 0.5568 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.4799, allocations: 7.984 kB / 0.5568 GB, free: 5.148 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002171/0.4801, allocations: 151.2 kB / 0.5569 GB, free: 5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003264/0.4804, allocations: 19.94 kB / 0.557 GB, free: 4.98 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.001125/0.4816, allocations: 298.9 kB / 0.5572 GB, free: 4.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.4819, allocations: 59.86 kB / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4819, allocations: 4 kB / 0.5573 GB, free: 4.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.045e-05/0.482, allocations: 31.98 kB / 0.5573 GB, free: 4.629 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.4823, allocations: 8.547 kB / 0.5573 GB, free: 4.621 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007393/0.4831, allocations: 225.1 kB / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005132/0.4836, allocations: 0.7348 MB / 0.5583 GB, free: 3.613 MB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/0.4837, allocations: 0 / 0.5583 GB, free: 3.613 MB / 394.7 MB Notification: Performance of Templates: time 0.005356/0.489, allocations: 1.858 MB / 0.5601 GB, free: 1.758 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches