Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23") [: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.0008943/0.0008943, allocations: 188.7 kB / 7.803 MB, free: 2.492 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.084/1.084, 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.0008431/0.0008434, allocations: 83.38 kB / 261.4 MB, free: 13.64 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.1588/0.1588, allocations: 43.48 MB / 352.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.701e-06/5.731e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2476, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1026/0.3502, allocations: 85.86 MB / 0.5492 GB, free: 13.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.3505, allocations: 71.97 kB / 0.5493 GB, free: 13.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01503/0.3655, allocations: 5.774 MB / 0.5549 GB, free: 7.238 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3656, allocations: 0 / 0.5549 GB, free: 7.238 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.0003379/0.3659, allocations: 394.3 kB / 0.5553 GB, free: 6.809 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.3659, allocations: 8.031 kB / 0.5553 GB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.366, allocations: 11.91 kB / 0.5553 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.3662, allocations: 190.9 kB / 0.5555 GB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-06/0.3662, allocations: 0 / 0.5555 GB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.3662, allocations: 0 / 0.5555 GB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.632e-05/0.3663, allocations: 15.91 kB / 0.5555 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.694e-05/0.3664, allocations: 55.34 kB / 0.5556 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3664, allocations: 0 / 0.5556 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3664, allocations: 0 / 0.5556 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3664, allocations: 4 kB / 0.5556 GB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.3667, allocations: 257.4 kB / 0.5558 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.3668, allocations: 29.7 kB / 0.5559 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.3668, allocations: 12.8 kB / 0.5559 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.3669, allocations: 0 / 0.5559 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.3669, allocations: 34.56 kB / 0.5559 GB, free: 6.094 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3669, allocations: 4 kB / 0.5559 GB, free: 6.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003118/0.3672, allocations: 89.48 kB / 0.556 GB, free: 5.996 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.3673, allocations: 81.11 kB / 0.5561 GB, free: 5.898 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3674, allocations: 121 kB / 0.5562 GB, free: 5.773 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.3674, allocations: 25.7 kB / 0.5562 GB, free: 5.742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.3674, allocations: 92.12 kB / 0.5563 GB, free: 5.648 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.3675, allocations: 19.75 kB / 0.5563 GB, free: 5.629 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.3675, allocations: 0 / 0.5563 GB, free: 5.629 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.3676, allocations: 322.8 kB / 0.5566 GB, free: 5.301 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.3676, allocations: 8 kB / 0.5566 GB, free: 5.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.738e-05/0.3676, allocations: 21.72 kB / 0.5567 GB, free: 5.266 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.401e-05/0.3677, allocations: 8 kB / 0.5567 GB, free: 5.258 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3677, allocations: 3.906 kB / 0.5567 GB, free: 5.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.572e-05/0.3678, allocations: 53.88 kB / 0.5567 GB, free: 5.195 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.3678, allocations: 11.97 kB / 0.5567 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3678, allocations: 7.969 kB / 0.5567 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3678, allocations: 4 kB / 0.5567 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.385e-05/0.3679, allocations: 19.98 kB / 0.5568 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3679, allocations: 0 / 0.5568 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.368, allocations: 4 kB / 0.5568 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.368, allocations: 4 kB / 0.5568 GB, free: 5.145 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.912e-05/0.368, allocations: 110.3 kB / 0.5569 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.3681, allocations: 11.98 kB / 0.5569 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.3682, allocations: 65.72 kB / 0.557 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3682, allocations: 4 kB / 0.557 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3682, allocations: 0 / 0.557 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.3682, allocations: 3.906 kB / 0.557 GB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.3685, allocations: 303.1 kB / 0.5573 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3685, allocations: 0 / 0.5573 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.374e-05/0.3686, allocations: 15.98 kB / 0.5573 GB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3686, allocations: 4 kB / 0.5573 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.3686, allocations: 0 / 0.5573 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.3686, allocations: 3.906 kB / 0.5573 GB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3686, allocations: 0 / 0.5573 GB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001099/0.3687, allocations: 155.5 kB / 0.5574 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.3688, allocations: 89.02 kB / 0.5575 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.3688, allocations: 0 / 0.5575 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.3689, allocations: 8.172 kB / 0.5575 GB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.3689, allocations: 4 kB / 0.5575 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.3689, allocations: 4 kB / 0.5575 GB, free: 4.285 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.888e-05/0.369, allocations: 103.2 kB / 0.5576 GB, free: 4.184 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002467/0.3693, allocations: 24 kB / 0.5576 GB, free: 4.16 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 (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.0005835/0.3699, allocations: 340.8 kB / 0.558 GB, free: 3.859 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.708e-05/0.3699, allocations: 27.98 kB / 0.558 GB, free: 3.832 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.37, allocations: 4 kB / 0.558 GB, free: 3.828 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.37, allocations: 19.94 kB / 0.558 GB, free: 3.809 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.3702, allocations: 15.7 kB / 0.558 GB, free: 3.793 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/0.3704, allocations: 95.8 kB / 0.5581 GB, free: 3.672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/0.3707, allocations: 0.7192 MB / 0.5588 GB, free: 2.926 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3707, allocations: 0 / 0.5588 GB, free: 2.926 MB / 394.7 MB Notification: Performance of Templates: time 0.003046/0.3738, allocations: 1.317 MB / 0.5601 GB, free: 1.617 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches