Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") [: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.0008786/0.0008787, allocations: 183.6 kB / 7.803 MB, free: 2.184 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.92 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.0007558/0.0007558, allocations: 91.42 kB / 261.4 MB, free: 13.61 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.1609/0.1609, allocations: 43.48 MB / 352.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.422e-06/6.562e-06, allocations: 0 / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2464, allocations: 58.84 MB / 476.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1029/0.3493, allocations: 86.4 MB / 0.5498 GB, free: 12.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.3496, allocations: 79.23 kB / 0.5498 GB, free: 12.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01062/0.3602, allocations: 4.053 MB / 0.5538 GB, free: 8.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.3602, allocations: 3.938 kB / 0.5538 GB, free: 8.41 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.0003415/0.3606, allocations: 398.1 kB / 0.5542 GB, free: 7.977 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3606, allocations: 12.03 kB / 0.5542 GB, free: 7.965 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.3607, allocations: 15.81 kB / 0.5542 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3609, allocations: 205 kB / 0.5544 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.3609, allocations: 4 kB / 0.5544 GB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.3609, allocations: 0 / 0.5544 GB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.734e-05/0.361, allocations: 23.94 kB / 0.5544 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.007e-05/0.3611, allocations: 49.59 kB / 0.5545 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3611, allocations: 0 / 0.5545 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.3611, allocations: 0 / 0.5545 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3612, allocations: 7.984 kB / 0.5545 GB, free: 7.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.3615, allocations: 301.3 kB / 0.5548 GB, free: 7.285 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.854e-05/0.3616, allocations: 38.5 kB / 0.5548 GB, free: 7.238 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.3617, allocations: 16.86 kB / 0.5548 GB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.3617, allocations: 4 kB / 0.5548 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.3617, allocations: 30.56 kB / 0.5548 GB, free: 7.176 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3617, allocations: 0 / 0.5548 GB, free: 7.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004365/0.3622, allocations: 161.3 kB / 0.555 GB, free: 7.012 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.3622, allocations: 55.41 kB / 0.5551 GB, free: 6.945 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3624, allocations: 181.5 kB / 0.5552 GB, free: 6.758 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.3624, allocations: 25.7 kB / 0.5553 GB, free: 6.727 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.3624, allocations: 100.1 kB / 0.5553 GB, free: 6.625 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.3624, allocations: 27.58 kB / 0.5554 GB, free: 6.598 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.3625, allocations: 0 / 0.5554 GB, free: 6.598 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.3626, allocations: 326.7 kB / 0.5557 GB, free: 6.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.504e-05/0.3626, allocations: 24 kB / 0.5557 GB, free: 6.246 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.158e-05/0.3626, allocations: 23.98 kB / 0.5557 GB, free: 6.223 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/0.3627, allocations: 20.23 kB / 0.5558 GB, free: 6.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.3627, allocations: 0 / 0.5558 GB, free: 6.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001246/0.3628, allocations: 89.56 kB / 0.5558 GB, free: 6.109 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.3628, allocations: 4 kB / 0.5558 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.3628, allocations: 0 / 0.5558 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.3629, allocations: 0 / 0.5558 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.363, allocations: 35.89 kB / 0.5559 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.363, allocations: 3.938 kB / 0.5559 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.3631, allocations: 19.92 kB / 0.5559 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.3631, allocations: 0 / 0.5559 GB, free: 6.047 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.483e-05/0.3631, allocations: 108.9 kB / 0.556 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.3632, allocations: 19.81 kB / 0.556 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.3634, allocations: 103 kB / 0.5561 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3634, allocations: 0 / 0.5561 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3634, allocations: 144 / 0.5561 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3634, allocations: 7.969 kB / 0.5561 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.3637, allocations: 367 kB / 0.5565 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3637, allocations: 0 / 0.5565 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.554e-05/0.3638, allocations: 27.98 kB / 0.5565 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3639, allocations: 0 / 0.5565 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3639, allocations: 4 kB / 0.5565 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3639, allocations: 0 / 0.5565 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3639, allocations: 0 / 0.5565 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001693/0.364, allocations: 191.6 kB / 0.5567 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.3641, allocations: 100.9 kB / 0.5568 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.3641, allocations: 0 / 0.5568 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/0.3642, allocations: 15.92 kB / 0.5568 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.3643, allocations: 4 kB / 0.5568 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.3643, allocations: 4 kB / 0.5568 GB, free: 5.023 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001117/0.3644, allocations: 156.2 kB / 0.557 GB, free: 4.871 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.3646, allocations: 27.94 kB / 0.557 GB, free: 4.844 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.0005278/0.3652, allocations: 296.3 kB / 0.5573 GB, free: 4.586 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.3653, allocations: 55.97 kB / 0.5573 GB, free: 4.531 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.3653, allocations: 0 / 0.5573 GB, free: 4.531 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.3654, allocations: 31.94 kB / 0.5574 GB, free: 4.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.3655, allocations: 23.75 kB / 0.5574 GB, free: 4.477 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.3659, allocations: 179.6 kB / 0.5575 GB, free: 4.281 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.3662, allocations: 0.7386 MB / 0.5583 GB, free: 3.516 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3662, allocations: 0 / 0.5583 GB, free: 3.516 MB / 394.7 MB Notification: Performance of Templates: time 0.003185/0.3694, allocations: 1.415 MB / 0.5596 GB, free: 2.105 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches