Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [: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.0009165/0.0009168, allocations: 179.1 kB / 8.52 MB, free: 1.84 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.239/1.239, 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.001083/0.001084, allocations: 88 kB / 281.2 MB, free: 5.469 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.1758/0.1758, allocations: 44.14 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.933e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 61.91 MB / 0.4941 GB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3227/0.4558, allocations: 88.42 MB / 0.5804 GB, free: 8.324 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.4562, allocations: 74.88 kB / 0.5805 GB, free: 8.285 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0177/0.4739, allocations: 6.196 MB / 0.5866 GB, free: 2.168 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.474, allocations: 3.938 kB / 0.5866 GB, free: 2.164 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.0005009/0.4745, allocations: 414.2 kB / 0.587 GB, free: 1.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.4745, allocations: 13.47 kB / 0.587 GB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.425e-05/0.4746, allocations: 15.81 kB / 0.587 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.4749, allocations: 193.8 kB / 0.5872 GB, free: 1.461 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.4749, allocations: 4 kB / 0.5872 GB, free: 1.457 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.4749, allocations: 0 / 0.5872 GB, free: 1.457 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.673e-05/0.475, allocations: 16 kB / 0.5872 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.4751, allocations: 79.31 kB / 0.5873 GB, free: 1.352 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4752, allocations: 0 / 0.5873 GB, free: 1.352 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.4752, allocations: 0 / 0.5873 GB, free: 1.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.4752, allocations: 0 / 0.5873 GB, free: 1.352 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.4756, allocations: 285.3 kB / 0.5875 GB, free: 1.035 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.257e-05/0.4757, allocations: 34.58 kB / 0.5876 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.4758, allocations: 16.86 kB / 0.5876 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.4758, allocations: 7.984 kB / 0.5876 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.4758, allocations: 42.5 kB / 0.5876 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.4758, allocations: 3.938 kB / 0.5876 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005552/0.4764, allocations: 137.4 kB / 0.5878 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.4765, allocations: 81.11 kB / 0.5878 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.4766, allocations: 131.4 kB / 0.588 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.4766, allocations: 25.7 kB / 0.588 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.4767, allocations: 99.97 kB / 0.5881 GB, free: 412 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.4767, allocations: 19.72 kB / 0.5881 GB, free: 392 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-06/0.4767, allocations: 0 / 0.5881 GB, free: 392 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4769, allocations: 322.8 kB / 0.5884 GB, free: 60 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.594e-05/0.4769, allocations: 16 kB / 0.5884 GB, free: 44 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.386e-05/0.477, allocations: 49.88 kB / 0.5885 GB, free: 15.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.4e-05/0.477, allocations: 24.02 kB / 0.5885 GB, free: 15.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.477, allocations: 0 / 0.5885 GB, free: 15.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001395/0.4772, allocations: 85.58 kB / 0.5886 GB, free: 15.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.4772, allocations: 4 kB / 0.5886 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4772, allocations: 0 / 0.5886 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4772, allocations: 4 kB / 0.5886 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.4774, allocations: 23.98 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4774, allocations: 4 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.4775, allocations: 11.98 kB / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.4775, allocations: 4 kB / 0.5886 GB, free: 15.82 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.264e-05/0.4776, allocations: 112.8 kB / 0.5887 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.4776, allocations: 11.91 kB / 0.5888 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.4778, allocations: 98.16 kB / 0.5888 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.4778, allocations: 0 / 0.5888 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4779, allocations: 7.938 kB / 0.5889 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4779, allocations: 0 / 0.5889 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.4783, allocations: 351 kB / 0.5892 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4783, allocations: 0 / 0.5892 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.4784, allocations: 27.98 kB / 0.5892 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4784, allocations: 0 / 0.5892 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.4784, allocations: 7.984 kB / 0.5892 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4784, allocations: 400 / 0.5892 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4784, allocations: 144 / 0.5892 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001823/0.4786, allocations: 183.3 kB / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.4787, allocations: 104.8 kB / 0.5895 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.4787, allocations: 0 / 0.5895 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4788, allocations: 15.98 kB / 0.5895 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.4789, allocations: 3.984 kB / 0.5895 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.4789, allocations: 4 kB / 0.5895 GB, free: 14.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.158e-05/0.479, allocations: 105.6 kB / 0.5896 GB, free: 14.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002841/0.4793, allocations: 43.83 kB / 0.5897 GB, free: 14.68 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.0007781/0.4801, allocations: 332 kB / 0.59 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.4802, allocations: 55.98 kB / 0.59 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4803, allocations: 4 kB / 0.59 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.764e-05/0.4803, allocations: 31.92 kB / 0.5901 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.4805, allocations: 12 kB / 0.5901 GB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.4809, allocations: 127.8 kB / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003591/0.4813, allocations: 0.7153 MB / 0.5909 GB, free: 13.44 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4813, allocations: 4 kB / 0.5909 GB, free: 13.44 MB / 410.7 MB Notification: Performance of Templates: time 0.004088/0.4854, allocations: 1.563 MB / 0.5924 GB, free: 11.88 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches