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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 112.5 kB / 21.19 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.068/1.068, allocations: 120.6 MB / 435.3 MB, free: 0.8359 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 63.89 kB / 0.608 GB, free: 10.45 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1944, allocations: 85.86 MB / 0.6918 GB, free: 4.379 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002916/0.1974, allocations: 1.21 MB / 0.693 GB, free: 3.164 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002025/0.1976, allocations: 23.89 kB / 0.693 GB, free: 3.141 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.1976, allocations: 0 / 0.693 GB, free: 3.141 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.23e-05/0.1977, allocations: 0 / 0.693 GB, free: 3.141 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 4.721e-05/0.1977, allocations: 11.94 kB / 0.693 GB, free: 3.129 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.1979, allocations: 11.97 kB / 0.693 GB, free: 3.117 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.198, allocations: 55.89 kB / 0.6931 GB, free: 3.062 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.34e-05/0.1981, allocations: 7.984 kB / 0.6931 GB, free: 3.055 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.855e-05/0.1981, allocations: 11.98 kB / 0.6931 GB, free: 3.043 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.59e-05/0.1982, allocations: 31.91 kB / 0.6931 GB, free: 3.012 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1982, allocations: 0 / 0.6931 GB, free: 3.012 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.1983, allocations: 4 kB / 0.6931 GB, free: 3.008 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.1983, allocations: 15.98 kB / 0.6932 GB, free: 2.992 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.1984, allocations: 23.86 kB / 0.6932 GB, free: 2.969 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.226e-05/0.1984, allocations: 35.83 kB / 0.6932 GB, free: 2.934 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1985, allocations: 4 kB / 0.6932 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.724e-06/0.1985, allocations: 0 / 0.6932 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1985, allocations: 0 / 0.6932 GB, free: 2.93 MB / 0.5139 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.000616/0.1991, allocations: 298.2 kB / 0.6935 GB, free: 2.605 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1991, allocations: 12.03 kB / 0.6935 GB, free: 2.594 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.1992, allocations: 8.938 kB / 0.6935 GB, free: 2.586 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1994, allocations: 122.5 kB / 0.6936 GB, free: 2.441 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1994, allocations: 4.312 kB / 0.6936 GB, free: 2.438 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.1994, allocations: 12.36 kB / 0.6936 GB, free: 2.426 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1996, allocations: 82.14 kB / 0.6937 GB, free: 2.34 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1996, allocations: 192 / 0.6937 GB, free: 2.34 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.1996, allocations: 7.938 kB / 0.6937 GB, free: 2.332 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1996, allocations: 0 / 0.6937 GB, free: 2.332 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.664e-05/0.1997, allocations: 27.98 kB / 0.6938 GB, free: 2.305 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.2002, allocations: 295.9 kB / 0.694 GB, free: 1.973 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.2005, allocations: 130.3 kB / 0.6942 GB, free: 1.836 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.2005, allocations: 36.84 kB / 0.6942 GB, free: 1.797 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.2005, allocations: 0 / 0.6942 GB, free: 1.797 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.2006, allocations: 30.56 kB / 0.6942 GB, free: 1.758 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=10): time 8.22e-07/0.2006, allocations: 0 / 0.6942 GB, free: 1.758 MB / 0.5139 GB Notification: Performance of matching and sorting (n=10): time 0.0003348/0.2009, allocations: 145.8 kB / 0.6944 GB, free: 1.609 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.2009, allocations: 59.41 kB / 0.6944 GB, free: 1.539 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.107e-05/0.201, allocations: 97.86 kB / 0.6945 GB, free: 1.434 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.2011, allocations: 25.7 kB / 0.6945 GB, free: 1.402 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.2011, allocations: 92.08 kB / 0.6946 GB, free: 1.309 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.2012, allocations: 43.64 kB / 0.6947 GB, free: 1.266 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.2012, allocations: 37.7 kB / 0.6947 GB, free: 1.223 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2014, allocations: 319 kB / 0.695 GB, free: 0.9023 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.802e-05/0.2015, allocations: 71.77 kB / 0.6951 GB, free: 0.832 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.2016, allocations: 87.75 kB / 0.6952 GB, free: 0.7422 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.2018, allocations: 140 kB / 0.6953 GB, free: 0.6016 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2018, allocations: 0 / 0.6953 GB, free: 0.6016 MB / 0.5139 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002811/0.2021, allocations: 193.5 kB / 0.6955 GB, free: 416 kB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.2021, allocations: 8 kB / 0.6955 GB, free: 408 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2021, allocations: 0 / 0.6955 GB, free: 408 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2021, allocations: 0 / 0.6955 GB, free: 408 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.2023, allocations: 59.94 kB / 0.6956 GB, free: 348 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2023, allocations: 0 / 0.6956 GB, free: 348 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.993e-05/0.2024, allocations: 23.81 kB / 0.6956 GB, free: 324 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.2024, allocations: 4 kB / 0.6956 GB, free: 320 kB / 0.5139 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.289e-05/0.2025, allocations: 113.8 kB / 0.6957 GB, free: 196 kB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.2025, allocations: 8.328 kB / 0.6957 GB, free: 188 kB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.2026, allocations: 12.06 kB / 0.6957 GB, free: 172 kB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2026, allocations: 8.172 kB / 0.6957 GB, free: 164 kB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2026, allocations: 0 / 0.6957 GB, free: 164 kB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2026, allocations: 15.86 kB / 0.6957 GB, free: 148 kB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.2028, allocations: 156.9 kB / 0.6959 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2028, allocations: 4 kB / 0.6959 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.2031, allocations: 55.84 kB / 0.6959 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2031, allocations: 0 / 0.6959 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.2031, allocations: 7.984 kB / 0.6959 GB, free: 15.88 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2031, allocations: 0 / 0.6959 GB, free: 15.88 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2031, allocations: 4 kB / 0.6959 GB, free: 15.88 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.2035, allocations: 255.3 kB / 0.6962 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.2035, allocations: 7.891 kB / 0.6962 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.2035, allocations: 8 kB / 0.6962 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.2036, allocations: 7.984 kB / 0.6962 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.2036, allocations: 7.984 kB / 0.6962 GB, free: 15.58 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.2036, allocations: 3.938 kB / 0.6962 GB, free: 15.58 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 5.212e-05/0.2037, allocations: 87.28 kB / 0.6963 GB, free: 15.49 MB / 0.5295 GB Notification: Performance of sort global known variables: time 6e-08/0.2037, allocations: 0 / 0.6963 GB, free: 15.49 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002391/0.2039, allocations: 24 kB / 0.6963 GB, free: 15.47 MB / 0.5295 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001001/0.204, allocations: 103.3 kB / 0.6964 GB, free: 15.36 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.2043, allocations: 115.9 kB / 0.6965 GB, free: 15.25 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.2043, allocations: 3.938 kB / 0.6965 GB, free: 15.24 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 6.876e-05/0.2043, allocations: 47.91 kB / 0.6966 GB, free: 15.2 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.2046, allocations: 6.922 kB / 0.6966 GB, free: 15.19 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.2051, allocations: 362.3 kB / 0.6969 GB, free: 14.8 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.2055, allocations: 0.7002 MB / 0.6976 GB, free: 14.08 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.2055, allocations: 11.44 kB / 0.6976 GB, free: 14.07 MB / 0.5295 GB Notification: Performance of SimCode: time 4.21e-07/0.2055, allocations: 3.938 kB / 0.6976 GB, free: 14.06 MB / 0.5295 GB Notification: Performance of Templates: time 0.002934/0.2084, allocations: 1.194 MB / 0.6988 GB, free: 12.87 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile [Timeout 300] (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) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.672565229935572]