Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.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.CombiTable1D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8") translateModel(ModelicaTest.Tables.CombiTable1D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8") [: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.001661/0.00166, allocations: 171.3 kB / 8.149 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.659/1.659, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001393/0.001392, allocations: 94.62 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.3841/0.3841, allocations: 43.5 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.043e-05/1.064e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2987, allocations: 58.83 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.4569, allocations: 85.63 MB / 0.549 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.4572, allocations: 67.25 kB / 0.5491 GB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01537/0.4726, allocations: 3.219 MB / 0.5522 GB, free: 10.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.4727, allocations: 0 / 0.5522 GB, free: 10.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00047/0.4732, allocations: 382.1 kB / 0.5526 GB, free: 9.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4732, allocations: 8.031 kB / 0.5526 GB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.4733, allocations: 11.81 kB / 0.5526 GB, free: 9.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.4736, allocations: 190.4 kB / 0.5528 GB, free: 9.516 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.4736, allocations: 4 kB / 0.5528 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.4736, allocations: 3.984 kB / 0.5528 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.743e-05/0.4737, allocations: 12 kB / 0.5528 GB, free: 9.496 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.4739, allocations: 41.69 kB / 0.5528 GB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4739, allocations: 3.938 kB / 0.5528 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.4739, allocations: 4 kB / 0.5528 GB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.4739, allocations: 0 / 0.5528 GB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.4744, allocations: 261.4 kB / 0.5531 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.4746, allocations: 33.7 kB / 0.5531 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.4747, allocations: 12.86 kB / 0.5531 GB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.4747, allocations: 3.906 kB / 0.5531 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.4748, allocations: 30.56 kB / 0.5532 GB, free: 9.051 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.4748, allocations: 0 / 0.5532 GB, free: 9.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005744/0.4753, allocations: 117.3 kB / 0.5533 GB, free: 8.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.4754, allocations: 51.41 kB / 0.5533 GB, free: 8.867 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.4756, allocations: 141.2 kB / 0.5535 GB, free: 8.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.4757, allocations: 25.7 kB / 0.5535 GB, free: 8.688 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/0.4758, allocations: 150.6 kB / 0.5536 GB, free: 8.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.4758, allocations: 11.75 kB / 0.5536 GB, free: 8.527 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-06/0.4758, allocations: 4 kB / 0.5536 GB, free: 8.523 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.476, allocations: 322.8 kB / 0.5539 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.665e-05/0.476, allocations: 11.94 kB / 0.554 GB, free: 8.188 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.171e-05/0.4761, allocations: 15.98 kB / 0.554 GB, free: 8.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.049e-05/0.4761, allocations: 12 kB / 0.554 GB, free: 8.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4761, allocations: 0 / 0.554 GB, free: 8.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001543/0.4763, allocations: 61.62 kB / 0.554 GB, free: 8.094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4763, allocations: 4 kB / 0.554 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4763, allocations: 0 / 0.554 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4764, allocations: 8.188 kB / 0.5541 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.4765, allocations: 15.98 kB / 0.5541 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4766, allocations: 8 kB / 0.5541 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.907e-05/0.4766, allocations: 7.984 kB / 0.5541 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.4767, allocations: 0 / 0.5541 GB, free: 8.051 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 (5): * Single equations (assignments): 5 * 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 5.512e-05/0.4767, allocations: 35.02 kB / 0.5541 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.4768, allocations: 7.906 kB / 0.5541 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.477, allocations: 81.8 kB / 0.5542 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.477, allocations: 0 / 0.5542 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4771, allocations: 0 / 0.5542 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.4771, allocations: 0 / 0.5542 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.4776, allocations: 315 kB / 0.5545 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4776, allocations: 0 / 0.5545 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.4777, allocations: 19.98 kB / 0.5545 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4777, allocations: 0 / 0.5545 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-06/0.4777, allocations: 0 / 0.5545 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4778, allocations: 0 / 0.5545 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4778, allocations: 7.938 kB / 0.5545 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000211/0.478, allocations: 163.5 kB / 0.5547 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/0.4781, allocations: 93 kB / 0.5548 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.4781, allocations: 4 kB / 0.5548 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.4783, allocations: 8 kB / 0.5548 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.4783, allocations: 3.984 kB / 0.5548 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.4783, allocations: 4 kB / 0.5548 GB, free: 7.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000127/0.4785, allocations: 113.9 kB / 0.5549 GB, free: 7.121 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003021/0.4788, allocations: 16 kB / 0.5549 GB, free: 7.105 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 (5): * Single equations (assignments): 5 * 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.0009219/0.4797, allocations: 315 kB / 0.5552 GB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.4799, allocations: 39.92 kB / 0.5553 GB, free: 6.789 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4799, allocations: 0 / 0.5553 GB, free: 6.789 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.111e-05/0.48, allocations: 20 kB / 0.5553 GB, free: 6.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.4803, allocations: 19.75 kB / 0.5553 GB, free: 6.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.4808, allocations: 149.3 kB / 0.5554 GB, free: 6.574 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.4812, allocations: 0.7192 MB / 0.5561 GB, free: 5.828 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4813, allocations: 0 / 0.5561 GB, free: 5.828 MB / 394.7 MB Notification: Performance of Templates: time 0.004544/0.4858, allocations: 1.45 MB / 0.5576 GB, free: 4.379 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches