Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") [: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.0008817/0.0008818, allocations: 185.7 kB / 7.805 MB, free: 2.488 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.069/1.069, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0007663/0.0007662, allocations: 90.91 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.1631/0.1631, allocations: 43.5 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.961e-06/5.981e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2458, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.3501, allocations: 86.47 MB / 0.5498 GB, free: 12.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.3504, allocations: 71.95 kB / 0.5499 GB, free: 12.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01606/0.3665, allocations: 7.623 MB / 0.5573 GB, free: 4.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.3665, allocations: 4 kB / 0.5574 GB, free: 4.766 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.0004695/0.367, allocations: 0.5558 MB / 0.5579 GB, free: 4.164 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3671, allocations: 8.031 kB / 0.5579 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.3671, allocations: 43.44 kB / 0.5579 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.3676, allocations: 323.3 kB / 0.5583 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.3676, allocations: 0 / 0.5583 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.3676, allocations: 4 kB / 0.5583 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.523e-05/0.3677, allocations: 19.98 kB / 0.5583 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.653e-05/0.3678, allocations: 45.67 kB / 0.5583 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3678, allocations: 11.84 kB / 0.5583 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.3678, allocations: 0 / 0.5583 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3678, allocations: 0 / 0.5583 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.3683, allocations: 425.2 kB / 0.5587 GB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.3685, allocations: 37.64 kB / 0.5588 GB, free: 3.172 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/0.3685, allocations: 12.86 kB / 0.5588 GB, free: 3.156 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.3686, allocations: 0 / 0.5588 GB, free: 3.156 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3686, allocations: 34.56 kB / 0.5588 GB, free: 3.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3686, allocations: 0 / 0.5588 GB, free: 3.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004001/0.369, allocations: 192.1 kB / 0.559 GB, free: 2.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.369, allocations: 59.31 kB / 0.5591 GB, free: 2.848 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.3701, allocations: 0.7512 MB / 0.5598 GB, free: 2.086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.3701, allocations: 25.7 kB / 0.5598 GB, free: 2.055 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.3701, allocations: 140 kB / 0.5599 GB, free: 1.914 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.3702, allocations: 15.81 kB / 0.56 GB, free: 1.898 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.3702, allocations: 0 / 0.56 GB, free: 1.898 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3703, allocations: 362.7 kB / 0.5603 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/0.3703, allocations: 12 kB / 0.5603 GB, free: 1.523 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.891e-05/0.3704, allocations: 16 kB / 0.5603 GB, free: 1.508 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.3704, allocations: 15.98 kB / 0.5604 GB, free: 1.492 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.3704, allocations: 0 / 0.5604 GB, free: 1.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001239/0.3705, allocations: 97.16 kB / 0.5604 GB, free: 1.391 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.3706, allocations: 8 kB / 0.5605 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3706, allocations: 7.906 kB / 0.5605 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/0.3706, allocations: 144 / 0.5605 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.945e-05/0.3707, allocations: 15.98 kB / 0.5605 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.3707, allocations: 0 / 0.5605 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.938e-05/0.3708, allocations: 4 kB / 0.5605 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3708, allocations: 7.984 kB / 0.5605 GB, free: 1.348 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 (5): * Single equations (assignments): 5 * 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.074e-05/0.3708, allocations: 106.4 kB / 0.5606 GB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/0.3709, allocations: 43.44 kB / 0.5606 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.3711, allocations: 121.1 kB / 0.5607 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3711, allocations: 4.312 kB / 0.5607 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.3711, allocations: 0 / 0.5607 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3711, allocations: 0 / 0.5607 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.3717, allocations: 0.5535 MB / 0.5613 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3718, allocations: 0 / 0.5613 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-05/0.3718, allocations: 12 kB / 0.5613 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3718, allocations: 3.984 kB / 0.5613 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3718, allocations: 4 kB / 0.5613 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3719, allocations: 7.875 kB / 0.5613 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3719, allocations: 3.906 kB / 0.5613 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001662/0.372, allocations: 202.9 kB / 0.5615 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.3722, allocations: 156.6 kB / 0.5617 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.3723, allocations: 3.906 kB / 0.5617 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.984e-05/0.3724, allocations: 4 kB / 0.5617 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.3724, allocations: 7.984 kB / 0.5617 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3724, allocations: 0 / 0.5617 GB, free: 32 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005667/0.373, allocations: 0.6082 MB / 0.5623 GB, free: 15.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002692/0.3733, allocations: 63.94 kB / 0.5623 GB, free: 15.36 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 (5): * Single equations (assignments): 5 * 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.0005254/0.3738, allocations: 310.1 kB / 0.5626 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.477e-05/0.3739, allocations: 35.92 kB / 0.5627 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3739, allocations: 0 / 0.5627 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.047e-05/0.3739, allocations: 16 kB / 0.5627 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.3742, allocations: 29.75 kB / 0.5627 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.3752, allocations: 0.7113 MB / 0.5634 GB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/0.3756, allocations: 0.8567 MB / 0.5642 GB, free: 13.38 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3756, allocations: 0 / 0.5642 GB, free: 13.38 MB / 410.7 MB Notification: Performance of Templates: time 0.004904/0.3806, allocations: 2.203 MB / 0.5664 GB, free: 11.17 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches