Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") [: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.0009303/0.0009303, allocations: 183.2 kB / 8.52 MB, free: 1.785 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.321/1.321, allocations: 221.4 MB / 230.3 MB, free: 7.68 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.001008/0.001008, allocations: 80.75 kB / 281.2 MB, free: 5.504 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.1837/0.1837, allocations: 44.15 MB / 376.1 MB, free: 3.172 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.55e-05/1.596e-05, allocations: 4 kB / 444 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1297, allocations: 61.91 MB / 0.4941 GB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3185/0.4483, allocations: 89.8 MB / 0.5818 GB, free: 6.895 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001813/0.4485, allocations: 63.97 kB / 0.5818 GB, free: 6.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02121/0.4697, allocations: 8.274 MB / 0.5899 GB, free: 14.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.577e-05/0.4698, allocations: 4 kB / 0.5899 GB, free: 14.55 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005497/0.4703, allocations: 0.5442 MB / 0.5905 GB, free: 13.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.4704, allocations: 19.97 kB / 0.5905 GB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.919e-05/0.4704, allocations: 35.53 kB / 0.5905 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.4709, allocations: 349 kB / 0.5908 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.4709, allocations: 3.984 kB / 0.5908 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.471, allocations: 8 kB / 0.5909 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000139/0.4711, allocations: 48 kB / 0.5909 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.4713, allocations: 89.59 kB / 0.591 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4713, allocations: 3.938 kB / 0.591 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4713, allocations: 0 / 0.591 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4713, allocations: 4 kB / 0.591 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.4719, allocations: 480.7 kB / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.472, allocations: 73.92 kB / 0.5915 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/0.4721, allocations: 29.02 kB / 0.5915 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.4721, allocations: 11.98 kB / 0.5916 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.4721, allocations: 34.56 kB / 0.5916 GB, free: 12.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.4721, allocations: 0 / 0.5916 GB, free: 12.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006285/0.4728, allocations: 310.2 kB / 0.5919 GB, free: 12.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.4728, allocations: 55.41 kB / 0.5919 GB, free: 12.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.4733, allocations: 469 kB / 0.5924 GB, free: 11.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.4734, allocations: 29.7 kB / 0.5924 GB, free: 11.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.4734, allocations: 136.4 kB / 0.5925 GB, free: 11.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.4735, allocations: 51.11 kB / 0.5926 GB, free: 11.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.4735, allocations: 0 / 0.5926 GB, free: 11.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4737, allocations: 350.8 kB / 0.5929 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.055e-05/0.4737, allocations: 36 kB / 0.593 GB, free: 11.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.569e-05/0.4738, allocations: 43.98 kB / 0.593 GB, free: 11.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.174e-05/0.4739, allocations: 39.98 kB / 0.593 GB, free: 11.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.4739, allocations: 0 / 0.593 GB, free: 11.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000219/0.4741, allocations: 166 kB / 0.5932 GB, free: 11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.4741, allocations: 4 kB / 0.5932 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4741, allocations: 7.938 kB / 0.5932 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.4741, allocations: 3.938 kB / 0.5932 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.4743, allocations: 31.98 kB / 0.5932 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4743, allocations: 3.906 kB / 0.5933 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.745e-05/0.4744, allocations: 15.98 kB / 0.5933 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.4744, allocations: 8 kB / 0.5933 GB, free: 10.92 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 (17): * Single equations (assignments): 17 * 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.936e-05/0.4745, allocations: 104.9 kB / 0.5934 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.4746, allocations: 43.44 kB / 0.5934 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.4749, allocations: 211.5 kB / 0.5936 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.475, allocations: 0 / 0.5936 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.475, allocations: 4 kB / 0.5936 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.475, allocations: 4 kB / 0.5936 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007009/0.4757, allocations: 0.608 MB / 0.5942 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4757, allocations: 0 / 0.5942 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.4758, allocations: 39.98 kB / 0.5943 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.4758, allocations: 0 / 0.5943 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.4759, allocations: 7.938 kB / 0.5943 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.4759, allocations: 11.92 kB / 0.5943 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4759, allocations: 0 / 0.5943 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002786/0.4762, allocations: 265.2 kB / 0.5945 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.4763, allocations: 144.6 kB / 0.5947 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.4764, allocations: 0 / 0.5947 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.4765, allocations: 12 kB / 0.5947 GB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.4765, allocations: 7.984 kB / 0.5947 GB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.4765, allocations: 11.98 kB / 0.5947 GB, free: 9.371 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004018/0.4769, allocations: 371.2 kB / 0.5951 GB, free: 9.008 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003379/0.4773, allocations: 67.83 kB / 0.5951 GB, free: 8.941 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 (17): * Single equations (assignments): 17 * 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.001024/0.4783, allocations: 0.4988 MB / 0.5956 GB, free: 8.562 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.4785, allocations: 107.9 kB / 0.5957 GB, free: 8.457 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4785, allocations: 0 / 0.5957 GB, free: 8.457 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.4786, allocations: 63.94 kB / 0.5958 GB, free: 8.395 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.4791, allocations: 59.53 kB / 0.5958 GB, free: 8.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009039/0.48, allocations: 0.5002 MB / 0.5963 GB, free: 7.816 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005242/0.4805, allocations: 0.8487 MB / 0.5971 GB, free: 6.941 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4805, allocations: 4 kB / 0.5971 GB, free: 6.938 MB / 410.7 MB Notification: Performance of Templates: time 0.007096/0.4876, allocations: 3.55 MB / 0.6006 GB, free: 3.402 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches