Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.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.SimpleODE.Models.CascadedFirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.10..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|der.x.6..|der.x.7..|der.x.8..|der.x.9..|time|time|x.10.|x.1.|x.2.|x.3.|x.4.|x.5.|x.6.|x.7.|x.8.|x.9.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") translateModel(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.10..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|der.x.6..|der.x.7..|der.x.8..|der.x.9..|time|time|x.10.|x.1.|x.2.|x.3.|x.4.|x.5.|x.6.|x.7.|x.8.|x.9.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") [: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.0009935/0.0009936, allocations: 182.9 kB / 8.132 MB, free: 2.16 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.094/1.094, allocations: 221.4 MB / 229.9 MB, free: 3.023 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.0009219/0.000922, allocations: 96.98 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6227/0.6227, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.999e-06/5.1e-06, allocations: 0 / 0.5282 GB, free: 52.45 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 82.85 MB / 0.6091 GB, free: 3.562 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4699/0.5792, allocations: 124.4 MB / 0.7306 GB, free: 5.145 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000113/0.5793, allocations: 44.56 kB / 0.7306 GB, free: 5.129 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.002612/0.5819, allocations: 0.6673 MB / 0.7313 GB, free: 4.766 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.582, allocations: 0 / 0.7313 GB, free: 4.766 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002747/0.5822, allocations: 355.9 kB / 0.7316 GB, free: 4.387 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.5823, allocations: 10.77 kB / 0.7316 GB, free: 4.375 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.5823, allocations: 7.906 kB / 0.7316 GB, free: 4.367 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.5825, allocations: 181.5 kB / 0.7318 GB, free: 4.156 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.5825, allocations: 4 kB / 0.7318 GB, free: 4.152 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.5825, allocations: 4 kB / 0.7318 GB, free: 4.148 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.776e-05/0.5826, allocations: 32.12 kB / 0.7319 GB, free: 4.129 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.536e-05/0.5827, allocations: 79.02 kB / 0.7319 GB, free: 4.066 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.5827, allocations: 0 / 0.7319 GB, free: 4.066 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.5827, allocations: 3.984 kB / 0.7319 GB, free: 4.062 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.5827, allocations: 3.906 kB / 0.7319 GB, free: 4.059 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.5832, allocations: 300.5 kB / 0.7322 GB, free: 3.766 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.5833, allocations: 116.6 kB / 0.7323 GB, free: 3.68 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/0.5833, allocations: 42.44 kB / 0.7324 GB, free: 3.645 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.5834, allocations: 0 / 0.7324 GB, free: 3.645 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.079e-05/0.5834, allocations: 33.75 kB / 0.7324 GB, free: 3.605 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.5834, allocations: 0 / 0.7324 GB, free: 3.605 MB / 0.4953 GB Notification: Performance of matching and sorting (n=10): time 0.0001908/0.5836, allocations: 113.6 kB / 0.7325 GB, free: 3.516 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.606e-05/0.5836, allocations: 55.41 kB / 0.7326 GB, free: 3.449 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.461e-05/0.5837, allocations: 95.62 kB / 0.7327 GB, free: 3.355 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.5837, allocations: 25.7 kB / 0.7327 GB, free: 3.324 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 2.021e-05/0.5837, allocations: 88.27 kB / 0.7328 GB, free: 3.23 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.5837, allocations: 41.34 kB / 0.7328 GB, free: 3.199 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.5837, allocations: 4 kB / 0.7328 GB, free: 3.195 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5839, allocations: 316.6 kB / 0.7331 GB, free: 18.88 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-05/0.5839, allocations: 59.62 kB / 0.7332 GB, free: 18.84 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.584, allocations: 83.33 kB / 0.7332 GB, free: 18.79 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.858e-05/0.5841, allocations: 78.52 kB / 0.7333 GB, free: 18.74 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5841, allocations: 4 kB / 0.7333 GB, free: 18.74 MB / 0.5109 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001923/0.5843, allocations: 185.4 kB / 0.7335 GB, free: 18.6 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.5843, allocations: 4.703 kB / 0.7335 GB, free: 18.6 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5843, allocations: 4 kB / 0.7335 GB, free: 18.59 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.5843, allocations: 0 / 0.7335 GB, free: 18.59 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.5845, allocations: 49.61 kB / 0.7336 GB, free: 18.55 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5845, allocations: 4.516 kB / 0.7336 GB, free: 18.55 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.5846, allocations: 16.91 kB / 0.7336 GB, free: 18.54 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.5846, allocations: 4.688 kB / 0.7336 GB, free: 18.53 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.304e-05/0.5847, allocations: 105.7 kB / 0.7337 GB, free: 18.42 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.5847, allocations: 7.906 kB / 0.7337 GB, free: 18.41 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.5848, allocations: 11.98 kB / 0.7337 GB, free: 18.4 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5848, allocations: 0 / 0.7337 GB, free: 18.4 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5848, allocations: 0 / 0.7337 GB, free: 18.4 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5848, allocations: 0.6094 kB / 0.7337 GB, free: 18.4 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.585, allocations: 179.5 kB / 0.7339 GB, free: 18.21 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.585, allocations: 1.266 kB / 0.7339 GB, free: 18.21 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.5853, allocations: 49.98 kB / 0.7339 GB, free: 18.17 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5853, allocations: 4 kB / 0.7339 GB, free: 18.16 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.5853, allocations: 6.391 kB / 0.7339 GB, free: 18.16 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5853, allocations: 4 kB / 0.7339 GB, free: 18.16 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5853, allocations: 3.938 kB / 0.7339 GB, free: 18.15 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001948/0.5855, allocations: 241.2 kB / 0.7342 GB, free: 17.94 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.5856, allocations: 85.66 kB / 0.7343 GB, free: 17.84 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.5856, allocations: 5.547 kB / 0.7343 GB, free: 17.83 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.5857, allocations: 5.312 kB / 0.7343 GB, free: 17.83 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.5857, allocations: 9.516 kB / 0.7343 GB, free: 17.82 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.5857, allocations: 5.266 kB / 0.7343 GB, free: 17.82 MB / 0.5109 GB Notification: Performance of sort global known variables: time 2.833e-05/0.5857, allocations: 80.03 kB / 0.7344 GB, free: 17.74 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002184/0.586, allocations: 16 kB / 0.7344 GB, free: 17.73 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001001/0.5861, allocations: 101.7 kB / 0.7345 GB, free: 17.62 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.5862, allocations: 120.2 kB / 0.7346 GB, free: 17.54 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.5862, allocations: 64 / 0.7346 GB, free: 17.54 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 4.39e-05/0.5863, allocations: 49.36 kB / 0.7346 GB, free: 17.51 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.5864, allocations: 7.094 kB / 0.7346 GB, free: 17.5 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.5867, allocations: 265.7 kB / 0.7349 GB, free: 17.28 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.587, allocations: 0.7223 MB / 0.7356 GB, free: 16.54 MB / 0.5109 GB Notification: Performance of SimCode: time 2.51e-07/0.587, allocations: 4 kB / 0.7356 GB, free: 16.53 MB / 0.5109 GB Notification: Performance of Templates: time 0.00226/0.5892, allocations: 0.9834 MB / 0.7366 GB, free: 15.56 MB / 0.5109 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches