Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,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.Test24") [: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.001059/0.001059, allocations: 179 kB / 8.519 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.243/1.243, allocations: 221.4 MB / 230.3 MB, free: 7.648 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.001031/0.001031, allocations: 79.3 kB / 281.2 MB, free: 5.457 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.1724/0.1724, allocations: 44.14 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.324e-06/7.344e-06, allocations: 224 / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1377, allocations: 61.91 MB / 0.4941 GB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.4503, allocations: 87.58 MB / 0.5796 GB, free: 9.145 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.4506, allocations: 75.19 kB / 0.5797 GB, free: 9.105 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01546/0.466, allocations: 5.939 MB / 0.5855 GB, free: 3.215 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.4661, allocations: 4 kB / 0.5855 GB, free: 3.211 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.0004271/0.4665, allocations: 398.2 kB / 0.5859 GB, free: 2.777 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4666, allocations: 17.47 kB / 0.5859 GB, free: 2.762 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.4666, allocations: 7.906 kB / 0.5859 GB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.4669, allocations: 187 kB / 0.5861 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.4669, allocations: 0 / 0.5861 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.4669, allocations: 4 kB / 0.5861 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.283e-05/0.467, allocations: 12 kB / 0.5861 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.565e-05/0.4671, allocations: 59.25 kB / 0.5861 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.4671, allocations: 0 / 0.5861 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4671, allocations: 0 / 0.5861 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4672, allocations: 11.98 kB / 0.5862 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.4675, allocations: 269.3 kB / 0.5864 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.4677, allocations: 29.7 kB / 0.5864 GB, free: 2.098 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.4677, allocations: 12.8 kB / 0.5865 GB, free: 2.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.4677, allocations: 8 kB / 0.5865 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.4678, allocations: 34.56 kB / 0.5865 GB, free: 2.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4678, allocations: 0 / 0.5865 GB, free: 2.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003734/0.4682, allocations: 101.5 kB / 0.5866 GB, free: 1.926 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.4682, allocations: 81.02 kB / 0.5867 GB, free: 1.828 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.4683, allocations: 125 kB / 0.5868 GB, free: 1.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.4683, allocations: 25.7 kB / 0.5868 GB, free: 1.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.4684, allocations: 88.12 kB / 0.5869 GB, free: 1.578 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.4684, allocations: 19.69 kB / 0.5869 GB, free: 1.559 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.4684, allocations: 0 / 0.5869 GB, free: 1.559 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4686, allocations: 318.8 kB / 0.5872 GB, free: 1.238 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.448e-05/0.4686, allocations: 15.94 kB / 0.5872 GB, free: 1.223 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.148e-05/0.4686, allocations: 25.72 kB / 0.5873 GB, free: 1.191 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.944e-05/0.4687, allocations: 20.02 kB / 0.5873 GB, free: 1.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.4687, allocations: 0 / 0.5873 GB, free: 1.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.667e-05/0.4688, allocations: 61.59 kB / 0.5873 GB, free: 1.105 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.4688, allocations: 4 kB / 0.5873 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4688, allocations: 4 kB / 0.5873 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4688, allocations: 3.906 kB / 0.5873 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.4689, allocations: 15.98 kB / 0.5874 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.4689, allocations: 0 / 0.5874 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.4689, allocations: 8 kB / 0.5874 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.469, allocations: 4 kB / 0.5874 GB, free: 1.066 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.291e-05/0.469, allocations: 104.9 kB / 0.5875 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.4691, allocations: 7.906 kB / 0.5875 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.4692, allocations: 77.72 kB / 0.5876 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4692, allocations: 0 / 0.5876 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4692, allocations: 0 / 0.5876 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4693, allocations: 7.984 kB / 0.5876 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.4695, allocations: 311 kB / 0.5879 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.4695, allocations: 384 / 0.5879 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.4696, allocations: 15.98 kB / 0.5879 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4696, allocations: 0 / 0.5879 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.4696, allocations: 4 kB / 0.5879 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.4696, allocations: 4 kB / 0.5879 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4697, allocations: 3.906 kB / 0.5879 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001278/0.4698, allocations: 163.5 kB / 0.588 GB, free: 312 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.4698, allocations: 89 kB / 0.5881 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.4699, allocations: 0 / 0.5881 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.47, allocations: 11.94 kB / 0.5881 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.47, allocations: 3.984 kB / 0.5881 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.47, allocations: 8 kB / 0.5882 GB, free: 180 kB / 394.7 MB Notification: Performance of sort global known variables: time 5.818e-05/0.4701, allocations: 96.66 kB / 0.5882 GB, free: 84 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.4703, allocations: 35.86 kB / 0.5883 GB, free: 48 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.0006601/0.471, allocations: 337.2 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.769e-05/0.4711, allocations: 28 kB / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4711, allocations: 0 / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.4711, allocations: 23.92 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.0001889/0.4713, allocations: 11.91 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.0002806/0.4716, allocations: 103.8 kB / 0.5888 GB, free: 15.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.4719, allocations: 0.7114 MB / 0.5895 GB, free: 14.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4719, allocations: 0 / 0.5895 GB, free: 14.86 MB / 410.7 MB Notification: Performance of Templates: time 0.003465/0.4754, allocations: 1.351 MB / 0.5908 GB, free: 13.52 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches