Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") [: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.0009266/0.0009267, allocations: 188.2 kB / 7.803 MB, free: 2.445 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.098/1.098, 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.0008225/0.0008225, allocations: 87.66 kB / 261.4 MB, free: 13.55 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.165/0.165, allocations: 43.48 MB / 352.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.62e-06/5.851e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2518, allocations: 58.83 MB / 476.6 MB, free: 5.234 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1016/0.3535, allocations: 86.05 MB / 0.5494 GB, free: 12.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.3537, allocations: 71.97 kB / 0.5495 GB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01536/0.3691, allocations: 7.231 MB / 0.5565 GB, free: 5.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.3691, allocations: 7.938 kB / 0.5566 GB, free: 5.582 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.0004674/0.3696, allocations: 0.5481 MB / 0.5571 GB, free: 4.988 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.3696, allocations: 11.09 kB / 0.5571 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.94e-05/0.3697, allocations: 43.44 kB / 0.5571 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.3701, allocations: 319.4 kB / 0.5574 GB, free: 4.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.3702, allocations: 4 kB / 0.5574 GB, free: 4.578 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.3702, allocations: 4 kB / 0.5575 GB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.211e-05/0.3702, allocations: 19.92 kB / 0.5575 GB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.785e-05/0.3703, allocations: 41.69 kB / 0.5575 GB, free: 4.508 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3703, allocations: 0 / 0.5575 GB, free: 4.508 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.3704, allocations: 0 / 0.5575 GB, free: 4.508 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3704, allocations: 7.906 kB / 0.5575 GB, free: 4.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.3708, allocations: 409.2 kB / 0.5579 GB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.371, allocations: 33.66 kB / 0.5579 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.371, allocations: 12.86 kB / 0.558 GB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.371, allocations: 0 / 0.558 GB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.3711, allocations: 34.64 kB / 0.558 GB, free: 3.965 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3711, allocations: 0 / 0.558 GB, free: 3.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003972/0.3715, allocations: 180.1 kB / 0.5582 GB, free: 3.781 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.3715, allocations: 55.34 kB / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009973/0.3725, allocations: 0.7473 MB / 0.5589 GB, free: 2.961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3725, allocations: 25.7 kB / 0.559 GB, free: 2.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.3726, allocations: 144 kB / 0.5591 GB, free: 2.785 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.3726, allocations: 11.75 kB / 0.5591 GB, free: 2.773 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.3726, allocations: 0 / 0.5591 GB, free: 2.773 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3728, allocations: 362.8 kB / 0.5595 GB, free: 2.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.3728, allocations: 15.98 kB / 0.5595 GB, free: 2.395 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.488e-05/0.3728, allocations: 4 kB / 0.5595 GB, free: 2.391 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.344e-05/0.3728, allocations: 8 kB / 0.5595 GB, free: 2.383 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3728, allocations: 4 kB / 0.5595 GB, free: 2.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001223/0.373, allocations: 97.06 kB / 0.5596 GB, free: 2.277 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.373, allocations: 6.812 kB / 0.5596 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.373, allocations: 0 / 0.5596 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.373, allocations: 4 kB / 0.5596 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.3731, allocations: 16 kB / 0.5596 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3731, allocations: 0 / 0.5596 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.298e-05/0.3732, allocations: 15.83 kB / 0.5596 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.3732, allocations: 4 kB / 0.5596 GB, free: 2.234 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 5.252e-05/0.3732, allocations: 102.5 kB / 0.5597 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.152e-05/0.3733, allocations: 39.44 kB / 0.5598 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.3735, allocations: 117.2 kB / 0.5599 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3735, allocations: 320 / 0.5599 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3735, allocations: 3.938 kB / 0.5599 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3735, allocations: 4.141 kB / 0.5599 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006285/0.3742, allocations: 0.5379 MB / 0.5604 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3742, allocations: 3.984 kB / 0.5604 GB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.3743, allocations: 19.98 kB / 0.5604 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3743, allocations: 4 kB / 0.5604 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3743, allocations: 0 / 0.5604 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3743, allocations: 0 / 0.5604 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3743, allocations: 0 / 0.5604 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001588/0.3745, allocations: 187 kB / 0.5606 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.3746, allocations: 164.5 kB / 0.5608 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.3747, allocations: 0 / 0.5608 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3748, allocations: 11.98 kB / 0.5608 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.3748, allocations: 7.938 kB / 0.5608 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.3748, allocations: 0 / 0.5608 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000588/0.3754, allocations: 0.6082 MB / 0.5614 GB, free: 352 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002728/0.3757, allocations: 59.92 kB / 0.5614 GB, free: 292 kB / 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 (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.0005694/0.3763, allocations: 302 kB / 0.5617 GB, free: 20 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.288e-05/0.3764, allocations: 27.98 kB / 0.5618 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3764, allocations: 0 / 0.5618 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.732e-05/0.3764, allocations: 15.94 kB / 0.5618 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.3767, allocations: 36.95 kB / 0.5618 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.3777, allocations: 0.6957 MB / 0.5625 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004604/0.3782, allocations: 0.8567 MB / 0.5633 GB, free: 14.32 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3782, allocations: 4 kB / 0.5633 GB, free: 14.32 MB / 410.7 MB Notification: Performance of Templates: time 0.004987/0.3832, allocations: 2.176 MB / 0.5655 GB, free: 12.14 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches