Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19,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.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.CombiTable1Ds.Test19") [: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.001623/0.001623, allocations: 172.5 kB / 8.147 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.697/1.697, allocations: 205.2 MB / 213.8 MB, free: 13.82 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.001237/0.001237, allocations: 92.78 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.2683/0.2683, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.03e-05/1.045e-05, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2878, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/0.448, allocations: 85.85 MB / 0.5492 GB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.4484, allocations: 75.47 kB / 0.5493 GB, free: 13.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02551/0.4739, allocations: 5.78 MB / 0.5549 GB, free: 7.371 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.474, allocations: 4 kB / 0.5549 GB, free: 7.367 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.000567/0.4746, allocations: 394.3 kB / 0.5553 GB, free: 6.938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4746, allocations: 8.031 kB / 0.5553 GB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.4747, allocations: 7.906 kB / 0.5553 GB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.475, allocations: 193.2 kB / 0.5555 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.475, allocations: 0 / 0.5555 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.475, allocations: 0 / 0.5555 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.243e-05/0.4751, allocations: 19.91 kB / 0.5555 GB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.4753, allocations: 51.41 kB / 0.5556 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4753, allocations: 7.875 kB / 0.5556 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.4753, allocations: 4 kB / 0.5556 GB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4753, allocations: 0 / 0.5556 GB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.4757, allocations: 253.4 kB / 0.5558 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.4759, allocations: 33.7 kB / 0.5559 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.476, allocations: 8.859 kB / 0.5559 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.476, allocations: 0 / 0.5559 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.4761, allocations: 30.56 kB / 0.5559 GB, free: 6.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.4761, allocations: 4 kB / 0.5559 GB, free: 6.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004991/0.4766, allocations: 97.42 kB / 0.556 GB, free: 6.121 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.02e-05/0.4767, allocations: 85.09 kB / 0.5561 GB, free: 6.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.4769, allocations: 117 kB / 0.5562 GB, free: 5.898 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.4769, allocations: 29.7 kB / 0.5562 GB, free: 5.863 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.477, allocations: 150.6 kB / 0.5564 GB, free: 5.715 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.477, allocations: 15.75 kB / 0.5564 GB, free: 5.699 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.477, allocations: 0 / 0.5564 GB, free: 5.699 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4772, allocations: 314.8 kB / 0.5567 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.473e-05/0.4772, allocations: 12 kB / 0.5567 GB, free: 5.371 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.544e-05/0.4773, allocations: 21.7 kB / 0.5567 GB, free: 5.344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.168e-05/0.4773, allocations: 12 kB / 0.5567 GB, free: 5.332 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.4774, allocations: 3.906 kB / 0.5567 GB, free: 5.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001293/0.4775, allocations: 53.62 kB / 0.5568 GB, free: 5.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4775, allocations: 4 kB / 0.5568 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4775, allocations: 3.938 kB / 0.5568 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4776, allocations: 4 kB / 0.5568 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.4777, allocations: 20.03 kB / 0.5568 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.4777, allocations: 0 / 0.5568 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.4778, allocations: 7.984 kB / 0.5568 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.4778, allocations: 0 / 0.5568 GB, free: 5.23 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 6.726e-05/0.4779, allocations: 31.11 kB / 0.5568 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.4779, allocations: 7.906 kB / 0.5568 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.4782, allocations: 77.58 kB / 0.5569 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4782, allocations: 0 / 0.5569 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4782, allocations: 144 / 0.5569 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4782, allocations: 3.984 kB / 0.5569 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.4786, allocations: 299.1 kB / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4787, allocations: 0 / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.4788, allocations: 12.38 kB / 0.5572 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.4788, allocations: 8 kB / 0.5572 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.4788, allocations: 7.938 kB / 0.5572 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4788, allocations: 0 / 0.5572 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.4789, allocations: 3.984 kB / 0.5572 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001946/0.4791, allocations: 151.4 kB / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.4792, allocations: 93 kB / 0.5575 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.4792, allocations: 0 / 0.5575 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.4793, allocations: 11.98 kB / 0.5575 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.4794, allocations: 4 kB / 0.5575 GB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.4794, allocations: 0 / 0.5575 GB, free: 4.441 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001013/0.4795, allocations: 103.7 kB / 0.5576 GB, free: 4.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003218/0.4798, allocations: 24 kB / 0.5576 GB, free: 4.316 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.0009613/0.4808, allocations: 356.2 kB / 0.558 GB, free: 3.996 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.481, allocations: 24 kB / 0.558 GB, free: 3.973 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.481, allocations: 0 / 0.558 GB, free: 3.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.351e-05/0.4811, allocations: 16 kB / 0.558 GB, free: 3.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.4814, allocations: 7.984 kB / 0.558 GB, free: 3.949 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.4818, allocations: 125.5 kB / 0.5581 GB, free: 3.793 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003995/0.4822, allocations: 0.7192 MB / 0.5588 GB, free: 3.047 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.4822, allocations: 0 / 0.5588 GB, free: 3.047 MB / 394.7 MB Notification: Performance of Templates: time 0.004647/0.4868, allocations: 1.586 MB / 0.5604 GB, free: 1.461 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches