Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [: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 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 180.1 kB / 8.515 MB, free: 1.848 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 221.4 MB / 230.3 MB, free: 7.668 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009544/0.0009545, allocations: 89.66 kB / 281.2 MB, free: 5.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1797/0.1797, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.973e-06, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 61.9 MB / 0.4941 GB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.325/0.455, allocations: 87.64 MB / 0.5797 GB, free: 9.109 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.4553, allocations: 72.89 kB / 0.5797 GB, free: 9.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01672/0.472, allocations: 7.428 MB / 0.587 GB, free: 1.672 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.4721, allocations: 4 kB / 0.587 GB, free: 1.668 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.0005516/0.4726, allocations: 0.5626 MB / 0.5875 GB, free: 1.062 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4727, allocations: 13.47 kB / 0.5876 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.009e-05/0.4728, allocations: 39.44 kB / 0.5876 GB, free: 1.012 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.4732, allocations: 331.2 kB / 0.5879 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.4732, allocations: 0 / 0.5879 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.4733, allocations: 4 kB / 0.5879 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.069e-05/0.4734, allocations: 15.98 kB / 0.5879 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.076e-05/0.4735, allocations: 41.7 kB / 0.588 GB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4735, allocations: 0 / 0.588 GB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.4735, allocations: 7.906 kB / 0.588 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4735, allocations: 4 kB / 0.588 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.474, allocations: 405.2 kB / 0.5884 GB, free: 140 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.361e-05/0.4741, allocations: 34.58 kB / 0.5884 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.4742, allocations: 16.95 kB / 0.5884 GB, free: 76 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.4742, allocations: 7.984 kB / 0.5884 GB, free: 68 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.4742, allocations: 30.56 kB / 0.5885 GB, free: 28 kB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4742, allocations: 0 / 0.5885 GB, free: 28 kB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005564/0.4748, allocations: 216 kB / 0.5887 GB, free: 15.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.4748, allocations: 55.41 kB / 0.5887 GB, free: 15.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.4759, allocations: 0.755 MB / 0.5894 GB, free: 14.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.4759, allocations: 29.7 kB / 0.5895 GB, free: 14.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/0.476, allocations: 132 kB / 0.5896 GB, free: 14.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.4761, allocations: 19.72 kB / 0.5896 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.4761, allocations: 0 / 0.5896 GB, free: 14.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4762, allocations: 362.6 kB / 0.59 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.418e-05/0.4763, allocations: 20 kB / 0.59 GB, free: 14.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.4763, allocations: 12 kB / 0.59 GB, free: 14.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.526e-05/0.4764, allocations: 12.84 kB / 0.59 GB, free: 14.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.4764, allocations: 0 / 0.59 GB, free: 14.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001648/0.4765, allocations: 105.1 kB / 0.5901 GB, free: 14.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4766, allocations: 8 kB / 0.5901 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4766, allocations: 0 / 0.5901 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.4766, allocations: 0 / 0.5901 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.4767, allocations: 39.91 kB / 0.5902 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4768, allocations: 4.219 kB / 0.5902 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.422e-05/0.4769, allocations: 8 kB / 0.5902 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.4769, allocations: 7.938 kB / 0.5902 GB, free: 14.21 MB / 410.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 8.131e-05/0.477, allocations: 109 kB / 0.5903 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/0.4771, allocations: 43.44 kB / 0.5903 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.4773, allocations: 129.5 kB / 0.5904 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4773, allocations: 0 / 0.5904 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.4773, allocations: 4 kB / 0.5904 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4773, allocations: 3.938 kB / 0.5905 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006968/0.478, allocations: 0.5535 MB / 0.591 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4781, allocations: 0 / 0.591 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.951e-05/0.4782, allocations: 27.97 kB / 0.591 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4782, allocations: 4 kB / 0.591 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.4782, allocations: 0 / 0.591 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4782, allocations: 0 / 0.591 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4782, allocations: 0 / 0.591 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002035/0.4784, allocations: 214.8 kB / 0.5912 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.4786, allocations: 160.6 kB / 0.5914 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.4787, allocations: 3.906 kB / 0.5914 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.4788, allocations: 15.98 kB / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.4788, allocations: 0 / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.4789, allocations: 7.984 kB / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005927/0.4795, allocations: 0.6082 MB / 0.592 GB, free: 12.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002938/0.4798, allocations: 55.98 kB / 0.5921 GB, free: 12.2 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.000612/0.4804, allocations: 313.2 kB / 0.5924 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.4805, allocations: 43.92 kB / 0.5924 GB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4805, allocations: 0 / 0.5924 GB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.4806, allocations: 24 kB / 0.5924 GB, free: 11.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.4808, allocations: 25.95 kB / 0.5924 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.482, allocations: 0.7123 MB / 0.5931 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005303/0.4825, allocations: 0.845 MB / 0.594 GB, free: 10.26 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4825, allocations: 0 / 0.594 GB, free: 10.26 MB / 410.7 MB Notification: Performance of Templates: time 0.005523/0.488, allocations: 2.306 MB / 0.5962 GB, free: 7.945 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches