Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") [: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.000998/0.0009979, allocations: 176 kB / 8.517 MB, free: 1.859 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.371/1.371, allocations: 221.4 MB / 230.3 MB, free: 7.672 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.001006/0.001006, allocations: 82.48 kB / 281.2 MB, free: 5.5 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.1787/0.1787, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.771e-06/5.811e-06, allocations: 224 / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 61.91 MB / 0.4941 GB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.4463, allocations: 87.58 MB / 0.5796 GB, free: 9.176 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.4466, allocations: 79.28 kB / 0.5797 GB, free: 9.129 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01652/0.4631, allocations: 5.936 MB / 0.5855 GB, free: 3.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.4631, allocations: 4 kB / 0.5855 GB, free: 3.203 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.0005073/0.4636, allocations: 398.2 kB / 0.5859 GB, free: 2.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4637, allocations: 13.47 kB / 0.5859 GB, free: 2.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.4637, allocations: 7.906 kB / 0.5859 GB, free: 2.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.464, allocations: 191 kB / 0.5861 GB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.464, allocations: 0 / 0.5861 GB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.464, allocations: 3.938 kB / 0.5861 GB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.13e-05/0.4641, allocations: 12 kB / 0.5861 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.525e-05/0.4642, allocations: 59.31 kB / 0.5861 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.4642, allocations: 0 / 0.5861 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.4642, allocations: 7.984 kB / 0.5862 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4643, allocations: 4 kB / 0.5862 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.4646, allocations: 261.4 kB / 0.5864 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.4648, allocations: 37.64 kB / 0.5864 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.4648, allocations: 16.86 kB / 0.5865 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.4648, allocations: 0 / 0.5865 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.4649, allocations: 30.56 kB / 0.5865 GB, free: 2.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.4649, allocations: 0 / 0.5865 GB, free: 2.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003717/0.4653, allocations: 105.5 kB / 0.5866 GB, free: 1.922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.4653, allocations: 81.02 kB / 0.5867 GB, free: 1.824 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.4654, allocations: 125 kB / 0.5868 GB, free: 1.695 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.4655, allocations: 25.7 kB / 0.5868 GB, free: 1.664 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.4655, allocations: 84.12 kB / 0.5869 GB, free: 1.578 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.4655, allocations: 23.69 kB / 0.5869 GB, free: 1.555 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.4655, allocations: 0 / 0.5869 GB, free: 1.555 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4657, allocations: 318.8 kB / 0.5872 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.939e-05/0.4657, allocations: 12 kB / 0.5872 GB, free: 1.223 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.907e-05/0.4657, allocations: 25.72 kB / 0.5873 GB, free: 1.191 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.138e-05/0.4658, allocations: 15.98 kB / 0.5873 GB, free: 1.176 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4658, allocations: 0 / 0.5873 GB, free: 1.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001017/0.4659, allocations: 65.59 kB / 0.5873 GB, free: 1.105 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.4659, allocations: 6.344 kB / 0.5873 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.4659, allocations: 0 / 0.5873 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.4659, allocations: 3.906 kB / 0.5873 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.329e-05/0.466, allocations: 19.92 kB / 0.5874 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.466, allocations: 4.031 kB / 0.5874 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.4661, allocations: 11.94 kB / 0.5874 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.4661, allocations: 3.984 kB / 0.5874 GB, free: 1.059 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.627e-05/0.4661, allocations: 105 kB / 0.5875 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.4662, allocations: 7.906 kB / 0.5875 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.4664, allocations: 73.73 kB / 0.5876 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.4664, allocations: 0 / 0.5876 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4664, allocations: 8 kB / 0.5876 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4664, allocations: 3.984 kB / 0.5876 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.4667, allocations: 315 kB / 0.5879 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4667, allocations: 384 / 0.5879 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.4668, allocations: 15.98 kB / 0.5879 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4668, allocations: 4 kB / 0.5879 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.4668, allocations: 0 / 0.5879 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4668, allocations: 4 kB / 0.5879 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4668, allocations: 3.906 kB / 0.5879 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001663/0.467, allocations: 163.4 kB / 0.5881 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.4671, allocations: 89 kB / 0.5881 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.4671, allocations: 0 / 0.5881 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.4672, allocations: 4 kB / 0.5881 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.4672, allocations: 11.98 kB / 0.5882 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.4672, allocations: 0 / 0.5882 GB, free: 176 kB / 394.7 MB Notification: Performance of sort global known variables: time 6.601e-05/0.4673, allocations: 101.5 kB / 0.5882 GB, free: 76 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002662/0.4676, allocations: 31.92 kB / 0.5883 GB, free: 44 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.0006847/0.4683, allocations: 335.8 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.992e-05/0.4684, allocations: 31.94 kB / 0.5886 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4684, allocations: 0 / 0.5886 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/0.4684, allocations: 23.98 kB / 0.5887 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.4686, allocations: 11.91 kB / 0.5887 GB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.4689, allocations: 103.8 kB / 0.5888 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.4692, allocations: 0.7075 MB / 0.5895 GB, free: 14.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4692, allocations: 0 / 0.5895 GB, free: 14.86 MB / 410.7 MB Notification: Performance of Templates: time 0.003746/0.473, allocations: 1.345 MB / 0.5908 GB, free: 13.52 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches