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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 182.7 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.216/1.216, allocations: 223.2 MB / 240.3 MB, free: 10.16 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.0008507/0.0008506, allocations: 93.48 kB / 291.5 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7634/0.7634, allocations: 120.5 MB / 463.1 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 4 kB / 0.5433 GB, free: 42.41 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.136, allocations: 82.84 MB / 0.6242 GB, free: 9.262 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7813/0.9174, allocations: 125.2 MB / 0.7465 GB, free: 8.605 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001632/0.9176, allocations: 46.86 kB / 0.7466 GB, free: 8.586 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.003026/0.9206, allocations: 0.9722 MB / 0.7475 GB, free: 7.711 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9206, allocations: 0 / 0.7475 GB, free: 7.711 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.9206, allocations: 0 / 0.7475 GB, free: 7.711 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.0004252/0.9211, allocations: 375.7 kB / 0.7479 GB, free: 7.301 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.9211, allocations: 8.031 kB / 0.7479 GB, free: 7.293 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.9212, allocations: 7.953 kB / 0.7479 GB, free: 7.285 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.9214, allocations: 175 kB / 0.7481 GB, free: 7.074 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.9214, allocations: 3.875 kB / 0.7481 GB, free: 7.074 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.9214, allocations: 15.72 kB / 0.7481 GB, free: 7.062 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.9216, allocations: 84.75 kB / 0.7482 GB, free: 6.98 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.9216, allocations: 0 / 0.7482 GB, free: 6.98 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.9216, allocations: 7.812 kB / 0.7482 GB, free: 6.977 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.9216, allocations: 3.953 kB / 0.7482 GB, free: 6.973 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.007e-05/0.9217, allocations: 27.8 kB / 0.7482 GB, free: 6.953 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.9223, allocations: 324.4 kB / 0.7485 GB, free: 6.602 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.9225, allocations: 117.3 kB / 0.7486 GB, free: 6.504 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.9225, allocations: 4 kB / 0.7486 GB, free: 6.5 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.9225, allocations: 35.44 kB / 0.7486 GB, free: 6.457 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.9225, allocations: 0 / 0.7486 GB, free: 6.457 MB / 0.5107 GB Notification: Performance of matching and sorting (n=10): time 0.0002774/0.9228, allocations: 148.5 kB / 0.7488 GB, free: 6.332 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.9228, allocations: 55.41 kB / 0.7488 GB, free: 6.266 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.9229, allocations: 92.88 kB / 0.7489 GB, free: 6.172 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.9229, allocations: 25.7 kB / 0.749 GB, free: 6.141 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.923, allocations: 88.14 kB / 0.749 GB, free: 6.051 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.923, allocations: 50.41 kB / 0.7491 GB, free: 6.008 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.923, allocations: 0 / 0.7491 GB, free: 6.008 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.9232, allocations: 322.7 kB / 0.7494 GB, free: 5.688 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.9233, allocations: 59.89 kB / 0.7495 GB, free: 5.645 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.716e-05/0.9234, allocations: 81.53 kB / 0.7495 GB, free: 5.578 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.9235, allocations: 79.33 kB / 0.7496 GB, free: 5.52 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9235, allocations: 112 / 0.7496 GB, free: 5.52 MB / 0.5107 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002388/0.9237, allocations: 195.1 kB / 0.7498 GB, free: 5.363 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.9237, allocations: 4 kB / 0.7498 GB, free: 5.359 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.9238, allocations: 8.031 kB / 0.7498 GB, free: 5.352 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.9238, allocations: 3.953 kB / 0.7498 GB, free: 5.348 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.924, allocations: 55.91 kB / 0.7499 GB, free: 5.293 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.924, allocations: 0 / 0.7499 GB, free: 5.293 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.9241, allocations: 15.78 kB / 0.7499 GB, free: 5.281 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.9241, allocations: 4 kB / 0.7499 GB, free: 5.277 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 9.878e-05/0.9242, allocations: 121.7 kB / 0.75 GB, free: 5.152 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.9242, allocations: 12.22 kB / 0.75 GB, free: 5.145 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.9243, allocations: 15.84 kB / 0.75 GB, free: 5.133 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.9243, allocations: 4 kB / 0.75 GB, free: 5.129 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.9243, allocations: 3.953 kB / 0.75 GB, free: 5.125 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.9243, allocations: 3.938 kB / 0.75 GB, free: 5.121 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.9246, allocations: 189.4 kB / 0.7502 GB, free: 4.895 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9246, allocations: 0 / 0.7502 GB, free: 4.895 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.9249, allocations: 55.91 kB / 0.7503 GB, free: 4.844 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.9249, allocations: 0 / 0.7503 GB, free: 4.844 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.9249, allocations: 4 kB / 0.7503 GB, free: 4.84 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.9249, allocations: 0 / 0.7503 GB, free: 4.84 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9249, allocations: 0 / 0.7503 GB, free: 4.84 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.9253, allocations: 254 kB / 0.7505 GB, free: 4.605 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.9253, allocations: 84.95 kB / 0.7506 GB, free: 4.504 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.9254, allocations: 7.984 kB / 0.7506 GB, free: 4.496 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.9254, allocations: 7.812 kB / 0.7506 GB, free: 4.492 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.9255, allocations: 11.94 kB / 0.7506 GB, free: 4.48 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.9255, allocations: 96 / 0.7506 GB, free: 4.48 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 4.679e-05/0.9255, allocations: 87.2 kB / 0.7507 GB, free: 4.395 MB / 0.5107 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9256, allocations: 4 kB / 0.7507 GB, free: 4.391 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0002315/0.9258, allocations: 23.81 kB / 0.7507 GB, free: 4.371 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.000154/0.926, allocations: 98.94 kB / 0.7508 GB, free: 4.27 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.9262, allocations: 125.5 kB / 0.7509 GB, free: 4.176 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9262, allocations: 0 / 0.7509 GB, free: 4.176 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 5.842e-05/0.9263, allocations: 39.61 kB / 0.751 GB, free: 4.145 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.9264, allocations: 11.98 kB / 0.751 GB, free: 4.137 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.9269, allocations: 369.9 kB / 0.7513 GB, free: 3.758 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.9272, allocations: 0.7004 MB / 0.752 GB, free: 3.031 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 7.943e-05/0.9273, allocations: 44.31 kB / 0.7521 GB, free: 2.984 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.9273, allocations: 15.44 kB / 0.7521 GB, free: 2.969 MB / 0.5107 GB Notification: Performance of SimCode: time 3.01e-07/0.9273, allocations: 0 / 0.7521 GB, free: 2.969 MB / 0.5107 GB Notification: Performance of Templates: time 0.002634/0.93, allocations: 0.7207 MB / 0.7528 GB, free: 2.266 MB / 0.5107 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/jenkins/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