Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,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.Test10") [: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.001233/0.001233, allocations: 187.1 kB / 8.52 MB, free: 1.699 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.637 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.0009755/0.0009752, allocations: 90.05 kB / 281.2 MB, free: 5.449 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.1763/0.1763, allocations: 44.15 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.774e-06/7.815e-06, allocations: 224 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1235, allocations: 61.91 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3286/0.4522, allocations: 87.97 MB / 0.58 GB, free: 8.773 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.4525, allocations: 74.64 kB / 0.5801 GB, free: 8.734 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01682/0.4694, allocations: 6.097 MB / 0.586 GB, free: 2.664 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.4694, allocations: 0 / 0.586 GB, free: 2.664 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.0005397/0.47, allocations: 417.9 kB / 0.5864 GB, free: 2.215 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.47, allocations: 13.47 kB / 0.5864 GB, free: 2.203 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.4701, allocations: 7.906 kB / 0.5864 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.4704, allocations: 198.9 kB / 0.5866 GB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.4704, allocations: 3.906 kB / 0.5866 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.4704, allocations: 0 / 0.5866 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.127e-05/0.4705, allocations: 16 kB / 0.5866 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.4706, allocations: 59.41 kB / 0.5867 GB, free: 1.871 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4707, allocations: 3.938 kB / 0.5867 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4707, allocations: 0 / 0.5867 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4707, allocations: 0 / 0.5867 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.4711, allocations: 265.4 kB / 0.587 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.904e-05/0.4712, allocations: 30.67 kB / 0.587 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.4712, allocations: 16.84 kB / 0.587 GB, free: 1.512 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.4713, allocations: 4 kB / 0.587 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.4713, allocations: 34.56 kB / 0.587 GB, free: 1.465 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 3.556e-06/0.4713, allocations: 0 / 0.587 GB, free: 1.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004933/0.4718, allocations: 133.4 kB / 0.5872 GB, free: 1.328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.4719, allocations: 77.11 kB / 0.5872 GB, free: 1.234 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.472, allocations: 136.2 kB / 0.5874 GB, free: 1.094 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.472, allocations: 25.7 kB / 0.5874 GB, free: 1.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.4721, allocations: 88.12 kB / 0.5875 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.4721, allocations: 19.72 kB / 0.5875 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.4721, allocations: 0 / 0.5875 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4722, allocations: 322.8 kB / 0.5878 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.115e-05/0.4723, allocations: 12 kB / 0.5878 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/0.4723, allocations: 29.78 kB / 0.5878 GB, free: 0.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/0.4724, allocations: 23.95 kB / 0.5879 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4724, allocations: 3.906 kB / 0.5879 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001114/0.4725, allocations: 73.58 kB / 0.5879 GB, free: 488 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4725, allocations: 13.03 kB / 0.588 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4725, allocations: 0 / 0.588 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.4725, allocations: 0 / 0.588 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.4727, allocations: 27.98 kB / 0.588 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4727, allocations: 0 / 0.588 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.399e-05/0.4728, allocations: 19.92 kB / 0.588 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.4728, allocations: 0 / 0.588 GB, free: 428 kB / 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 7.812e-05/0.4729, allocations: 101 kB / 0.5881 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.4729, allocations: 7.906 kB / 0.5881 GB, free: 312 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.4731, allocations: 94 kB / 0.5882 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4731, allocations: 0 / 0.5882 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.4731, allocations: 4 kB / 0.5882 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.4731, allocations: 3.938 kB / 0.5882 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003721/0.4735, allocations: 323 kB / 0.5885 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4735, allocations: 3.938 kB / 0.5885 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.4736, allocations: 35.97 kB / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4737, allocations: 0 / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.4737, allocations: 0 / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4737, allocations: 0 / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.4737, allocations: 400 / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002511/0.4739, allocations: 171.4 kB / 0.5887 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.474, allocations: 97 kB / 0.5888 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.4741, allocations: 3.906 kB / 0.5888 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.4742, allocations: 12 kB / 0.5888 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.4742, allocations: 3.984 kB / 0.5888 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.4743, allocations: 4 kB / 0.5888 GB, free: 15.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.344e-05/0.4743, allocations: 107.3 kB / 0.5889 GB, free: 15.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002936/0.4747, allocations: 35.98 kB / 0.589 GB, free: 15.34 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.0008668/0.4755, allocations: 340.6 kB / 0.5893 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.4757, allocations: 44 kB / 0.5893 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4757, allocations: 0 / 0.5893 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.244e-05/0.4758, allocations: 23.94 kB / 0.5894 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.4761, allocations: 15.98 kB / 0.5894 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.4766, allocations: 107.5 kB / 0.5895 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/0.477, allocations: 0.7114 MB / 0.5902 GB, free: 14.14 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.477, allocations: 4 kB / 0.5902 GB, free: 14.13 MB / 410.7 MB Notification: Performance of Templates: time 0.004618/0.4817, allocations: 1.502 MB / 0.5916 GB, free: 12.64 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches