Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 183.5 kB / 7.803 MB, free: 2.141 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.052/1.052, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009086/0.0009086, allocations: 87.61 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1534/0.1534, allocations: 43.48 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.35e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2318, allocations: 58.83 MB / 476.6 MB, free: 5.32 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.3402, allocations: 85.86 MB / 0.5492 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.3404, allocations: 71.97 kB / 0.5493 GB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01505/0.3555, allocations: 7.343 MB / 0.5565 GB, free: 5.742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.3555, allocations: 8 kB / 0.5565 GB, free: 5.734 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.0005021/0.356, allocations: 0.5447 MB / 0.557 GB, free: 5.145 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3561, allocations: 11.2 kB / 0.557 GB, free: 5.137 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.3561, allocations: 43.44 kB / 0.5571 GB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.3566, allocations: 327.3 kB / 0.5574 GB, free: 4.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.3566, allocations: 0 / 0.5574 GB, free: 4.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.3566, allocations: 4 kB / 0.5574 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.919e-05/0.3567, allocations: 15.94 kB / 0.5574 GB, free: 4.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.257e-05/0.3568, allocations: 37.7 kB / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3568, allocations: 0 / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.3568, allocations: 0 / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3568, allocations: 0 / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.3573, allocations: 401.3 kB / 0.5578 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.249e-05/0.3574, allocations: 38.52 kB / 0.5578 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.796e-05/0.3574, allocations: 12.86 kB / 0.5579 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.3575, allocations: 4 kB / 0.5579 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.3575, allocations: 38.45 kB / 0.5579 GB, free: 4.125 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.3575, allocations: 0 / 0.5579 GB, free: 4.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001932/0.3577, allocations: 85.31 kB / 0.558 GB, free: 4.035 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.3578, allocations: 51.41 kB / 0.558 GB, free: 3.973 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.3588, allocations: 0.7512 MB / 0.5588 GB, free: 3.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.3588, allocations: 25.7 kB / 0.5588 GB, free: 3.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.3588, allocations: 132 kB / 0.5589 GB, free: 3.051 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.3589, allocations: 19.83 kB / 0.5589 GB, free: 3.031 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.3589, allocations: 0 / 0.5589 GB, free: 3.031 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.359, allocations: 358.8 kB / 0.5593 GB, free: 2.672 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.359, allocations: 8 kB / 0.5593 GB, free: 2.664 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.277e-05/0.3591, allocations: 4 kB / 0.5593 GB, free: 2.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.158e-05/0.3591, allocations: 11.94 kB / 0.5593 GB, free: 2.648 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.3591, allocations: 4 kB / 0.5593 GB, free: 2.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000106/0.3592, allocations: 85.12 kB / 0.5594 GB, free: 2.555 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.3592, allocations: 10.75 kB / 0.5594 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3592, allocations: 0 / 0.5594 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.3592, allocations: 0 / 0.5594 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.3593, allocations: 15.98 kB / 0.5594 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.3593, allocations: 0 / 0.5594 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-05/0.3594, allocations: 11.91 kB / 0.5594 GB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3594, allocations: 0 / 0.5594 GB, free: 2.52 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 (3): * Single equations (assignments): 3 * 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.308e-05/0.3595, allocations: 108.9 kB / 0.5595 GB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.3596, allocations: 43.42 kB / 0.5596 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.3598, allocations: 97.06 kB / 0.5597 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3598, allocations: 0 / 0.5597 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3598, allocations: 0 / 0.5597 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3598, allocations: 0 / 0.5597 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.3601, allocations: 310 kB / 0.56 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3601, allocations: 0 / 0.56 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.599e-05/0.3601, allocations: 15.89 kB / 0.56 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3601, allocations: 0 / 0.56 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3602, allocations: 0 / 0.56 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3602, allocations: 0 / 0.56 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3602, allocations: 0 / 0.56 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001589/0.3603, allocations: 183 kB / 0.5601 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.3605, allocations: 164.5 kB / 0.5603 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.3606, allocations: 0 / 0.5603 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3607, allocations: 7.984 kB / 0.5603 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.3607, allocations: 7.938 kB / 0.5603 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.3607, allocations: 0 / 0.5603 GB, free: 1.508 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005539/0.3613, allocations: 0.6082 MB / 0.5609 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000267/0.3616, allocations: 48 kB / 0.561 GB, free: 0.8555 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 (3): * Single equations (assignments): 3 * 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.0005218/0.3621, allocations: 274.7 kB / 0.5612 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.702e-05/0.3622, allocations: 16 kB / 0.5612 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.3622, allocations: 0 / 0.5612 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.288e-05/0.3622, allocations: 15.94 kB / 0.5612 GB, free: 0.582 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.3625, allocations: 25.81 kB / 0.5613 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.3635, allocations: 0.6876 MB / 0.5619 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.3639, allocations: 0.8485 MB / 0.5628 GB, free: 14.96 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3639, allocations: 0 / 0.5628 GB, free: 14.96 MB / 410.7 MB Notification: Performance of Templates: time 0.00479/0.3687, allocations: 2.027 MB / 0.5648 GB, free: 12.93 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches