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.0009899/0.0009901, allocations: 174.4 kB / 13.63 MB, free: 1.684 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.226/1.226, allocations: 221.3 MB / 235.5 MB, free: 2.949 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.0008086/0.0008086, allocations: 95.83 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8412/0.8412, allocations: 120.4 MB / 457.8 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.372e-05/2.389e-05, allocations: 0 / 0.5357 GB, free: 12.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5088/0.5088, allocations: 82.84 MB / 0.6166 GB, free: 9.348 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/0.6479, allocations: 125.1 MB / 0.7388 GB, free: 12.07 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001218/0.6481, allocations: 51.92 kB / 0.7389 GB, free: 12.02 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.002882/0.651, allocations: 0.9667 MB / 0.7398 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.112e-06/0.651, allocations: 0 / 0.7398 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.651, allocations: 0 / 0.7398 GB, free: 11.05 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.0003492/0.6514, allocations: 361.7 kB / 0.7402 GB, free: 10.65 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.6514, allocations: 8.031 kB / 0.7402 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.6515, allocations: 15.86 kB / 0.7402 GB, free: 10.63 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.6517, allocations: 182.9 kB / 0.7404 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.6517, allocations: 8 kB / 0.7404 GB, free: 10.4 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.6517, allocations: 4 kB / 0.7404 GB, free: 10.4 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.6519, allocations: 77.64 kB / 0.7404 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.6519, allocations: 0 / 0.7404 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.6519, allocations: 4 kB / 0.7404 GB, free: 10.31 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.6519, allocations: 0 / 0.7404 GB, free: 10.31 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.897e-05/0.652, allocations: 35.95 kB / 0.7405 GB, free: 10.28 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.6525, allocations: 328.7 kB / 0.7408 GB, free: 9.906 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.6527, allocations: 118.5 kB / 0.7409 GB, free: 9.781 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.6527, allocations: 40.84 kB / 0.7409 GB, free: 9.738 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.6527, allocations: 0 / 0.7409 GB, free: 9.738 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.6528, allocations: 30.84 kB / 0.741 GB, free: 9.699 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=10): time 8.92e-07/0.6528, allocations: 0 / 0.741 GB, free: 9.699 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10): time 0.0002141/0.653, allocations: 121.5 kB / 0.7411 GB, free: 9.574 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.653, allocations: 51.41 kB / 0.7411 GB, free: 9.512 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.006e-05/0.6531, allocations: 93 kB / 0.7412 GB, free: 9.414 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.6531, allocations: 25.7 kB / 0.7412 GB, free: 9.383 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.6532, allocations: 88.27 kB / 0.7413 GB, free: 9.289 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.6532, allocations: 51.28 kB / 0.7414 GB, free: 9.238 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.6532, allocations: 4 kB / 0.7414 GB, free: 9.234 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.6533, allocations: 318.8 kB / 0.7417 GB, free: 8.914 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.462e-05/0.6534, allocations: 68.42 kB / 0.7418 GB, free: 8.848 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.55e-05/0.6535, allocations: 81.19 kB / 0.7418 GB, free: 8.766 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.6536, allocations: 74.52 kB / 0.7419 GB, free: 8.695 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.6536, allocations: 0 / 0.7419 GB, free: 8.695 MB / 0.5419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002543/0.6539, allocations: 193.4 kB / 0.7421 GB, free: 8.5 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.6539, allocations: 8 kB / 0.7421 GB, free: 8.492 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.6539, allocations: 0 / 0.7421 GB, free: 8.492 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.6539, allocations: 3.953 kB / 0.7421 GB, free: 8.488 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.6542, allocations: 56 kB / 0.7422 GB, free: 8.434 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.6542, allocations: 0 / 0.7422 GB, free: 8.434 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.398e-05/0.6542, allocations: 15.84 kB / 0.7422 GB, free: 8.418 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.6543, allocations: 4 kB / 0.7422 GB, free: 8.414 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.168e-05/0.6543, allocations: 116.9 kB / 0.7423 GB, free: 8.293 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.6544, allocations: 4 kB / 0.7423 GB, free: 8.289 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.6544, allocations: 12.09 kB / 0.7423 GB, free: 8.277 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6544, allocations: 0 / 0.7423 GB, free: 8.277 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6544, allocations: 3.953 kB / 0.7423 GB, free: 8.273 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6544, allocations: 8.109 kB / 0.7423 GB, free: 8.266 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.6547, allocations: 197.5 kB / 0.7425 GB, free: 8.023 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6547, allocations: 0 / 0.7425 GB, free: 8.023 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.655, allocations: 51.97 kB / 0.7425 GB, free: 7.973 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.655, allocations: 4 kB / 0.7426 GB, free: 7.969 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.655, allocations: 3.984 kB / 0.7426 GB, free: 7.965 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.655, allocations: 7.938 kB / 0.7426 GB, free: 7.957 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.655, allocations: 0 / 0.7426 GB, free: 7.957 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.6553, allocations: 247.3 kB / 0.7428 GB, free: 7.699 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.6553, allocations: 92.94 kB / 0.7429 GB, free: 7.59 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.6554, allocations: 0 / 0.7429 GB, free: 7.59 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.6554, allocations: 7.984 kB / 0.7429 GB, free: 7.582 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.6555, allocations: 7.953 kB / 0.7429 GB, free: 7.574 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.6555, allocations: 4.188 kB / 0.7429 GB, free: 7.57 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 4.086e-05/0.6555, allocations: 87.25 kB / 0.743 GB, free: 7.484 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6555, allocations: 0 / 0.743 GB, free: 7.484 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002151/0.6558, allocations: 24.28 kB / 0.743 GB, free: 7.461 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.63e-05/0.6559, allocations: 99.25 kB / 0.7431 GB, free: 7.352 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.6561, allocations: 127.9 kB / 0.7432 GB, free: 7.227 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.6561, allocations: 0 / 0.7432 GB, free: 7.227 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 5.716e-05/0.6561, allocations: 39.92 kB / 0.7433 GB, free: 7.188 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.6563, allocations: 8 kB / 0.7433 GB, free: 7.18 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.6566, allocations: 285.2 kB / 0.7435 GB, free: 6.879 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.6568, allocations: 0.7081 MB / 0.7442 GB, free: 6.145 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 7.535e-05/0.6569, allocations: 40.36 kB / 0.7443 GB, free: 6.102 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.657, allocations: 11.44 kB / 0.7443 GB, free: 6.09 MB / 0.5419 GB Notification: Performance of SimCode: time 2.81e-07/0.657, allocations: 4 kB / 0.7443 GB, free: 6.086 MB / 0.5419 GB Notification: Performance of Templates: time 0.002294/0.6593, allocations: 0.7378 MB / 0.745 GB, free: 5.348 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