Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") [: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 3.2.3+maint.om/package.mo): time 0.0008415/0.0008416, allocations: 190.2 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.044/1.044, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008242/0.0008243, allocations: 85.19 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1524/0.1524, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.164e-06/7.184e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2279, allocations: 58.83 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1062/0.3342, allocations: 85.92 MB / 0.5493 GB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.3345, allocations: 71.97 kB / 0.5494 GB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01479/0.3493, allocations: 7.289 MB / 0.5565 GB, free: 5.637 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.3493, allocations: 11.94 kB / 0.5565 GB, free: 5.625 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004424/0.3498, allocations: 0.5329 MB / 0.557 GB, free: 5.047 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3498, allocations: 11.2 kB / 0.557 GB, free: 5.039 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.3499, allocations: 43.44 kB / 0.5571 GB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.3503, allocations: 323.3 kB / 0.5574 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.3503, allocations: 0 / 0.5574 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.3503, allocations: 4 kB / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.742e-05/0.3504, allocations: 8 kB / 0.5574 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.379e-05/0.3505, allocations: 45.62 kB / 0.5574 GB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3505, allocations: 0 / 0.5574 GB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3505, allocations: 0 / 0.5574 GB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3505, allocations: 4 kB / 0.5574 GB, free: 4.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.351, allocations: 397.3 kB / 0.5578 GB, free: 4.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.733e-05/0.351, allocations: 22.58 kB / 0.5578 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.262e-05/0.3511, allocations: 8.859 kB / 0.5578 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.3511, allocations: 8 kB / 0.5579 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3511, allocations: 42.45 kB / 0.5579 GB, free: 4.043 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3511, allocations: 0 / 0.5579 GB, free: 4.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001695/0.3513, allocations: 77.22 kB / 0.558 GB, free: 3.961 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.3513, allocations: 51.41 kB / 0.558 GB, free: 3.898 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.3523, allocations: 0.7473 MB / 0.5587 GB, free: 3.145 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.3524, allocations: 25.7 kB / 0.5588 GB, free: 3.113 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.3524, allocations: 132 kB / 0.5589 GB, free: 2.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.3525, allocations: 11.89 kB / 0.5589 GB, free: 2.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.3525, allocations: 4.031 kB / 0.5589 GB, free: 2.965 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3526, allocations: 362.8 kB / 0.5593 GB, free: 2.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.3526, allocations: 4 kB / 0.5593 GB, free: 2.598 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.044e-05/0.3526, allocations: 4 kB / 0.5593 GB, free: 2.594 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.679e-05/0.3526, allocations: 4 kB / 0.5593 GB, free: 2.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.3526, allocations: 0 / 0.5593 GB, free: 2.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.936e-05/0.3528, allocations: 85.06 kB / 0.5593 GB, free: 2.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.3528, allocations: 11.94 kB / 0.5594 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3528, allocations: 4.094 kB / 0.5594 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.3528, allocations: 0 / 0.5594 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.3529, allocations: 4 kB / 0.5594 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.3529, allocations: 0 / 0.5594 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.3529, allocations: 4 kB / 0.5594 GB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.353, allocations: 0 / 0.5594 GB, free: 2.477 MB / 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 (2): * Single equations (assignments): 2 * 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 5.503e-05/0.353, allocations: 108.9 kB / 0.5595 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.3531, allocations: 43.42 kB / 0.5595 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.3532, allocations: 96.69 kB / 0.5596 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3533, allocations: 0 / 0.5596 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3533, allocations: 0 / 0.5596 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3533, allocations: 4 kB / 0.5596 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.3535, allocations: 309.9 kB / 0.5599 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3535, allocations: 0 / 0.5599 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.3536, allocations: 4 kB / 0.5599 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.3536, allocations: 0 / 0.5599 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.3536, allocations: 4.031 kB / 0.5599 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.3536, allocations: 4 kB / 0.5599 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3536, allocations: 0 / 0.5599 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001303/0.3537, allocations: 171 kB / 0.5601 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.3539, allocations: 160.5 kB / 0.5602 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.354, allocations: 0 / 0.5602 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/0.3541, allocations: 4 kB / 0.5602 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.3541, allocations: 12.02 kB / 0.5602 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.3541, allocations: 4 kB / 0.5603 GB, free: 1.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000544/0.3546, allocations: 0.6004 MB / 0.5608 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.3549, allocations: 55.98 kB / 0.5609 GB, free: 0.8281 MB / 394.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 (2): * Single equations (assignments): 2 * 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.0005158/0.3554, allocations: 265.8 kB / 0.5611 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.578e-05/0.3555, allocations: 8 kB / 0.5612 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.3555, allocations: 0 / 0.5612 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.618e-05/0.3555, allocations: 8 kB / 0.5612 GB, free: 0.582 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.3558, allocations: 25.72 kB / 0.5612 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.3568, allocations: 0.6917 MB / 0.5619 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.3573, allocations: 0.8489 MB / 0.5627 GB, free: 14.95 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3573, allocations: 0 / 0.5627 GB, free: 14.95 MB / 410.7 MB Notification: Performance of Templates: time 0.004841/0.3621, allocations: 1.957 MB / 0.5646 GB, free: 12.99 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches