Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,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.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.00105/0.00105, allocations: 179 kB / 8.522 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.227/1.227, allocations: 221.4 MB / 230.3 MB, free: 7.672 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.0008648/0.0008648, allocations: 93.73 kB / 281.2 MB, free: 5.461 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.1918/0.1918, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.037e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1167, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3514/0.4682, allocations: 87.97 MB / 0.58 GB, free: 8.785 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.4685, allocations: 74.95 kB / 0.5801 GB, free: 8.746 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01694/0.4855, allocations: 6.101 MB / 0.586 GB, free: 2.699 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.4855, allocations: 0 / 0.586 GB, free: 2.699 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.0004535/0.486, allocations: 410 kB / 0.5864 GB, free: 2.258 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4861, allocations: 17.47 kB / 0.5864 GB, free: 2.242 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.4861, allocations: 7.906 kB / 0.5864 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.4863, allocations: 197.8 kB / 0.5866 GB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.4864, allocations: 3.906 kB / 0.5866 GB, free: 2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.4864, allocations: 4 kB / 0.5866 GB, free: 1.996 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.656e-05/0.4865, allocations: 15.94 kB / 0.5867 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.4866, allocations: 59.39 kB / 0.5867 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4866, allocations: 0 / 0.5867 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4866, allocations: 0 / 0.5867 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4866, allocations: 0 / 0.5867 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.487, allocations: 273.3 kB / 0.587 GB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.903e-05/0.4871, allocations: 30.52 kB / 0.587 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.4871, allocations: 16.86 kB / 0.587 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.4871, allocations: 0 / 0.587 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.4872, allocations: 34.64 kB / 0.587 GB, free: 1.504 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4872, allocations: 4 kB / 0.5871 GB, free: 1.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004804/0.4876, allocations: 129.3 kB / 0.5872 GB, free: 1.367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.507e-05/0.4877, allocations: 81.05 kB / 0.5873 GB, free: 1.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.4879, allocations: 129.2 kB / 0.5874 GB, free: 1.133 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.4879, allocations: 29.7 kB / 0.5874 GB, free: 1.098 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.488, allocations: 92.12 kB / 0.5875 GB, free: 1.004 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.488, allocations: 11.72 kB / 0.5875 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.488, allocations: 0 / 0.5875 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4881, allocations: 322.8 kB / 0.5878 GB, free: 0.668 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-05/0.4881, allocations: 12 kB / 0.5878 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.722e-05/0.4882, allocations: 29.78 kB / 0.5879 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.4882, allocations: 24.08 kB / 0.5879 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4882, allocations: 3.906 kB / 0.5879 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001088/0.4883, allocations: 73.55 kB / 0.5879 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.4884, allocations: 4 kB / 0.588 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4884, allocations: 3.984 kB / 0.588 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.4884, allocations: 0 / 0.588 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.4885, allocations: 27.92 kB / 0.588 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.4886, allocations: 4 kB / 0.588 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.442e-05/0.4886, allocations: 19.92 kB / 0.588 GB, free: 468 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.4886, allocations: 0 / 0.588 GB, free: 468 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.083e-05/0.4887, allocations: 108.9 kB / 0.5881 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.4888, allocations: 7.906 kB / 0.5881 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.4889, allocations: 90.08 kB / 0.5882 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.489, allocations: 0 / 0.5882 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.489, allocations: 0 / 0.5882 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.489, allocations: 0 / 0.5882 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.4893, allocations: 331 kB / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4894, allocations: 0 / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.977e-05/0.4895, allocations: 27.98 kB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4895, allocations: 0 / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.4895, allocations: 0 / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.4895, allocations: 8 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4895, allocations: 4.375 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001517/0.4897, allocations: 171.4 kB / 0.5887 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.4897, allocations: 85.02 kB / 0.5888 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.4898, allocations: 11.91 kB / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.4899, allocations: 11.98 kB / 0.5888 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.4899, allocations: 7.984 kB / 0.5888 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.4899, allocations: 0 / 0.5888 GB, free: 15.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.068e-05/0.49, allocations: 106.2 kB / 0.5889 GB, free: 15.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002867/0.4903, allocations: 32 kB / 0.589 GB, free: 15.39 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.0007274/0.491, allocations: 348.7 kB / 0.5893 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.4912, allocations: 43.92 kB / 0.5893 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4912, allocations: 4 kB / 0.5893 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.962e-05/0.4912, allocations: 24 kB / 0.5894 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.4915, allocations: 4 kB / 0.5894 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.4918, allocations: 115.4 kB / 0.5895 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004357/0.4923, allocations: 0.7153 MB / 0.5902 GB, free: 14.17 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4923, allocations: 0 / 0.5902 GB, free: 14.17 MB / 410.7 MB Notification: Performance of Templates: time 0.004183/0.4965, allocations: 1.506 MB / 0.5916 GB, free: 12.67 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches