Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000") [:1:1-1:33: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.001407/0.001407, allocations: 183.1 kB / 8.134 MB, free: 2.207 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.213/1.213, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.001046/0.001046, allocations: 101.8 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7404/0.7404, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.432e-06/6.602e-06, allocations: 0 / 0.5282 GB, free: 52.43 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1357, allocations: 82.84 MB / 0.6091 GB, free: 3.57 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5426/0.6783, allocations: 128.4 MB / 0.7345 GB, free: 1.719 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001031/0.6785, allocations: 51.72 kB / 0.7346 GB, free: 1.695 MB / 0.4953 GB Notification: Performance of FrontEnd: time 13.7/14.38, allocations: 2.18 GB / 2.915 GB, free: 155.4 MB / 0.7301 GB Notification: Performance of Transformations before backend: time 0.009093/14.38, allocations: 0.9766 MB / 2.916 GB, free: 154.4 MB / 0.7301 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.07932/14.46, allocations: 49.06 MB / 2.964 GB, free: 110.2 MB / 0.7301 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/14.46, allocations: 8.031 kB / 2.964 GB, free: 110.2 MB / 0.7301 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0176/14.48, allocations: 8.797 MB / 2.972 GB, free: 101.3 MB / 0.7301 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2654/14.75, allocations: 90.15 MB / 3.061 GB, free: 18.36 MB / 0.7301 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/14.75, allocations: 0 / 3.061 GB, free: 18.36 MB / 0.7301 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/14.75, allocations: 0 / 3.061 GB, free: 18.36 MB / 0.7301 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.824e-05/14.75, allocations: 19.98 kB / 3.061 GB, free: 18.34 MB / 0.7301 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.857e-05/14.75, allocations: 49.62 kB / 3.061 GB, free: 18.29 MB / 0.7301 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/14.75, allocations: 0 / 3.061 GB, free: 18.29 MB / 0.7301 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/14.75, allocations: 0 / 3.061 GB, free: 18.29 MB / 0.7301 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/14.75, allocations: 0 / 3.061 GB, free: 18.29 MB / 0.7301 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2929/15.04, allocations: 26.71 MB / 3.087 GB, free: 186.3 MB / 0.7301 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/15.04, allocations: 43.22 kB / 3.087 GB, free: 186.3 MB / 0.7301 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/15.04, allocations: 23.31 kB / 3.087 GB, free: 186.3 MB / 0.7301 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/15.04, allocations: 0 / 3.087 GB, free: 186.3 MB / 0.7301 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/15.04, allocations: 57.48 kB / 3.087 GB, free: 186.2 MB / 0.7301 GB Notification: Performance of pre-optimization done (n=5): time 2.856e-06/15.04, allocations: 3.062 kB / 3.087 GB, free: 186.2 MB / 0.7301 GB Notification: Performance of matching and sorting (n=5): time 0.01436/15.05, allocations: 8.856 MB / 3.095 GB, free: 186.2 MB / 0.7301 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/15.05, allocations: 51.41 kB / 3.095 GB, free: 186.1 MB / 0.7301 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1795/15.23, allocations: 81.13 MB / 3.175 GB, free: 165.5 MB / 0.7301 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/15.23, allocations: 29.02 kB / 3.175 GB, free: 165.5 MB / 0.7301 GB Notification: Performance of collectInitialEqns (initialization): time 0.0203/15.25, allocations: 11.9 MB / 3.186 GB, free: 160.9 MB / 0.7301 GB Notification: Performance of collectInitialBindings (initialization): time 6.897e-05/15.25, allocations: 11 kB / 3.186 GB, free: 160.9 MB / 0.7301 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/15.25, allocations: 6.688 kB / 3.186 GB, free: 160.9 MB / 0.7301 GB Notification: Performance of setup shared object (initialization): time 5.268e-05/15.25, allocations: 312.6 kB / 3.187 GB, free: 160.6 MB / 0.7301 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.116e-05/15.26, allocations: 14.66 kB / 3.187 GB, free: 160.6 MB / 0.7301 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.329e-05/15.26, allocations: 26.72 kB / 3.187 GB, free: 160.6 MB / 0.7301 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.082e-05/15.26, allocations: 12.47 kB / 3.187 GB, free: 160.6 MB / 0.7301 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/15.26, allocations: 0 / 3.187 GB, free: 160.6 MB / 0.7301 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0115/15.27, allocations: 8.869 MB / 3.195 GB, free: 155.5 MB / 0.7301 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/15.27, allocations: 6.75 kB / 3.195 GB, free: 155.5 MB / 0.7301 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/15.27, allocations: 0 / 3.195 GB, free: 155.5 MB / 0.7301 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/15.27, allocations: 3.906 kB / 3.195 GB, free: 155.5 MB / 0.7301 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/15.27, allocations: 10.12 kB / 3.195 GB, free: 155.5 MB / 0.7301 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/15.27, allocations: 0 / 3.195 GB, free: 155.5 MB / 0.7301 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01209/15.28, allocations: 8.953 kB / 3.195 GB, free: 155.5 MB / 0.7301 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/15.28, allocations: 3.188 kB / 3.195 GB, free: 155.5 MB / 0.7301 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.984e-05/15.28, allocations: 102.3 kB / 3.196 GB, free: 155.4 MB / 0.7301 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01441/15.29, allocations: 8.808 MB / 3.204 GB, free: 150.4 MB / 0.7301 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04016/15.33, allocations: 10.29 MB / 3.214 GB, free: 147.5 MB / 0.7301 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/15.33, allocations: 3.938 kB / 3.214 GB, free: 147.5 MB / 0.7301 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/15.33, allocations: 0 / 3.214 GB, free: 147.5 MB / 0.7301 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/15.33, allocations: 0 / 3.214 GB, free: 147.5 MB / 0.7301 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08644/15.42, allocations: 29.16 MB / 3.243 GB, free: 138.3 MB / 0.7301 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/15.42, allocations: 0 / 3.243 GB, free: 138.3 MB / 0.7301 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.39e-05/15.42, allocations: 13.45 kB / 3.243 GB, free: 138.3 MB / 0.7301 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/15.42, allocations: 0 / 3.243 GB, free: 138.3 MB / 0.7301 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/15.42, allocations: 3.344 kB / 3.243 GB, free: 138.3 MB / 0.7301 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/15.42, allocations: 0.7188 kB / 3.243 GB, free: 138.3 MB / 0.7301 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/15.42, allocations: 0 / 3.243 GB, free: 138.3 MB / 0.7301 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0124/15.43, allocations: 9.472 MB / 3.252 GB, free: 132.7 MB / 0.7301 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01345/15.45, allocations: 7.66 MB / 3.259 GB, free: 127.6 MB / 0.7301 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008989/15.46, allocations: 0 / 3.259 GB, free: 127.6 MB / 0.7301 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01107/15.47, allocations: 3.281 kB / 3.259 GB, free: 127.6 MB / 0.7301 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/15.47, allocations: 6.828 kB / 3.259 GB, free: 127.6 MB / 0.7301 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/15.47, allocations: 3.438 kB / 3.259 GB, free: 127.6 MB / 0.7301 GB Notification: Performance of sort global known variables: time 0.1372/15.6, allocations: 64.12 MB / 3.322 GB, free: 89.29 MB / 0.7301 GB Notification: Performance of remove unused functions: time 0.009292/15.61, allocations: 1.975 MB / 3.324 GB, free: 87.32 MB / 0.7301 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007001/15.61, allocations: 309.2 kB / 3.324 GB, free: 87.16 MB / 0.7301 GB Notification: Performance of simCode: created initialization part: time 0.0001512/15.61, allocations: 30.62 kB / 3.324 GB, free: 87.14 MB / 0.7301 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/15.61, allocations: 7.062 kB / 3.324 GB, free: 87.13 MB / 0.7301 GB Notification: Performance of simCode: created simulation system equations: time 4.753e-05/15.61, allocations: 28.38 kB / 3.324 GB, free: 87.11 MB / 0.7301 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01734/15.63, allocations: 6.278 MB / 3.33 GB, free: 80.83 MB / 0.7301 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 6.578/22.21, allocations: 119.8 MB / 3.447 GB, free: 126.2 MB / 0.7301 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.08493/22.29, allocations: 48.33 MB / 3.495 GB, free: 119.1 MB / 0.7301 GB Notification: Performance of SimCode: time 1.042e-06/22.29, allocations: 0 / 3.495 GB, free: 119.1 MB / 0.7301 GB Notification: Performance of Templates: time 0.6627/22.96, allocations: 208.8 MB / 3.699 GB, free: 15.83 MB / 0.7301 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches