Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10") translateModel(ModelicaTest.Tables.CombiTable2D.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10") [: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.0008852/0.0008853, allocations: 191.4 kB / 7.806 MB, free: 2.492 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.068/1.068, 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.0009547/0.0009546, allocations: 88.59 kB / 261.4 MB, free: 13.55 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.1552/0.1552, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.57e-06/5.59e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.24, allocations: 58.83 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.3452, allocations: 86.32 MB / 0.5497 GB, free: 12.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001687/0.3454, allocations: 63.97 kB / 0.5497 GB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01486/0.3602, allocations: 5.944 MB / 0.5556 GB, free: 6.621 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.3603, allocations: 0 / 0.5556 GB, free: 6.621 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003438/0.3606, allocations: 418.1 kB / 0.5559 GB, free: 6.168 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.3607, allocations: 8.031 kB / 0.556 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.3607, allocations: 11.81 kB / 0.556 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.3609, allocations: 198.8 kB / 0.5562 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-06/0.3609, allocations: 0 / 0.5562 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.3609, allocations: 4 kB / 0.5562 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.051e-05/0.361, allocations: 19.94 kB / 0.5562 GB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.436e-05/0.3611, allocations: 67.39 kB / 0.5562 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3611, allocations: 3.984 kB / 0.5562 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.3611, allocations: 0 / 0.5562 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.3611, allocations: 0 / 0.5562 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.3614, allocations: 261.4 kB / 0.5565 GB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.246e-05/0.3615, allocations: 38.52 kB / 0.5565 GB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.464e-05/0.3615, allocations: 8.859 kB / 0.5565 GB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.3615, allocations: 0 / 0.5565 GB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.3615, allocations: 42.56 kB / 0.5566 GB, free: 5.406 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.3616, allocations: 0 / 0.5566 GB, free: 5.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003855/0.3619, allocations: 129.4 kB / 0.5567 GB, free: 5.273 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.362, allocations: 81.05 kB / 0.5568 GB, free: 5.176 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.3621, allocations: 125.2 kB / 0.5569 GB, free: 5.043 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3621, allocations: 29.7 kB / 0.5569 GB, free: 5.008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.3622, allocations: 92.12 kB / 0.557 GB, free: 4.914 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.3622, allocations: 15.72 kB / 0.557 GB, free: 4.898 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.3622, allocations: 0 / 0.557 GB, free: 4.898 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.3623, allocations: 326.7 kB / 0.5573 GB, free: 4.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.194e-05/0.3623, allocations: 12 kB / 0.5574 GB, free: 4.559 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.3624, allocations: 25.8 kB / 0.5574 GB, free: 4.527 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.332e-05/0.3624, allocations: 23.97 kB / 0.5574 GB, free: 4.504 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.3624, allocations: 0 / 0.5574 GB, free: 4.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.944e-05/0.3625, allocations: 65.64 kB / 0.5575 GB, free: 4.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.3625, allocations: 8 kB / 0.5575 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.3625, allocations: 0 / 0.5575 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/0.3625, allocations: 0 / 0.5575 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3627, allocations: 31.91 kB / 0.5575 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3627, allocations: 0 / 0.5575 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.937e-05/0.3628, allocations: 19.88 kB / 0.5575 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3628, allocations: 7.984 kB / 0.5575 GB, free: 4.367 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 (7): * Single equations (assignments): 7 * 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.91e-05/0.3628, allocations: 106.4 kB / 0.5576 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.3629, allocations: 11.81 kB / 0.5576 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.363, allocations: 82.47 kB / 0.5577 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3631, allocations: 4 kB / 0.5577 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.3631, allocations: 0 / 0.5577 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3631, allocations: 4 kB / 0.5577 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.3633, allocations: 331 kB / 0.558 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3634, allocations: 0 / 0.558 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.254e-05/0.3635, allocations: 31.92 kB / 0.5581 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3635, allocations: 0 / 0.5581 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3635, allocations: 0 / 0.5581 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3635, allocations: 0 / 0.5581 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3635, allocations: 0 / 0.5581 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001268/0.3636, allocations: 171.4 kB / 0.5582 GB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.3637, allocations: 89.02 kB / 0.5583 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.3637, allocations: 3.906 kB / 0.5583 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.94e-05/0.3638, allocations: 19.98 kB / 0.5583 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.3638, allocations: 3.984 kB / 0.5584 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3638, allocations: 4 kB / 0.5584 GB, free: 3.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.073e-05/0.3639, allocations: 106.1 kB / 0.5585 GB, free: 3.328 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.3641, allocations: 28 kB / 0.5585 GB, free: 3.301 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 (7): * Single equations (assignments): 7 * 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.0005511/0.3647, allocations: 336.1 kB / 0.5588 GB, free: 3.016 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.823e-05/0.3648, allocations: 39.94 kB / 0.5588 GB, free: 2.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3648, allocations: 3.938 kB / 0.5588 GB, free: 2.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.3649, allocations: 27.98 kB / 0.5589 GB, free: 2.945 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.365, allocations: 23.73 kB / 0.5589 GB, free: 2.922 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.3653, allocations: 119.3 kB / 0.559 GB, free: 2.781 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.3656, allocations: 0.7192 MB / 0.5597 GB, free: 2.035 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3656, allocations: 0 / 0.5597 GB, free: 2.035 MB / 394.7 MB Notification: Performance of Templates: time 0.003258/0.3688, allocations: 1.497 MB / 0.5612 GB, free: 0.543 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches