Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") [: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.0008778/0.0008779, allocations: 187 kB / 7.799 MB, free: 2.508 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.078/1.078, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008163/0.0008164, allocations: 90.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.158/0.158, allocations: 43.48 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.514e-06, allocations: 4.219 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2429, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.3482, allocations: 86.41 MB / 0.5498 GB, free: 12.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/0.3484, allocations: 63.97 kB / 0.5498 GB, free: 12.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009984/0.3584, allocations: 3.947 MB / 0.5537 GB, free: 8.539 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.3585, allocations: 4 kB / 0.5537 GB, free: 8.535 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.0003428/0.3588, allocations: 398.1 kB / 0.5541 GB, free: 8.102 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.3589, allocations: 8.031 kB / 0.5541 GB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.3589, allocations: 7.906 kB / 0.5541 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.3591, allocations: 206.7 kB / 0.5543 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.3591, allocations: 4 kB / 0.5543 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.3592, allocations: 8 kB / 0.5543 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.441e-05/0.3592, allocations: 19.98 kB / 0.5543 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.106e-05/0.3593, allocations: 45.69 kB / 0.5544 GB, free: 7.762 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3593, allocations: 3.938 kB / 0.5544 GB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.3594, allocations: 0 / 0.5544 GB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3594, allocations: 4 kB / 0.5544 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.3598, allocations: 297.3 kB / 0.5546 GB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.167e-05/0.3598, allocations: 38.5 kB / 0.5547 GB, free: 7.379 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.3599, allocations: 16.86 kB / 0.5547 GB, free: 7.359 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3599, allocations: 3.906 kB / 0.5547 GB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3599, allocations: 38.56 kB / 0.5547 GB, free: 7.309 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3599, allocations: 0 / 0.5547 GB, free: 7.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000441/0.3604, allocations: 153.3 kB / 0.5549 GB, free: 7.152 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.3604, allocations: 59.41 kB / 0.5549 GB, free: 7.082 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.3606, allocations: 164.2 kB / 0.5551 GB, free: 6.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.3606, allocations: 25.7 kB / 0.5551 GB, free: 6.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.3606, allocations: 96.12 kB / 0.5552 GB, free: 6.789 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.3607, allocations: 19.72 kB / 0.5552 GB, free: 6.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.3607, allocations: 0 / 0.5552 GB, free: 6.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3608, allocations: 326.7 kB / 0.5555 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.579e-05/0.3608, allocations: 20 kB / 0.5556 GB, free: 6.422 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-05/0.3609, allocations: 19.98 kB / 0.5556 GB, free: 6.402 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.046e-05/0.3609, allocations: 27.98 kB / 0.5556 GB, free: 6.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.3609, allocations: 0 / 0.5556 GB, free: 6.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001209/0.3611, allocations: 89.59 kB / 0.5557 GB, free: 6.281 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.3611, allocations: 4 kB / 0.5557 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3611, allocations: 4 kB / 0.5557 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.3611, allocations: 0 / 0.5557 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3612, allocations: 23.97 kB / 0.5557 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.3612, allocations: 12.25 kB / 0.5557 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.034e-05/0.3613, allocations: 15.84 kB / 0.5558 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.3613, allocations: 7.984 kB / 0.5558 GB, free: 6.215 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 6.591e-05/0.3614, allocations: 102.4 kB / 0.5559 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.3614, allocations: 7.906 kB / 0.5559 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.3616, allocations: 118 kB / 0.556 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3616, allocations: 0 / 0.556 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3616, allocations: 0 / 0.556 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3616, allocations: 0 / 0.556 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.362, allocations: 359 kB / 0.5563 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.362, allocations: 4 kB / 0.5563 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.432e-05/0.3621, allocations: 27.92 kB / 0.5564 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3621, allocations: 0 / 0.5564 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.3621, allocations: 7.938 kB / 0.5564 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3621, allocations: 0 / 0.5564 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3621, allocations: 0 / 0.5564 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001575/0.3623, allocations: 183.5 kB / 0.5565 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.3624, allocations: 93 kB / 0.5566 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.3624, allocations: 7.984 kB / 0.5566 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.904e-05/0.3625, allocations: 12 kB / 0.5566 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.3625, allocations: 7.984 kB / 0.5566 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3626, allocations: 4 kB / 0.5567 GB, free: 5.211 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.633e-05/0.3627, allocations: 144.1 kB / 0.5568 GB, free: 5.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002384/0.3629, allocations: 27.91 kB / 0.5568 GB, free: 5.043 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.000533/0.3634, allocations: 300.2 kB / 0.5571 GB, free: 4.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.3636, allocations: 51.98 kB / 0.5572 GB, free: 4.734 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.3636, allocations: 0 / 0.5572 GB, free: 4.734 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.479e-05/0.3636, allocations: 27.94 kB / 0.5572 GB, free: 4.707 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.3638, allocations: 15.98 kB / 0.5572 GB, free: 4.691 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.3642, allocations: 171.2 kB / 0.5574 GB, free: 4.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.3645, allocations: 0.727 MB / 0.5581 GB, free: 3.746 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3645, allocations: 0 / 0.5581 GB, free: 3.746 MB / 394.7 MB Notification: Performance of Templates: time 0.003308/0.3678, allocations: 1.378 MB / 0.5594 GB, free: 2.371 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches