Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") [: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.0008787/0.0008788, allocations: 183.1 kB / 7.8 MB, free: 2.445 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.061/1.061, 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.000811/0.0008109, allocations: 83.05 kB / 261.4 MB, free: 13.53 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.1537/0.1537, allocations: 43.49 MB / 352.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.261e-06/6.682e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2353, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1034/0.3387, allocations: 86.05 MB / 0.5494 GB, free: 12.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001537/0.3388, allocations: 71.95 kB / 0.5495 GB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01463/0.3535, allocations: 7.223 MB / 0.5565 GB, free: 5.594 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.3535, allocations: 4 kB / 0.5565 GB, free: 5.59 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.0004659/0.354, allocations: 0.5519 MB / 0.5571 GB, free: 4.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.354, allocations: 12.03 kB / 0.5571 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.604e-05/0.3541, allocations: 46.59 kB / 0.5571 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.3545, allocations: 323.4 kB / 0.5575 GB, free: 4.578 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.3545, allocations: 0 / 0.5575 GB, free: 4.578 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.3545, allocations: 0 / 0.5575 GB, free: 4.578 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.89e-05/0.3546, allocations: 16 kB / 0.5575 GB, free: 4.562 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.186e-05/0.3547, allocations: 53.61 kB / 0.5575 GB, free: 4.504 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3547, allocations: 4 kB / 0.5575 GB, free: 4.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.3547, allocations: 0 / 0.5575 GB, free: 4.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3547, allocations: 3.906 kB / 0.5575 GB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.3552, allocations: 405.2 kB / 0.5579 GB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.3553, allocations: 29.7 kB / 0.5579 GB, free: 4.027 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.3554, allocations: 16.86 kB / 0.558 GB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3554, allocations: 0 / 0.558 GB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.3554, allocations: 38.5 kB / 0.558 GB, free: 3.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.3554, allocations: 0 / 0.558 GB, free: 3.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003857/0.3558, allocations: 172.2 kB / 0.5582 GB, free: 3.785 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.3559, allocations: 63.39 kB / 0.5582 GB, free: 3.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.3569, allocations: 0.7473 MB / 0.5589 GB, free: 2.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.357, allocations: 25.7 kB / 0.559 GB, free: 2.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.357, allocations: 132 kB / 0.5591 GB, free: 2.793 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.3571, allocations: 23.73 kB / 0.5591 GB, free: 2.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.3571, allocations: 0 / 0.5591 GB, free: 2.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3572, allocations: 354.8 kB / 0.5595 GB, free: 2.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.3573, allocations: 8 kB / 0.5595 GB, free: 2.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.808e-05/0.3573, allocations: 15.94 kB / 0.5595 GB, free: 2.391 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.699e-05/0.3573, allocations: 12 kB / 0.5595 GB, free: 2.379 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3573, allocations: 3.984 kB / 0.5595 GB, free: 2.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001352/0.3575, allocations: 93.14 kB / 0.5596 GB, free: 2.277 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3575, allocations: 4 kB / 0.5596 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3575, allocations: 4.188 kB / 0.5596 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3575, allocations: 0 / 0.5596 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.3576, allocations: 19.98 kB / 0.5596 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3576, allocations: 0 / 0.5596 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.3577, allocations: 15.91 kB / 0.5596 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3577, allocations: 3.984 kB / 0.5596 GB, free: 2.23 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 6.196e-05/0.3578, allocations: 102.5 kB / 0.5597 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.3579, allocations: 43.44 kB / 0.5598 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.3581, allocations: 121 kB / 0.5599 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3581, allocations: 0 / 0.5599 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3581, allocations: 4 kB / 0.5599 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3581, allocations: 0 / 0.5599 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.3587, allocations: 0.538 MB / 0.5604 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3587, allocations: 0 / 0.5604 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.3588, allocations: 19.92 kB / 0.5604 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3588, allocations: 0 / 0.5604 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.3588, allocations: 0 / 0.5604 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3588, allocations: 4 kB / 0.5604 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3588, allocations: 0 / 0.5604 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001634/0.359, allocations: 187 kB / 0.5606 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.3592, allocations: 160.5 kB / 0.5608 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.3592, allocations: 4 kB / 0.5608 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.3593, allocations: 11.98 kB / 0.5608 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.3594, allocations: 4 kB / 0.5608 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.3594, allocations: 4.188 kB / 0.5608 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005863/0.36, allocations: 0.6082 MB / 0.5614 GB, free: 348 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002876/0.3603, allocations: 55.94 kB / 0.5614 GB, free: 292 kB / 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.0006132/0.3609, allocations: 302.8 kB / 0.5617 GB, free: 24 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.421e-05/0.361, allocations: 24 kB / 0.5618 GB, free: 0 / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.361, allocations: 4.047 kB / 0.5618 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.742e-05/0.3611, allocations: 16 kB / 0.5618 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.3613, allocations: 33.66 kB / 0.5618 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.3624, allocations: 0.6996 MB / 0.5625 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/0.3629, allocations: 0.8528 MB / 0.5633 GB, free: 14.32 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3629, allocations: 0 / 0.5633 GB, free: 14.32 MB / 410.7 MB Notification: Performance of Templates: time 0.004976/0.3679, allocations: 2.179 MB / 0.5654 GB, free: 12.14 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches