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.001476/0.001477, allocations: 180 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 85.75 kB / 291.5 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.176/1.176, allocations: 120.5 MB / 463.1 MB, free: 8.738 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003591, allocations: 8 kB / 0.5433 GB, free: 42.41 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2107, allocations: 82.85 MB / 0.6242 GB, free: 9.254 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.218/1.428, allocations: 125.2 MB / 0.7465 GB, free: 8.723 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/1.429, allocations: 46.42 kB / 0.7466 GB, free: 8.703 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.003268/1.432, allocations: 0.9676 MB / 0.7475 GB, free: 7.84 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.535e-06/1.432, allocations: 0 / 0.7475 GB, free: 7.84 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.414e-05/1.432, allocations: 0 / 0.7475 GB, free: 7.84 MB / 0.5107 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.0005003/1.433, allocations: 375.7 kB / 0.7479 GB, free: 7.43 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/1.433, allocations: 12.03 kB / 0.7479 GB, free: 7.418 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/1.433, allocations: 3.953 kB / 0.7479 GB, free: 7.414 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/1.433, allocations: 179 kB / 0.7481 GB, free: 7.199 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/1.433, allocations: 0 / 0.7481 GB, free: 7.199 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/1.433, allocations: 11.84 kB / 0.7481 GB, free: 7.191 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/1.433, allocations: 81.33 kB / 0.7481 GB, free: 7.117 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.433, allocations: 3.984 kB / 0.7481 GB, free: 7.113 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/1.433, allocations: 4 kB / 0.7482 GB, free: 7.109 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/1.433, allocations: 7.953 kB / 0.7482 GB, free: 7.102 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.294e-05/1.433, allocations: 31.22 kB / 0.7482 GB, free: 7.078 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/1.434, allocations: 316.2 kB / 0.7485 GB, free: 6.734 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/1.434, allocations: 121.2 kB / 0.7486 GB, free: 6.633 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/1.434, allocations: 0 / 0.7486 GB, free: 6.633 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/1.434, allocations: 46.11 kB / 0.7487 GB, free: 6.582 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/1.434, allocations: 0 / 0.7487 GB, free: 6.582 MB / 0.5107 GB Notification: Performance of matching and sorting (n=10): time 0.0003162/1.434, allocations: 145 kB / 0.7488 GB, free: 6.461 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/1.435, allocations: 55.34 kB / 0.7488 GB, free: 6.395 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/1.435, allocations: 89 kB / 0.7489 GB, free: 6.301 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/1.435, allocations: 37.62 kB / 0.749 GB, free: 6.262 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/1.435, allocations: 84.27 kB / 0.749 GB, free: 6.172 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/1.435, allocations: 43.05 kB / 0.7491 GB, free: 6.137 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/1.435, allocations: 11.75 kB / 0.7491 GB, free: 6.129 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.435, allocations: 314.8 kB / 0.7494 GB, free: 5.812 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/1.435, allocations: 63.2 kB / 0.7495 GB, free: 5.766 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/1.435, allocations: 77.73 kB / 0.7495 GB, free: 5.703 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/1.435, allocations: 76.84 kB / 0.7496 GB, free: 5.652 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.435, allocations: 112 / 0.7496 GB, free: 5.652 MB / 0.5107 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002619/1.436, allocations: 199.4 kB / 0.7498 GB, free: 5.488 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.436, allocations: 10.84 kB / 0.7498 GB, free: 5.48 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.436, allocations: 0 / 0.7498 GB, free: 5.48 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/1.436, allocations: 7.953 kB / 0.7498 GB, free: 5.473 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/1.436, allocations: 51.91 kB / 0.7499 GB, free: 5.426 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/1.436, allocations: 4 kB / 0.7499 GB, free: 5.422 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/1.436, allocations: 15.83 kB / 0.7499 GB, free: 5.406 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/1.436, allocations: 15.81 kB / 0.7499 GB, free: 5.398 MB / 0.5107 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 () * Number of clocked 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 0.0001016/1.436, allocations: 113.7 kB / 0.75 GB, free: 5.281 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/1.436, allocations: 7.906 kB / 0.75 GB, free: 5.273 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.047e-05/1.436, allocations: 15.72 kB / 0.75 GB, free: 5.262 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.436, allocations: 0 / 0.75 GB, free: 5.262 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.436, allocations: 4.328 kB / 0.75 GB, free: 5.258 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/1.436, allocations: 7.984 kB / 0.75 GB, free: 5.25 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/1.436, allocations: 189 kB / 0.7502 GB, free: 5.023 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.437, allocations: 0 / 0.7502 GB, free: 5.023 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/1.437, allocations: 59.41 kB / 0.7503 GB, free: 4.969 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/1.437, allocations: 4 kB / 0.7503 GB, free: 4.965 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/1.437, allocations: 3.984 kB / 0.7503 GB, free: 4.961 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.437, allocations: 4 kB / 0.7503 GB, free: 4.957 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.437, allocations: 4 kB / 0.7503 GB, free: 4.953 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/1.437, allocations: 246.5 kB / 0.7505 GB, free: 4.727 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/1.437, allocations: 88.95 kB / 0.7506 GB, free: 4.621 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/1.437, allocations: 4 kB / 0.7506 GB, free: 4.617 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/1.437, allocations: 3.984 kB / 0.7506 GB, free: 4.613 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/1.437, allocations: 7.953 kB / 0.7506 GB, free: 4.605 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/1.437, allocations: 11.8 kB / 0.7506 GB, free: 4.598 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 4.255e-05/1.437, allocations: 79.28 kB / 0.7507 GB, free: 4.52 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.437, allocations: 4 kB / 0.7507 GB, free: 4.516 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.000222/1.438, allocations: 19.88 kB / 0.7507 GB, free: 4.5 MB / 0.5107 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 () * Number of clocked 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.0001299/1.438, allocations: 107.1 kB / 0.7508 GB, free: 4.391 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0002224/1.438, allocations: 117.3 kB / 0.7509 GB, free: 4.301 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.438, allocations: 4 kB / 0.751 GB, free: 4.297 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 5.845e-05/1.438, allocations: 43.59 kB / 0.751 GB, free: 4.266 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/1.438, allocations: 4.062 kB / 0.751 GB, free: 4.262 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/1.439, allocations: 376.2 kB / 0.7514 GB, free: 3.879 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/1.439, allocations: 0.7004 MB / 0.752 GB, free: 3.152 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 8.636e-05/1.439, allocations: 40.84 kB / 0.7521 GB, free: 3.109 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/1.439, allocations: 11.44 kB / 0.7521 GB, free: 3.098 MB / 0.5107 GB Notification: Performance of SimCode: time 2.11e-07/1.439, allocations: 0 / 0.7521 GB, free: 3.098 MB / 0.5107 GB Notification: Performance of Templates: time 0.002955/1.442, allocations: 0.7234 MB / 0.7528 GB, free: 2.387 MB / 0.5107 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