Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.Test12,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.Test12") [: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.001579/0.001582, allocations: 171.9 kB / 8.146 MB, free: 2.195 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.773/1.773, 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.001285/0.001285, allocations: 92.72 kB / 261.8 MB, free: 13.6 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.2658/0.2658, allocations: 43.49 MB / 353.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.159e-05/1.162e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2915, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.161/0.4526, allocations: 85.62 MB / 0.549 GB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.4529, allocations: 71.47 kB / 0.5491 GB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01589/0.4688, allocations: 3.262 MB / 0.5522 GB, free: 10.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.475e-05/0.4689, allocations: 8 kB / 0.5523 GB, free: 10.09 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.0005177/0.4695, allocations: 366.2 kB / 0.5526 GB, free: 9.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.4695, allocations: 16.02 kB / 0.5526 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.4696, allocations: 7.906 kB / 0.5526 GB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.4699, allocations: 190.9 kB / 0.5528 GB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4699, allocations: 0 / 0.5528 GB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.47, allocations: 11.98 kB / 0.5528 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001049/0.4701, allocations: 8 kB / 0.5528 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.4702, allocations: 45.62 kB / 0.5529 GB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.4702, allocations: 3.906 kB / 0.5529 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.4703, allocations: 0 / 0.5529 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4703, allocations: 3.984 kB / 0.5529 GB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.4708, allocations: 269.4 kB / 0.5531 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.4711, allocations: 33.7 kB / 0.5532 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.4711, allocations: 12.86 kB / 0.5532 GB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.4712, allocations: 0 / 0.5532 GB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.4712, allocations: 38.5 kB / 0.5532 GB, free: 8.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.4712, allocations: 0 / 0.5532 GB, free: 8.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005833/0.4718, allocations: 105.5 kB / 0.5533 GB, free: 8.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.4719, allocations: 55.41 kB / 0.5534 GB, free: 8.785 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.4721, allocations: 144.4 kB / 0.5535 GB, free: 8.641 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.4721, allocations: 29.7 kB / 0.5535 GB, free: 8.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.4722, allocations: 162.4 kB / 0.5537 GB, free: 8.445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.4723, allocations: 15.72 kB / 0.5537 GB, free: 8.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.4723, allocations: 0 / 0.5537 GB, free: 8.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4724, allocations: 314.8 kB / 0.554 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-05/0.4725, allocations: 12 kB / 0.554 GB, free: 8.102 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-05/0.4726, allocations: 12 kB / 0.554 GB, free: 8.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.757e-05/0.4726, allocations: 23.86 kB / 0.5541 GB, free: 8.066 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4726, allocations: 0 / 0.5541 GB, free: 8.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001696/0.4728, allocations: 65.69 kB / 0.5541 GB, free: 7.996 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.4728, allocations: 4 kB / 0.5541 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4729, allocations: 0 / 0.5541 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4729, allocations: 0 / 0.5541 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.473, allocations: 12 kB / 0.5541 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.4731, allocations: 7.891 kB / 0.5541 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.4731, allocations: 8 kB / 0.5541 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.4732, allocations: 4 kB / 0.5541 GB, free: 7.961 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.935e-05/0.4732, allocations: 27.11 kB / 0.5542 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.4733, allocations: 7.906 kB / 0.5542 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.4736, allocations: 77.8 kB / 0.5543 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.4736, allocations: 4 kB / 0.5543 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4736, allocations: 0 / 0.5543 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.4736, allocations: 3.906 kB / 0.5543 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005296/0.4742, allocations: 319.1 kB / 0.5546 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4742, allocations: 0 / 0.5546 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.4743, allocations: 20.3 kB / 0.5546 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4743, allocations: 4 kB / 0.5546 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4744, allocations: 7.906 kB / 0.5546 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4744, allocations: 0 / 0.5546 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4744, allocations: 0 / 0.5546 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002211/0.4746, allocations: 163.6 kB / 0.5548 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.792e-05/0.4747, allocations: 93 kB / 0.5548 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.4747, allocations: 0 / 0.5548 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.4749, allocations: 8 kB / 0.5549 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.4749, allocations: 7.891 kB / 0.5549 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.475, allocations: 0 / 0.5549 GB, free: 7.141 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001511/0.4751, allocations: 119.3 kB / 0.555 GB, free: 7.023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003086/0.4754, allocations: 27.94 kB / 0.555 GB, free: 6.996 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.0008707/0.4763, allocations: 306.7 kB / 0.5553 GB, free: 6.727 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.4765, allocations: 40.05 kB / 0.5553 GB, free: 6.688 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4765, allocations: 0 / 0.5553 GB, free: 6.688 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.859e-05/0.4766, allocations: 16 kB / 0.5553 GB, free: 6.672 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.4769, allocations: 19.84 kB / 0.5554 GB, free: 6.652 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.4775, allocations: 165.2 kB / 0.5555 GB, free: 6.457 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000479/0.478, allocations: 0.7186 MB / 0.5562 GB, free: 5.715 MB / 394.7 MB Notification: Performance of SimCode: time 9.61e-07/0.478, allocations: 0 / 0.5562 GB, free: 5.715 MB / 394.7 MB Notification: Performance of Templates: time 0.004956/0.483, allocations: 1.497 MB / 0.5577 GB, free: 4.219 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches