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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.000844/0.000844, allocations: 176.4 kB / 17.4 MB, free: 4.426 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.4 MB / 223.5 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006812/0.0006812, allocations: 78.36 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7813/0.7813, allocations: 120.4 MB / 440.6 MB, free: 4.086 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003324, allocations: 15.94 kB / 0.5188 GB, free: 57.27 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1174, allocations: 80 MB / 0.5969 GB, free: 9.141 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5589/0.6763, allocations: 124.3 MB / 0.7183 GB, free: 18.88 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001295/0.6765, allocations: 50.61 kB / 0.7184 GB, free: 18.88 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.002457/0.679, allocations: 0.9493 MB / 0.7193 GB, free: 18.51 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.714e-06/0.679, allocations: 4 kB / 0.7193 GB, free: 18.5 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.679, allocations: 0 / 0.7193 GB, free: 18.5 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002969/0.6793, allocations: 370.1 kB / 0.7197 GB, free: 18.14 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.6794, allocations: 11.69 kB / 0.7197 GB, free: 18.14 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.6794, allocations: 0.9375 kB / 0.7197 GB, free: 18.14 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.6795, allocations: 185.2 kB / 0.7199 GB, free: 17.94 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.6796, allocations: 4.188 kB / 0.7199 GB, free: 17.94 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.6796, allocations: 8.219 kB / 0.7199 GB, free: 17.93 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.6797, allocations: 76.55 kB / 0.7199 GB, free: 17.9 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.6797, allocations: 4.125 kB / 0.72 GB, free: 17.9 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.6797, allocations: 3.938 kB / 0.72 GB, free: 17.89 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.6797, allocations: 3.844 kB / 0.72 GB, free: 17.89 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.955e-05/0.6798, allocations: 29.09 kB / 0.72 GB, free: 17.89 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.68, allocations: 188.6 kB / 0.7202 GB, free: 17.7 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.6802, allocations: 123.5 kB / 0.7203 GB, free: 17.68 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.6802, allocations: 33.55 kB / 0.7203 GB, free: 17.67 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.6803, allocations: 3.969 kB / 0.7203 GB, free: 17.67 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.6803, allocations: 38.44 kB / 0.7204 GB, free: 17.62 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.6803, allocations: 3.938 kB / 0.7204 GB, free: 17.62 MB / 0.4953 GB Notification: Performance of matching and sorting (n=10): time 0.0002237/0.6805, allocations: 148.8 kB / 0.7205 GB, free: 17.58 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.6805, allocations: 55.41 kB / 0.7206 GB, free: 17.51 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.576e-05/0.6806, allocations: 95.81 kB / 0.7206 GB, free: 17.41 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.6806, allocations: 33.48 kB / 0.7207 GB, free: 17.38 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.28e-05/0.6806, allocations: 80.14 kB / 0.7208 GB, free: 17.3 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.6807, allocations: 51.22 kB / 0.7208 GB, free: 17.27 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.6807, allocations: 3.844 kB / 0.7208 GB, free: 17.27 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.6807, allocations: 319.1 kB / 0.7211 GB, free: 16.95 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.776e-05/0.6808, allocations: 61.2 kB / 0.7212 GB, free: 16.95 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.45e-05/0.6809, allocations: 61.28 kB / 0.7212 GB, free: 16.95 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.681, allocations: 139 kB / 0.7214 GB, free: 16.93 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.681, allocations: 0 / 0.7214 GB, free: 16.93 MB / 0.4953 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001766/0.6812, allocations: 184 kB / 0.7215 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.6812, allocations: 6.375 kB / 0.7215 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.6812, allocations: 3.938 kB / 0.7215 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.6812, allocations: 0 / 0.7215 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.6814, allocations: 51.22 kB / 0.7216 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.6814, allocations: 3.844 kB / 0.7216 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.6815, allocations: 9.641 kB / 0.7216 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.6815, allocations: 7.688 kB / 0.7216 GB, free: 16.88 MB / 0.4953 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 20 * 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 5.315e-05/0.6815, allocations: 115.8 kB / 0.7217 GB, free: 16.77 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.6816, allocations: 7.781 kB / 0.7217 GB, free: 16.77 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.903e-05/0.6816, allocations: 15.59 kB / 0.7218 GB, free: 16.75 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.6816, allocations: 0 / 0.7218 GB, free: 16.75 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6816, allocations: 3.5 kB / 0.7218 GB, free: 16.75 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6816, allocations: 6.281 kB / 0.7218 GB, free: 16.75 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.6818, allocations: 195.7 kB / 0.7219 GB, free: 16.56 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6818, allocations: 0 / 0.7219 GB, free: 16.56 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.682, allocations: 55.48 kB / 0.722 GB, free: 16.55 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.6821, allocations: 3.984 kB / 0.722 GB, free: 16.55 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.6821, allocations: 10.12 kB / 0.722 GB, free: 16.55 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6821, allocations: 384 / 0.722 GB, free: 16.55 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.6821, allocations: 0 / 0.722 GB, free: 16.55 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.6823, allocations: 182.7 kB / 0.7222 GB, free: 16.47 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.6823, allocations: 79.92 kB / 0.7223 GB, free: 16.38 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.6823, allocations: 11.66 kB / 0.7223 GB, free: 16.37 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.6824, allocations: 14.84 kB / 0.7223 GB, free: 16.36 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.6824, allocations: 6.797 kB / 0.7223 GB, free: 16.36 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.6824, allocations: 0 / 0.7223 GB, free: 16.36 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 1.822e-05/0.6824, allocations: 79.09 kB / 0.7224 GB, free: 16.29 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6825, allocations: 0 / 0.7224 GB, free: 16.29 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0001762/0.6826, allocations: 26.22 kB / 0.7224 GB, free: 16.29 MB / 0.4953 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 8.087e-05/0.6827, allocations: 108.8 kB / 0.7225 GB, free: 16.2 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.6829, allocations: 123.7 kB / 0.7226 GB, free: 16.19 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6829, allocations: 0 / 0.7226 GB, free: 16.19 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 4.485e-05/0.683, allocations: 38.86 kB / 0.7227 GB, free: 16.19 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.6831, allocations: 8.938 kB / 0.7227 GB, free: 16.18 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.6835, allocations: 364.8 kB / 0.723 GB, free: 15.96 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.6836, allocations: 0.6975 MB / 0.7237 GB, free: 15.27 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 6.315e-05/0.6837, allocations: 34.92 kB / 0.7237 GB, free: 15.27 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.6837, allocations: 11.28 kB / 0.7237 GB, free: 15.26 MB / 0.4953 GB Notification: Performance of SimCode: time 2.4e-07/0.6837, allocations: 0 / 0.7237 GB, free: 15.26 MB / 0.4953 GB Notification: Performance of Templates: time 0.002074/0.6858, allocations: 0.7195 MB / 0.7244 GB, free: 14.69 MB / 0.4953 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/jenkins1/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