Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2D.Test28,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.Test28") [: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.0009122/0.0009122, allocations: 192.6 kB / 7.807 MB, free: 2.488 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.057/1.057, 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.000862/0.0008619, allocations: 84.3 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.1529/0.1529, allocations: 43.48 MB / 352.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/7.083e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2326, allocations: 58.83 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09616/0.3288, allocations: 86.02 MB / 0.5494 GB, free: 12.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001475/0.329, allocations: 63.97 kB / 0.5495 GB, free: 12.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009714/0.3387, allocations: 3.864 MB / 0.5532 GB, free: 8.992 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.3387, allocations: 8 kB / 0.5532 GB, free: 8.984 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.0003416/0.3391, allocations: 390.1 kB / 0.5536 GB, free: 8.559 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.3391, allocations: 12.03 kB / 0.5536 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.3391, allocations: 7.906 kB / 0.5536 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.3394, allocations: 202.6 kB / 0.5538 GB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3394, allocations: 11.17 kB / 0.5538 GB, free: 8.293 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.3394, allocations: 3.984 kB / 0.5538 GB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.15e-05/0.3395, allocations: 20 kB / 0.5539 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.463e-05/0.3396, allocations: 41.64 kB / 0.5539 GB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3396, allocations: 0 / 0.5539 GB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3396, allocations: 3.984 kB / 0.5539 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3397, allocations: 4 kB / 0.5539 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.34, allocations: 269.4 kB / 0.5542 GB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.369e-05/0.3401, allocations: 30.58 kB / 0.5542 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.3401, allocations: 12.86 kB / 0.5542 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.3402, allocations: 3.938 kB / 0.5542 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3402, allocations: 46.45 kB / 0.5542 GB, free: 7.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3402, allocations: 0 / 0.5542 GB, free: 7.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004469/0.3407, allocations: 141.4 kB / 0.5544 GB, free: 7.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.3407, allocations: 55.41 kB / 0.5544 GB, free: 7.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.3409, allocations: 164.2 kB / 0.5546 GB, free: 7.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.3409, allocations: 25.7 kB / 0.5546 GB, free: 7.395 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.3409, allocations: 96.12 kB / 0.5547 GB, free: 7.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.341, allocations: 23.66 kB / 0.5547 GB, free: 7.273 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.341, allocations: 0 / 0.5547 GB, free: 7.273 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.3411, allocations: 326.7 kB / 0.555 GB, free: 6.945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.929e-05/0.3411, allocations: 15.94 kB / 0.5551 GB, free: 6.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.458e-05/0.3411, allocations: 12 kB / 0.5551 GB, free: 6.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.3412, allocations: 23.98 kB / 0.5551 GB, free: 6.895 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-07/0.3412, allocations: 0 / 0.5551 GB, free: 6.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001152/0.3413, allocations: 69.81 kB / 0.5552 GB, free: 6.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.3413, allocations: 10.81 kB / 0.5552 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3413, allocations: 0 / 0.5552 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3414, allocations: 0 / 0.5552 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.3415, allocations: 35.92 kB / 0.5552 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.3415, allocations: 0 / 0.5552 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.987e-05/0.3416, allocations: 19.89 kB / 0.5552 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.3416, allocations: 0 / 0.5552 GB, free: 6.758 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.396e-05/0.3416, allocations: 106.3 kB / 0.5553 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.3417, allocations: 11.84 kB / 0.5553 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.3418, allocations: 94.06 kB / 0.5554 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3419, allocations: 0 / 0.5554 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3419, allocations: 0 / 0.5554 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3419, allocations: 0 / 0.5554 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.3422, allocations: 347 kB / 0.5558 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3422, allocations: 3.906 kB / 0.5558 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-05/0.3423, allocations: 27.98 kB / 0.5558 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3423, allocations: 0 / 0.5558 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3423, allocations: 0 / 0.5558 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3423, allocations: 0 / 0.5558 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3423, allocations: 0 / 0.5558 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001311/0.3425, allocations: 171.3 kB / 0.5559 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.3425, allocations: 93.02 kB / 0.556 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.3426, allocations: 4 kB / 0.556 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.3427, allocations: 15.98 kB / 0.5561 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.3427, allocations: 3.984 kB / 0.5561 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3427, allocations: 8 kB / 0.5561 GB, free: 5.805 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001106/0.3428, allocations: 148 kB / 0.5562 GB, free: 5.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.3431, allocations: 23.91 kB / 0.5562 GB, free: 5.637 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.0005559/0.3436, allocations: 302.7 kB / 0.5565 GB, free: 5.371 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.446e-05/0.3437, allocations: 36 kB / 0.5566 GB, free: 5.336 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.3438, allocations: 0 / 0.5566 GB, free: 5.336 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.908e-05/0.3438, allocations: 27.94 kB / 0.5566 GB, free: 5.309 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.344, allocations: 11.27 kB / 0.5566 GB, free: 5.301 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.3443, allocations: 163.1 kB / 0.5567 GB, free: 5.117 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.3446, allocations: 0.727 MB / 0.5575 GB, free: 4.363 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3446, allocations: 3.938 kB / 0.5575 GB, free: 4.359 MB / 394.7 MB Notification: Performance of Templates: time 0.003082/0.3477, allocations: 1.326 MB / 0.5588 GB, free: 3.043 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches