Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.Test28") [: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.002796/0.002795, allocations: 172.2 kB / 8.145 MB, free: 2.211 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.663/1.663, 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.001266/0.001265, allocations: 89.27 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.3833/0.3833, allocations: 43.49 MB / 353.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.738e-06/9.889e-06, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2699, allocations: 58.84 MB / 476.5 MB, free: 5.066 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/0.4272, allocations: 85.56 MB / 0.5489 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.4275, allocations: 75.95 kB / 0.549 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01647/0.444, allocations: 3.662 MB / 0.5526 GB, free: 9.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.176e-05/0.4441, allocations: 8 kB / 0.5526 GB, free: 9.773 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.0005585/0.4446, allocations: 386.2 kB / 0.5529 GB, free: 9.352 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.4447, allocations: 8.031 kB / 0.553 GB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.603e-05/0.4448, allocations: 11.81 kB / 0.553 GB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.4451, allocations: 206.8 kB / 0.5532 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-06/0.4452, allocations: 0 / 0.5532 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.4452, allocations: 8 kB / 0.5532 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.504e-05/0.4453, allocations: 15.94 kB / 0.5532 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.75e-05/0.4454, allocations: 37.69 kB / 0.5532 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4454, allocations: 0 / 0.5532 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.4455, allocations: 4 kB / 0.5532 GB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4455, allocations: 0 / 0.5532 GB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.4459, allocations: 273.4 kB / 0.5535 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.4461, allocations: 29.72 kB / 0.5535 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.4462, allocations: 16.8 kB / 0.5535 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.4462, allocations: 3.984 kB / 0.5535 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.4463, allocations: 30.56 kB / 0.5536 GB, free: 8.617 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.4463, allocations: 4 kB / 0.5536 GB, free: 8.613 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005219/0.4468, allocations: 113.2 kB / 0.5537 GB, free: 8.496 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.4469, allocations: 55.41 kB / 0.5537 GB, free: 8.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.4472, allocations: 213.8 kB / 0.5539 GB, free: 8.211 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.4473, allocations: 25.7 kB / 0.554 GB, free: 8.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.4473, allocations: 154.5 kB / 0.5541 GB, free: 8.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.4474, allocations: 19.66 kB / 0.5541 GB, free: 8.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-06/0.4474, allocations: 3.938 kB / 0.5541 GB, free: 8.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4475, allocations: 318.8 kB / 0.5544 GB, free: 7.684 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-05/0.4476, allocations: 8 kB / 0.5544 GB, free: 7.676 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.242e-05/0.4476, allocations: 12 kB / 0.5544 GB, free: 7.664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.135e-05/0.4477, allocations: 11.98 kB / 0.5545 GB, free: 7.652 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4477, allocations: 0 / 0.5545 GB, free: 7.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001358/0.4478, allocations: 49.7 kB / 0.5545 GB, free: 7.598 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4479, allocations: 7.281 kB / 0.5545 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4479, allocations: 4 kB / 0.5545 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4479, allocations: 0 / 0.5545 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.448, allocations: 19.98 kB / 0.5545 GB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4481, allocations: 0 / 0.5545 GB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-05/0.4481, allocations: 11.89 kB / 0.5545 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.4482, allocations: 4 kB / 0.5546 GB, free: 7.555 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.527e-05/0.4482, allocations: 31.2 kB / 0.5546 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.4483, allocations: 11.81 kB / 0.5546 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.4485, allocations: 82.75 kB / 0.5547 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4485, allocations: 0 / 0.5547 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4485, allocations: 0 / 0.5547 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4486, allocations: 0 / 0.5547 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/0.4491, allocations: 335.3 kB / 0.555 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.4491, allocations: 4.062 kB / 0.555 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.4493, allocations: 15.98 kB / 0.555 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4493, allocations: 0 / 0.555 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.4493, allocations: 4 kB / 0.555 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4493, allocations: 0 / 0.555 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4493, allocations: 0 / 0.555 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001942/0.4495, allocations: 159.4 kB / 0.5552 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.6e-05/0.4496, allocations: 100.9 kB / 0.5553 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.4497, allocations: 0 / 0.5553 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.4498, allocations: 12 kB / 0.5553 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.4499, allocations: 3.984 kB / 0.5553 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4499, allocations: 0 / 0.5553 GB, free: 6.727 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002539/0.4501, allocations: 179.2 kB / 0.5554 GB, free: 6.551 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003182/0.4505, allocations: 23.94 kB / 0.5555 GB, free: 6.527 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.0008573/0.4513, allocations: 308.6 kB / 0.5558 GB, free: 6.258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.4515, allocations: 28 kB / 0.5558 GB, free: 6.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4515, allocations: 0 / 0.5558 GB, free: 6.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.259e-05/0.4516, allocations: 19.94 kB / 0.5558 GB, free: 6.211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.4519, allocations: 16.03 kB / 0.5558 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006152/0.4525, allocations: 209.3 kB / 0.556 GB, free: 5.957 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004861/0.453, allocations: 0.7231 MB / 0.5567 GB, free: 5.207 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.453, allocations: 0 / 0.5567 GB, free: 5.207 MB / 394.7 MB Notification: Performance of Templates: time 0.004901/0.458, allocations: 1.672 MB / 0.5584 GB, free: 3.535 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches