Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,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.Test3") [: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.0008714/0.0008714, allocations: 187.8 kB / 7.804 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.085/1.085, 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.0008075/0.0008073, allocations: 89.98 kB / 261.4 MB, free: 13.54 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.1582/0.1582, allocations: 43.5 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.851e-06/5.861e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2447, allocations: 58.83 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3504, allocations: 86.02 MB / 0.5494 GB, free: 12.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000164/0.3506, allocations: 75.95 kB / 0.5495 GB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01643/0.367, allocations: 7.551 MB / 0.5568 GB, free: 5.289 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.3671, allocations: 7.984 kB / 0.5568 GB, free: 5.281 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.0005135/0.3676, allocations: 0.552 MB / 0.5574 GB, free: 4.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3676, allocations: 11.2 kB / 0.5574 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.716e-05/0.3677, allocations: 43.44 kB / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.3682, allocations: 331.3 kB / 0.5577 GB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3682, allocations: 11.94 kB / 0.5578 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.3682, allocations: 0 / 0.5578 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.316e-05/0.3683, allocations: 12 kB / 0.5578 GB, free: 4.242 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.242e-05/0.3684, allocations: 45.69 kB / 0.5578 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3684, allocations: 3.906 kB / 0.5578 GB, free: 4.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.3684, allocations: 3.938 kB / 0.5578 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3684, allocations: 3.984 kB / 0.5578 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.3689, allocations: 413.2 kB / 0.5582 GB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.724e-05/0.369, allocations: 34.52 kB / 0.5583 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.369, allocations: 12.86 kB / 0.5583 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.369, allocations: 0 / 0.5583 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.3691, allocations: 30.56 kB / 0.5583 GB, free: 3.641 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3691, allocations: 4 kB / 0.5583 GB, free: 3.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004851/0.3696, allocations: 220.1 kB / 0.5585 GB, free: 3.414 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.3696, allocations: 55.34 kB / 0.5586 GB, free: 3.348 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.3707, allocations: 0.7473 MB / 0.5593 GB, free: 2.594 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3707, allocations: 25.7 kB / 0.5593 GB, free: 2.562 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.3708, allocations: 148 kB / 0.5595 GB, free: 2.414 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.3708, allocations: 15.72 kB / 0.5595 GB, free: 2.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.3708, allocations: 0 / 0.5595 GB, free: 2.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.3709, allocations: 366.8 kB / 0.5598 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.3709, allocations: 12 kB / 0.5598 GB, free: 2.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.371, allocations: 12 kB / 0.5598 GB, free: 2.008 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.107e-05/0.371, allocations: 16 kB / 0.5599 GB, free: 1.992 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.371, allocations: 0 / 0.5599 GB, free: 1.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00015/0.3712, allocations: 101.1 kB / 0.56 GB, free: 1.887 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.3712, allocations: 11.94 kB / 0.56 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3712, allocations: 0 / 0.56 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3712, allocations: 3.906 kB / 0.56 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3713, allocations: 27.92 kB / 0.56 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.3714, allocations: 0 / 0.56 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.169e-05/0.3715, allocations: 19.98 kB / 0.56 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3715, allocations: 4 kB / 0.56 GB, free: 1.82 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.461e-05/0.3715, allocations: 106.4 kB / 0.5601 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.3716, allocations: 39.44 kB / 0.5602 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.3718, allocations: 129.8 kB / 0.5603 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3718, allocations: 0 / 0.5603 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3718, allocations: 4 kB / 0.5603 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3719, allocations: 0 / 0.5603 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006483/0.3725, allocations: 0.5612 MB / 0.5608 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3725, allocations: 0 / 0.5608 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.71e-05/0.3726, allocations: 27.98 kB / 0.5609 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3726, allocations: 4 kB / 0.5609 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.3726, allocations: 0 / 0.5609 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3726, allocations: 0 / 0.5609 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3727, allocations: 7.906 kB / 0.5609 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001815/0.3728, allocations: 202.9 kB / 0.5611 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.373, allocations: 164.5 kB / 0.5612 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.3731, allocations: 3.984 kB / 0.5612 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.3732, allocations: 16 kB / 0.5612 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.3733, allocations: 7.984 kB / 0.5612 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3733, allocations: 4 kB / 0.5613 GB, free: 476 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.000577/0.3738, allocations: 0.6082 MB / 0.5618 GB, free: 15.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002754/0.3741, allocations: 60 kB / 0.5619 GB, free: 15.8 MB / 410.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.0005376/0.3747, allocations: 298.7 kB / 0.5622 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.681e-05/0.3748, allocations: 43.92 kB / 0.5622 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.3748, allocations: 0 / 0.5622 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.964e-05/0.3748, allocations: 27.98 kB / 0.5623 GB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.3751, allocations: 25.75 kB / 0.5623 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.3761, allocations: 0.7124 MB / 0.563 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/0.3765, allocations: 0.8644 MB / 0.5638 GB, free: 13.81 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3765, allocations: 0 / 0.5638 GB, free: 13.81 MB / 410.7 MB Notification: Performance of Templates: time 0.005198/0.3818, allocations: 2.304 MB / 0.5661 GB, free: 11.5 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches