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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 175.4 kB / 8.348 MB, free: 0.7266 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.218/1.218, allocations: 221.5 MB / 230.3 MB, free: 7.547 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.0009715/0.0009714, allocations: 86.27 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8056/0.8056, allocations: 120.5 MB / 452.4 MB, free: 10.47 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 9.869e-06/9.899e-06, allocations: 0 / 0.5288 GB, free: 1.297 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4813, allocations: 82.84 MB / 0.6097 GB, free: 13.03 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.6099, allocations: 124.5 MB / 0.7312 GB, free: 420 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001077/0.61, allocations: 59.89 kB / 0.7313 GB, free: 364 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.002798/0.6128, allocations: 0.9706 MB / 0.7322 GB, free: 15.38 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6128, allocations: 0 / 0.7322 GB, free: 15.38 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.6129, allocations: 0 / 0.7322 GB, free: 15.38 MB / 0.5419 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.000351/0.6132, allocations: 354.5 kB / 0.7326 GB, free: 14.99 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.6133, allocations: 8.031 kB / 0.7326 GB, free: 14.98 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.6133, allocations: 11.86 kB / 0.7326 GB, free: 14.97 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.6135, allocations: 186.9 kB / 0.7328 GB, free: 14.75 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.6135, allocations: 4 kB / 0.7328 GB, free: 14.75 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.6136, allocations: 4 kB / 0.7328 GB, free: 14.74 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.155e-05/0.6136, allocations: 27.98 kB / 0.7328 GB, free: 14.71 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.6138, allocations: 69.66 kB / 0.7329 GB, free: 14.64 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.6138, allocations: 4 kB / 0.7329 GB, free: 14.64 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.6138, allocations: 0 / 0.7329 GB, free: 14.64 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.6138, allocations: 7.953 kB / 0.7329 GB, free: 14.63 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.6143, allocations: 289.3 kB / 0.7332 GB, free: 14.31 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.6144, allocations: 114.5 kB / 0.7333 GB, free: 14.19 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.6145, allocations: 32.86 kB / 0.7333 GB, free: 14.15 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.6145, allocations: 4 kB / 0.7333 GB, free: 14.15 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.6145, allocations: 34.56 kB / 0.7333 GB, free: 14.11 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.6145, allocations: 0 / 0.7333 GB, free: 14.11 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10): time 0.0001951/0.6147, allocations: 113.7 kB / 0.7335 GB, free: 13.99 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.6148, allocations: 55.41 kB / 0.7335 GB, free: 13.92 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.6148, allocations: 96.98 kB / 0.7336 GB, free: 13.82 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.6148, allocations: 25.7 kB / 0.7336 GB, free: 13.79 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.6149, allocations: 84.27 kB / 0.7337 GB, free: 13.7 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.6149, allocations: 51.36 kB / 0.7338 GB, free: 13.65 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-06/0.6149, allocations: 0 / 0.7338 GB, free: 13.65 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.615, allocations: 318.8 kB / 0.7341 GB, free: 13.33 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.6151, allocations: 56.34 kB / 0.7341 GB, free: 13.27 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.958e-05/0.6152, allocations: 74.23 kB / 0.7342 GB, free: 13.2 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.928e-05/0.6153, allocations: 67.95 kB / 0.7342 GB, free: 13.13 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6153, allocations: 3.938 kB / 0.7342 GB, free: 13.12 MB / 0.5419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002189/0.6155, allocations: 183.7 kB / 0.7344 GB, free: 12.94 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.6156, allocations: 4 kB / 0.7344 GB, free: 12.94 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.6156, allocations: 7.984 kB / 0.7344 GB, free: 12.93 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.6156, allocations: 0 / 0.7344 GB, free: 12.93 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.6158, allocations: 51.92 kB / 0.7345 GB, free: 12.88 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.6158, allocations: 3.953 kB / 0.7345 GB, free: 12.88 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.198e-05/0.6159, allocations: 15.83 kB / 0.7345 GB, free: 12.86 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.6159, allocations: 4 kB / 0.7345 GB, free: 12.86 MB / 0.5419 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.34e-05/0.6159, allocations: 101 kB / 0.7346 GB, free: 12.75 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.616, allocations: 8.031 kB / 0.7346 GB, free: 12.74 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.616, allocations: 12.41 kB / 0.7346 GB, free: 12.73 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.616, allocations: 4 kB / 0.7346 GB, free: 12.72 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.616, allocations: 0 / 0.7346 GB, free: 12.72 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.616, allocations: 11.89 kB / 0.7346 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.6163, allocations: 174.2 kB / 0.7348 GB, free: 12.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6163, allocations: 0 / 0.7348 GB, free: 12.5 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.6165, allocations: 47.98 kB / 0.7349 GB, free: 12.46 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.6166, allocations: 3.984 kB / 0.7349 GB, free: 12.45 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.6166, allocations: 4.109 kB / 0.7349 GB, free: 12.45 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6166, allocations: 7.938 kB / 0.7349 GB, free: 12.44 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6166, allocations: 192 / 0.7349 GB, free: 12.44 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.6168, allocations: 243.3 kB / 0.7351 GB, free: 12.19 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.6169, allocations: 92.92 kB / 0.7352 GB, free: 12.08 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.6169, allocations: 4 kB / 0.7352 GB, free: 12.07 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.617, allocations: 3.984 kB / 0.7352 GB, free: 12.07 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.617, allocations: 4 kB / 0.7352 GB, free: 12.07 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.617, allocations: 12 kB / 0.7352 GB, free: 12.05 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 2.835e-05/0.617, allocations: 83.27 kB / 0.7353 GB, free: 11.97 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6171, allocations: 0 / 0.7353 GB, free: 11.97 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002248/0.6173, allocations: 16 kB / 0.7353 GB, free: 11.96 MB / 0.5419 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 9.267e-05/0.6174, allocations: 99.28 kB / 0.7354 GB, free: 11.85 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001809/0.6176, allocations: 119.8 kB / 0.7355 GB, free: 11.73 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6176, allocations: 0 / 0.7355 GB, free: 11.73 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 4.775e-05/0.6176, allocations: 40.05 kB / 0.7356 GB, free: 11.7 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.6178, allocations: 4 kB / 0.7356 GB, free: 11.69 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.6181, allocations: 288.1 kB / 0.7358 GB, free: 11.38 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.6183, allocations: 0.7002 MB / 0.7365 GB, free: 10.66 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 7.618e-05/0.6184, allocations: 40.38 kB / 0.7366 GB, free: 10.61 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.6184, allocations: 15.44 kB / 0.7366 GB, free: 10.6 MB / 0.5419 GB Notification: Performance of SimCode: time 2.4e-07/0.6184, allocations: 0 / 0.7366 GB, free: 10.6 MB / 0.5419 GB Notification: Performance of Templates: time 0.002153/0.6206, allocations: 0.703 MB / 0.7373 GB, free: 9.895 MB / 0.5419 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