Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") [: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.0009413/0.0009414, allocations: 180.6 kB / 8.517 MB, free: 1.84 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.307/1.307, allocations: 221.4 MB / 230.3 MB, free: 7.719 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.0009183/0.0009184, allocations: 94.66 kB / 281.2 MB, free: 5.531 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.2141/0.2141, allocations: 44.15 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.135e-06/8.155e-06, allocations: 4 kB / 444 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 61.91 MB / 0.4941 GB, free: 1.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3293/0.4507, allocations: 87.25 MB / 0.5793 GB, free: 9.543 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.451, allocations: 68.39 kB / 0.5794 GB, free: 9.508 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009761/0.4608, allocations: 3.375 MB / 0.5827 GB, free: 6.184 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.4608, allocations: 0 / 0.5827 GB, free: 6.184 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.0003962/0.4612, allocations: 378.2 kB / 0.583 GB, free: 5.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4613, allocations: 13.47 kB / 0.583 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.4613, allocations: 7.906 kB / 0.583 GB, free: 5.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.4616, allocations: 190.9 kB / 0.5832 GB, free: 5.523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.4616, allocations: 0 / 0.5832 GB, free: 5.523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.4616, allocations: 4 kB / 0.5832 GB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.334e-05/0.4617, allocations: 12 kB / 0.5832 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.047e-05/0.4618, allocations: 49.62 kB / 0.5833 GB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.4618, allocations: 0 / 0.5833 GB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.4618, allocations: 0 / 0.5833 GB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4619, allocations: 0 / 0.5833 GB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.4622, allocations: 261.4 kB / 0.5835 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.4624, allocations: 33.7 kB / 0.5836 GB, free: 5.121 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.4625, allocations: 12.84 kB / 0.5836 GB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.4625, allocations: 4 kB / 0.5836 GB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.4625, allocations: 42.41 kB / 0.5836 GB, free: 5.051 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.4625, allocations: 3.938 kB / 0.5836 GB, free: 5.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004055/0.4629, allocations: 109.4 kB / 0.5837 GB, free: 4.934 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.463, allocations: 55.41 kB / 0.5838 GB, free: 4.867 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.4631, allocations: 135.5 kB / 0.5839 GB, free: 4.727 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.4631, allocations: 25.7 kB / 0.5839 GB, free: 4.695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.4632, allocations: 88.14 kB / 0.584 GB, free: 4.605 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.4632, allocations: 15.73 kB / 0.584 GB, free: 4.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.4632, allocations: 0 / 0.584 GB, free: 4.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4634, allocations: 318.8 kB / 0.5843 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.4634, allocations: 16 kB / 0.5844 GB, free: 4.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.258e-05/0.4634, allocations: 15.92 kB / 0.5844 GB, free: 4.238 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.4635, allocations: 20.09 kB / 0.5844 GB, free: 4.219 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.4635, allocations: 0 / 0.5844 GB, free: 4.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001071/0.4636, allocations: 69.59 kB / 0.5845 GB, free: 4.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4636, allocations: 4 kB / 0.5845 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4636, allocations: 0 / 0.5845 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.4637, allocations: 0 / 0.5845 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.4637, allocations: 15.98 kB / 0.5845 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4637, allocations: 4 kB / 0.5845 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.4638, allocations: 11.98 kB / 0.5845 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.4638, allocations: 0 / 0.5845 GB, free: 4.109 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 7.079e-05/0.4639, allocations: 101 kB / 0.5846 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.4639, allocations: 15.75 kB / 0.5846 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.4641, allocations: 81.78 kB / 0.5847 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4641, allocations: 8 kB / 0.5847 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4641, allocations: 0 / 0.5847 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.4641, allocations: 0 / 0.5847 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.4645, allocations: 315 kB / 0.585 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4645, allocations: 0 / 0.585 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-05/0.4646, allocations: 19.92 kB / 0.585 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4646, allocations: 0 / 0.585 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.4646, allocations: 0 / 0.585 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4646, allocations: 4 kB / 0.585 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4646, allocations: 0 / 0.585 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001452/0.4648, allocations: 159.6 kB / 0.5852 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.403e-05/0.4649, allocations: 93 kB / 0.5852 GB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.4649, allocations: 7.906 kB / 0.5853 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.465, allocations: 8 kB / 0.5853 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.465, allocations: 7.984 kB / 0.5853 GB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.465, allocations: 8 kB / 0.5853 GB, free: 3.207 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.935e-05/0.4651, allocations: 107.3 kB / 0.5854 GB, free: 3.102 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002369/0.4654, allocations: 20 kB / 0.5854 GB, free: 3.082 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.0006492/0.466, allocations: 294.5 kB / 0.5857 GB, free: 2.863 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.4661, allocations: 31.98 kB / 0.5857 GB, free: 2.832 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4661, allocations: 4 kB / 0.5857 GB, free: 2.828 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.41e-05/0.4662, allocations: 16 kB / 0.5857 GB, free: 2.812 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.4664, allocations: 18.02 kB / 0.5857 GB, free: 2.797 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.4667, allocations: 119.6 kB / 0.5859 GB, free: 2.656 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.4671, allocations: 0.7075 MB / 0.5866 GB, free: 1.922 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4671, allocations: 0 / 0.5866 GB, free: 1.922 MB / 394.7 MB Notification: Performance of Templates: time 0.00344/0.4705, allocations: 1.128 MB / 0.5877 GB, free: 0.8008 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches