Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001018/0.001018, allocations: 180.2 kB / 8.129 MB, free: 0.8633 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.097/1.097, allocations: 221.4 MB / 229.9 MB, free: 13.59 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000924/0.000924, allocations: 100.1 kB / 280.8 MB, free: 10.55 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6273/0.6273, allocations: 120.4 MB / 452 MB, free: 2.547 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 6.122e-06/6.272e-06, allocations: 3.938 kB / 0.5282 GB, free: 9.805 MB / 418.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3499, allocations: 82.85 MB / 0.6091 GB, free: 4.73 MB / 418.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.4715, allocations: 124.4 MB / 0.7306 GB, free: 8.188 MB / 0.5341 GB Notification: Performance of FrontEnd - mkProgramGraph: time 9.531e-05/0.4716, allocations: 55.98 kB / 0.7306 GB, free: 8.133 MB / 0.5341 GB Notification: Performance of FrontEnd: time 0.002752/0.4744, allocations: 0.6645 MB / 0.7313 GB, free: 7.473 MB / 0.5341 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.4744, allocations: 4 kB / 0.7313 GB, free: 7.469 MB / 0.5341 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.0003526/0.4747, allocations: 350.4 kB / 0.7316 GB, free: 7.082 MB / 0.5341 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.4748, allocations: 12.03 kB / 0.7316 GB, free: 7.07 MB / 0.5341 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.4748, allocations: 7.906 kB / 0.7317 GB, free: 7.062 MB / 0.5341 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.475, allocations: 186.9 kB / 0.7318 GB, free: 6.84 MB / 0.5341 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.475, allocations: 0 / 0.7318 GB, free: 6.84 MB / 0.5341 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.4751, allocations: 4 kB / 0.7318 GB, free: 6.836 MB / 0.5341 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.686e-05/0.4752, allocations: 35.92 kB / 0.7319 GB, free: 6.801 MB / 0.5341 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.4753, allocations: 73.59 kB / 0.7319 GB, free: 6.723 MB / 0.5341 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.4753, allocations: 0 / 0.7319 GB, free: 6.723 MB / 0.5341 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4753, allocations: 0 / 0.7319 GB, free: 6.723 MB / 0.5341 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.4753, allocations: 11.91 kB / 0.732 GB, free: 6.711 MB / 0.5341 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.4758, allocations: 293.3 kB / 0.7322 GB, free: 6.387 MB / 0.5341 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.4759, allocations: 118.5 kB / 0.7323 GB, free: 6.262 MB / 0.5341 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.476, allocations: 32.86 kB / 0.7324 GB, free: 6.227 MB / 0.5341 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.476, allocations: 4 kB / 0.7324 GB, free: 6.223 MB / 0.5341 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.476, allocations: 34.56 kB / 0.7324 GB, free: 6.18 MB / 0.5341 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.476, allocations: 0 / 0.7324 GB, free: 6.18 MB / 0.5341 GB Notification: Performance of matching and sorting (n=10): time 0.0002126/0.4763, allocations: 109.8 kB / 0.7325 GB, free: 6.066 MB / 0.5341 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.4763, allocations: 51.41 kB / 0.7326 GB, free: 6.004 MB / 0.5341 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.404e-05/0.4764, allocations: 96.98 kB / 0.7327 GB, free: 5.902 MB / 0.5341 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.4764, allocations: 25.7 kB / 0.7327 GB, free: 5.871 MB / 0.5341 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.4764, allocations: 84.27 kB / 0.7328 GB, free: 5.781 MB / 0.5341 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.4765, allocations: 47.36 kB / 0.7328 GB, free: 5.734 MB / 0.5341 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.4765, allocations: 96 / 0.7328 GB, free: 5.734 MB / 0.5341 GB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.4766, allocations: 330.8 kB / 0.7331 GB, free: 5.402 MB / 0.5341 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.4767, allocations: 60.34 kB / 0.7332 GB, free: 5.344 MB / 0.5341 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.482e-05/0.4768, allocations: 78.23 kB / 0.7333 GB, free: 5.262 MB / 0.5341 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.999e-05/0.4769, allocations: 74.14 kB / 0.7333 GB, free: 5.191 MB / 0.5341 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.4769, allocations: 3.984 kB / 0.7333 GB, free: 5.188 MB / 0.5341 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002433/0.4771, allocations: 189.4 kB / 0.7335 GB, free: 4.996 MB / 0.5341 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.4772, allocations: 5.25 kB / 0.7335 GB, free: 4.992 MB / 0.5341 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4772, allocations: 8.016 kB / 0.7335 GB, free: 4.984 MB / 0.5341 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.4772, allocations: 0 / 0.7335 GB, free: 4.984 MB / 0.5341 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.4774, allocations: 47.98 kB / 0.7336 GB, free: 4.938 MB / 0.5341 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.4774, allocations: 0 / 0.7336 GB, free: 4.938 MB / 0.5341 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.53e-05/0.4775, allocations: 15.78 kB / 0.7336 GB, free: 4.922 MB / 0.5341 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.4775, allocations: 4.109 kB / 0.7336 GB, free: 4.918 MB / 0.5341 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.495e-05/0.4776, allocations: 108.9 kB / 0.7337 GB, free: 4.805 MB / 0.5341 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.4776, allocations: 7.906 kB / 0.7337 GB, free: 4.797 MB / 0.5341 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.4776, allocations: 16.06 kB / 0.7337 GB, free: 4.777 MB / 0.5341 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.4776, allocations: 8 kB / 0.7337 GB, free: 4.77 MB / 0.5341 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4776, allocations: 0 / 0.7337 GB, free: 4.77 MB / 0.5341 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4777, allocations: 0 / 0.7337 GB, free: 4.77 MB / 0.5341 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.4779, allocations: 166.1 kB / 0.7339 GB, free: 4.57 MB / 0.5341 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4779, allocations: 0 / 0.7339 GB, free: 4.57 MB / 0.5341 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.4782, allocations: 59.91 kB / 0.7339 GB, free: 4.512 MB / 0.5341 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4782, allocations: 0 / 0.7339 GB, free: 4.512 MB / 0.5341 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.4782, allocations: 4 kB / 0.7339 GB, free: 4.508 MB / 0.5341 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4782, allocations: 0 / 0.7339 GB, free: 4.508 MB / 0.5341 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4782, allocations: 3.984 kB / 0.7339 GB, free: 4.504 MB / 0.5341 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002391/0.4785, allocations: 242 kB / 0.7342 GB, free: 4.254 MB / 0.5341 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.4785, allocations: 88.95 kB / 0.7343 GB, free: 4.148 MB / 0.5341 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.4786, allocations: 4 kB / 0.7343 GB, free: 4.145 MB / 0.5341 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.4787, allocations: 3.984 kB / 0.7343 GB, free: 4.141 MB / 0.5341 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.4787, allocations: 4.188 kB / 0.7343 GB, free: 4.137 MB / 0.5341 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.4787, allocations: 7.984 kB / 0.7343 GB, free: 4.129 MB / 0.5341 GB Notification: Performance of sort global known variables: time 3.255e-05/0.4787, allocations: 83.55 kB / 0.7344 GB, free: 4.047 MB / 0.5341 GB Notification: Performance of remove unused functions: time 0.0002282/0.479, allocations: 24 kB / 0.7344 GB, free: 4.023 MB / 0.5341 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.0001058/0.4791, allocations: 95.25 kB / 0.7345 GB, free: 3.922 MB / 0.5341 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.4793, allocations: 127.9 kB / 0.7346 GB, free: 3.797 MB / 0.5341 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4793, allocations: 0 / 0.7346 GB, free: 3.797 MB / 0.5341 GB Notification: Performance of simCode: created simulation system equations: time 5.461e-05/0.4793, allocations: 43.92 kB / 0.7346 GB, free: 3.754 MB / 0.5341 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.4795, allocations: 0 / 0.7346 GB, free: 3.754 MB / 0.5341 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.4799, allocations: 278.9 kB / 0.7349 GB, free: 3.457 MB / 0.5341 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.4802, allocations: 0.7191 MB / 0.7356 GB, free: 2.711 MB / 0.5341 GB Notification: Performance of SimCode: time 1.593e-06/0.4802, allocations: 0 / 0.7356 GB, free: 2.711 MB / 0.5341 GB Notification: Performance of Templates: time 0.002504/0.4827, allocations: 0.9812 MB / 0.7366 GB, free: 1.734 MB / 0.5341 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches