Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001639/0.001639, allocations: 171.8 kB / 8.147 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001258/0.001257, allocations: 90.64 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2561/0.2561, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.376e-06/8.506e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2818, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.4411, allocations: 88.3 MB / 0.5516 GB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.4415, allocations: 71.97 kB / 0.5517 GB, free: 10.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04153/0.4831, allocations: 8.654 MB / 0.5601 GB, free: 2.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.866e-05/0.4831, allocations: 8 kB / 0.5601 GB, free: 2.012 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008695/0.484, allocations: 0.5564 MB / 0.5607 GB, free: 1.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.4841, allocations: 15.97 kB / 0.5607 GB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.4842, allocations: 39.44 kB / 0.5607 GB, free: 1.355 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007985/0.485, allocations: 341.2 kB / 0.5611 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.4851, allocations: 4 kB / 0.5611 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.4851, allocations: 15.91 kB / 0.5611 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003006/0.4854, allocations: 75.91 kB / 0.5611 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.4857, allocations: 96.5 kB / 0.5612 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.4858, allocations: 3.984 kB / 0.5612 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.4858, allocations: 4 kB / 0.5612 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.4858, allocations: 4 kB / 0.5613 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.487, allocations: 0.5007 MB / 0.5617 GB, free: 244 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.4873, allocations: 93.67 kB / 0.5618 GB, free: 144 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.748e-05/0.4874, allocations: 28.86 kB / 0.5619 GB, free: 112 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.4874, allocations: 12.14 kB / 0.5619 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.4875, allocations: 46.39 kB / 0.5619 GB, free: 44 kB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.574e-06/0.4875, allocations: 0 / 0.5619 GB, free: 44 kB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001302/0.4888, allocations: 356 kB / 0.5623 GB, free: 15.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.4889, allocations: 55.41 kB / 0.5623 GB, free: 15.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.4899, allocations: 485 kB / 0.5628 GB, free: 15.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.49, allocations: 25.7 kB / 0.5628 GB, free: 15.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.49, allocations: 158.8 kB / 0.5629 GB, free: 14.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.083e-05/0.4901, allocations: 63.09 kB / 0.563 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.4902, allocations: 0 / 0.563 GB, free: 14.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4903, allocations: 314.8 kB / 0.5633 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.4905, allocations: 59.92 kB / 0.5634 GB, free: 14.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.4906, allocations: 59.97 kB / 0.5634 GB, free: 14.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.4908, allocations: 63.88 kB / 0.5635 GB, free: 14.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4909, allocations: 0 / 0.5635 GB, free: 14.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004851/0.4914, allocations: 173 kB / 0.5636 GB, free: 14.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4914, allocations: 4 kB / 0.5636 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4914, allocations: 0 / 0.5636 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.4914, allocations: 0 / 0.5636 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.4918, allocations: 39.92 kB / 0.5637 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.4918, allocations: 7.984 kB / 0.5637 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.552e-05/0.4919, allocations: 7.938 kB / 0.5637 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.4919, allocations: 7.938 kB / 0.5637 GB, free: 14.16 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 8.179e-05/0.492, allocations: 31.02 kB / 0.5637 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.4922, allocations: 39.53 kB / 0.5638 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008841/0.4931, allocations: 265.2 kB / 0.564 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.4932, allocations: 7.938 kB / 0.564 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.4932, allocations: 7.891 kB / 0.564 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4932, allocations: 0 / 0.564 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.4949, allocations: 0.6704 MB / 0.5647 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.495, allocations: 0 / 0.5647 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.4953, allocations: 39.98 kB / 0.5647 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.567e-06/0.4953, allocations: 0 / 0.5647 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.4954, allocations: 4 kB / 0.5647 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.4954, allocations: 0 / 0.5647 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4954, allocations: 0 / 0.5647 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006706/0.4961, allocations: 314.2 kB / 0.565 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.4963, allocations: 144.6 kB / 0.5652 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.782e-05/0.4964, allocations: 4 kB / 0.5652 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.4967, allocations: 4 kB / 0.5652 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.4968, allocations: 15.89 kB / 0.5652 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.4968, allocations: 8 kB / 0.5652 GB, free: 12.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0008129/0.4976, allocations: 379.1 kB / 0.5656 GB, free: 12.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005413/0.4982, allocations: 63.92 kB / 0.5656 GB, free: 12.09 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.001514/0.4997, allocations: 0.5012 MB / 0.5661 GB, free: 11.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004757/0.5002, allocations: 139.9 kB / 0.5663 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.5003, allocations: 0 / 0.5663 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.5005, allocations: 79.86 kB / 0.5663 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007864/0.5013, allocations: 61.47 kB / 0.5664 GB, free: 11.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.5033, allocations: 0.5823 MB / 0.567 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000837/0.5041, allocations: 0.8681 MB / 0.5678 GB, free: 9.863 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.5042, allocations: 0 / 0.5678 GB, free: 9.863 MB / 410.7 MB Notification: Performance of Templates: time 0.01339/0.5176, allocations: 4.965 MB / 0.5727 GB, free: 4.891 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches