Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,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.Test14") [: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.001429/0.001429, allocations: 178.7 kB / 8.519 MB, free: 1.859 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.292/1.292, allocations: 221.4 MB / 230.3 MB, free: 7.648 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.0008557/0.0008557, allocations: 81.92 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.1846/0.1846, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.173e-06/7.203e-06, allocations: 4.219 kB / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1325, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3486/0.4812, allocations: 88.43 MB / 0.5804 GB, free: 8.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.4815, allocations: 73.95 kB / 0.5805 GB, free: 8.285 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01671/0.4982, allocations: 6.196 MB / 0.5866 GB, free: 2.137 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.4982, allocations: 0 / 0.5866 GB, free: 2.137 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.0004162/0.4987, allocations: 406.2 kB / 0.587 GB, free: 1.695 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4987, allocations: 17.47 kB / 0.587 GB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.4988, allocations: 11.75 kB / 0.587 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.499, allocations: 198.9 kB / 0.5872 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.499, allocations: 4 kB / 0.5872 GB, free: 1.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.499, allocations: 3.938 kB / 0.5872 GB, free: 1.426 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.351e-05/0.4991, allocations: 23.98 kB / 0.5872 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.4992, allocations: 63.41 kB / 0.5873 GB, free: 1.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4993, allocations: 0 / 0.5873 GB, free: 1.328 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4993, allocations: 0 / 0.5873 GB, free: 1.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.4993, allocations: 0 / 0.5873 GB, free: 1.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.4997, allocations: 289.3 kB / 0.5875 GB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.419e-05/0.4998, allocations: 34.56 kB / 0.5876 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.4998, allocations: 16.86 kB / 0.5876 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.4999, allocations: 3.906 kB / 0.5876 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.4999, allocations: 42.56 kB / 0.5876 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4999, allocations: 3.938 kB / 0.5876 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004631/0.5004, allocations: 149.4 kB / 0.5878 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.5004, allocations: 85.11 kB / 0.5879 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.5005, allocations: 127.2 kB / 0.588 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.5005, allocations: 25.7 kB / 0.588 GB, free: 476 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.5006, allocations: 99.97 kB / 0.5881 GB, free: 372 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.5006, allocations: 19.72 kB / 0.5881 GB, free: 352 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.5006, allocations: 0 / 0.5881 GB, free: 352 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.5007, allocations: 322.8 kB / 0.5884 GB, free: 20 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.292e-05/0.5008, allocations: 12 kB / 0.5884 GB, free: 8 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.5008, allocations: 45.77 kB / 0.5885 GB, free: 15.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.839e-05/0.5009, allocations: 23.98 kB / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5009, allocations: 0 / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001273/0.501, allocations: 85.53 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.5011, allocations: 4 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5011, allocations: 0 / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.5011, allocations: 4 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.5012, allocations: 24.02 kB / 0.5886 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5012, allocations: 7.984 kB / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.114e-05/0.5013, allocations: 8 kB / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.5013, allocations: 4 kB / 0.5886 GB, free: 15.79 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 6.847e-05/0.5014, allocations: 112.8 kB / 0.5887 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.5015, allocations: 11.89 kB / 0.5888 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.5016, allocations: 102.1 kB / 0.5889 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5016, allocations: 0 / 0.5889 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5017, allocations: 4 kB / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.5017, allocations: 3.984 kB / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.502, allocations: 343.3 kB / 0.5892 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.502, allocations: 0 / 0.5892 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.824e-05/0.5021, allocations: 31.92 kB / 0.5892 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.5021, allocations: 144 / 0.5892 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.5022, allocations: 3.938 kB / 0.5892 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5022, allocations: 4 kB / 0.5892 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5022, allocations: 0 / 0.5892 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001596/0.5023, allocations: 199.4 kB / 0.5894 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.5024, allocations: 92.94 kB / 0.5895 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.5024, allocations: 0 / 0.5895 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.5025, allocations: 15.98 kB / 0.5895 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.5026, allocations: 4 kB / 0.5895 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.5026, allocations: 4 kB / 0.5895 GB, free: 14.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.615e-05/0.5026, allocations: 109.5 kB / 0.5896 GB, free: 14.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002676/0.5029, allocations: 35.89 kB / 0.5897 GB, free: 14.65 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.0006462/0.5036, allocations: 338.6 kB / 0.59 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.5037, allocations: 51.98 kB / 0.59 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5037, allocations: 0 / 0.59 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.689e-05/0.5038, allocations: 27.94 kB / 0.5901 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.504, allocations: 19.92 kB / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.5043, allocations: 119.9 kB / 0.5902 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.5047, allocations: 0.727 MB / 0.5909 GB, free: 13.4 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5047, allocations: 0 / 0.5909 GB, free: 13.4 MB / 410.7 MB Notification: Performance of Templates: time 0.003818/0.5085, allocations: 1.562 MB / 0.5924 GB, free: 11.85 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches