Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 175.3 kB / 8.519 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 221.4 MB / 230.3 MB, free: 7.637 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001194, allocations: 90.09 kB / 281.2 MB, free: 5.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2119/0.2119, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.685e-06/7.705e-06, allocations: 4.219 kB / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 61.91 MB / 0.4941 GB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3348/0.4453, allocations: 87.59 MB / 0.5796 GB, free: 9.195 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.4456, allocations: 72.84 kB / 0.5797 GB, free: 9.137 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01625/0.4619, allocations: 5.938 MB / 0.5855 GB, free: 3.215 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.4619, allocations: 0 / 0.5855 GB, free: 3.215 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.0004189/0.4623, allocations: 394.2 kB / 0.5859 GB, free: 2.785 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4624, allocations: 17.47 kB / 0.5859 GB, free: 2.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.4624, allocations: 7.906 kB / 0.5859 GB, free: 2.762 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.4627, allocations: 195 kB / 0.5861 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-06/0.4627, allocations: 0 / 0.5861 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.4627, allocations: 0 / 0.5861 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.973e-05/0.4628, allocations: 23.92 kB / 0.5861 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.009e-05/0.4629, allocations: 55.31 kB / 0.5862 GB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4629, allocations: 0 / 0.5862 GB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4629, allocations: 0 / 0.5862 GB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.4629, allocations: 0 / 0.5862 GB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.4633, allocations: 261.4 kB / 0.5864 GB, free: 2.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.4634, allocations: 37.7 kB / 0.5864 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.4635, allocations: 12.8 kB / 0.5865 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.4635, allocations: 0 / 0.5865 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.4635, allocations: 38.56 kB / 0.5865 GB, free: 2.043 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.4635, allocations: 0 / 0.5865 GB, free: 2.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004175/0.464, allocations: 105.5 kB / 0.5866 GB, free: 1.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.464, allocations: 81.02 kB / 0.5867 GB, free: 1.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.4641, allocations: 119.4 kB / 0.5868 GB, free: 1.711 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.4641, allocations: 29.7 kB / 0.5868 GB, free: 1.676 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.4642, allocations: 88.14 kB / 0.5869 GB, free: 1.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.4642, allocations: 19.67 kB / 0.5869 GB, free: 1.566 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.4642, allocations: 3.938 kB / 0.5869 GB, free: 1.562 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.4643, allocations: 318.8 kB / 0.5872 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.4643, allocations: 8 kB / 0.5872 GB, free: 1.234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.4644, allocations: 25.7 kB / 0.5873 GB, free: 1.203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.109e-05/0.4644, allocations: 16 kB / 0.5873 GB, free: 1.188 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.4644, allocations: 7.969 kB / 0.5873 GB, free: 1.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001002/0.4645, allocations: 65.59 kB / 0.5873 GB, free: 1.109 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.4646, allocations: 6.344 kB / 0.5873 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4646, allocations: 3.984 kB / 0.5873 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4646, allocations: 3.906 kB / 0.5874 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.498e-05/0.4647, allocations: 12.25 kB / 0.5874 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4647, allocations: 4 kB / 0.5874 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.4647, allocations: 15.98 kB / 0.5874 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.4648, allocations: 3.984 kB / 0.5874 GB, free: 1.062 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.466e-05/0.4648, allocations: 108.9 kB / 0.5875 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.4649, allocations: 3.906 kB / 0.5875 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.465, allocations: 73.73 kB / 0.5876 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.465, allocations: 4 kB / 0.5876 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4651, allocations: 0 / 0.5876 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4651, allocations: 144 / 0.5876 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000344/0.4654, allocations: 319 kB / 0.5879 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4654, allocations: 0 / 0.5879 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.657e-05/0.4655, allocations: 15.98 kB / 0.5879 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4655, allocations: 0 / 0.5879 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4655, allocations: 0 / 0.5879 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4655, allocations: 0 / 0.5879 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4655, allocations: 3.906 kB / 0.5879 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001474/0.4657, allocations: 167.4 kB / 0.5881 GB, free: 312 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.4658, allocations: 85.02 kB / 0.5881 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.4658, allocations: 0 / 0.5881 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.4659, allocations: 7.984 kB / 0.5881 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.4659, allocations: 8 kB / 0.5881 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.4659, allocations: 0 / 0.5881 GB, free: 192 kB / 394.7 MB Notification: Performance of sort global known variables: time 6.81e-05/0.466, allocations: 111.2 kB / 0.5883 GB, free: 80 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002715/0.4663, allocations: 23.94 kB / 0.5883 GB, free: 56 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.0007462/0.4671, allocations: 340.7 kB / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.4672, allocations: 35.98 kB / 0.5886 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4672, allocations: 0 / 0.5886 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.308e-05/0.4672, allocations: 19.94 kB / 0.5887 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.4674, allocations: 15.89 kB / 0.5887 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.4677, allocations: 95.81 kB / 0.5888 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.4681, allocations: 0.7153 MB / 0.5895 GB, free: 14.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4681, allocations: 0 / 0.5895 GB, free: 14.86 MB / 410.7 MB Notification: Performance of Templates: time 0.003625/0.4717, allocations: 1.345 MB / 0.5908 GB, free: 13.52 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches