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.002129/0.002129, allocations: 88.31 kB / 20.96 MB, free: 3.48 MB / 18.57 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.002531/0.002531, allocations: 161.7 kB / 24.26 MB, free: 180 kB / 18.57 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.481/1.481, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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 0.9858/0.9858, allocations: 88.06 MB / 349.1 MB, free: 14.22 MB / 330.7 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: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 450.8 MB, free: 33.15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.353e-05, allocations: 6.344 kB / 450.8 MB, free: 33.14 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002102/0.002135, allocations: 1.181 MB / 452 MB, free: 32.33 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001572/0.002292, allocations: 24.8 kB / 452 MB, free: 32.31 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.808e-05/0.002331, allocations: 2.781 kB / 452 MB, free: 32.31 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.002431, allocations: 4 kB / 452 MB, free: 32.31 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.767e-05/0.002469, allocations: 7.922 kB / 452 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.002647, allocations: 6.125 kB / 452 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.002769, allocations: 63.75 kB / 452.1 MB, free: 32.28 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.002813, allocations: 6.062 kB / 452.1 MB, free: 32.28 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.426e-05/0.002867, allocations: 18.56 kB / 452.1 MB, free: 32.28 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.002929, allocations: 27.23 kB / 452.1 MB, free: 32.27 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.002951, allocations: 3 kB / 452.1 MB, free: 32.27 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.002964, allocations: 2.562 kB / 452.1 MB, free: 32.27 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.003003, allocations: 19.5 kB / 452.2 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.003047, allocations: 20.67 kB / 452.2 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.53e-05/0.003132, allocations: 37.5 kB / 452.2 MB, free: 32.24 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003134, allocations: 0 / 452.2 MB, free: 32.24 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003135, allocations: 0 / 452.2 MB, free: 32.24 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.00314, allocations: 0 / 452.2 MB, free: 32.24 MB / 410.8 MB 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.0004718/0.003611, allocations: 300.7 kB / 452.5 MB, free: 31.97 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.003653, allocations: 8.719 kB / 452.5 MB, free: 31.97 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.003701, allocations: 10.59 kB / 452.5 MB, free: 31.96 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.003829, allocations: 123.8 kB / 452.6 MB, free: 31.83 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.003841, allocations: 4.375 kB / 452.6 MB, free: 31.83 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.003876, allocations: 10.02 kB / 452.7 MB, free: 31.82 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.004009, allocations: 83.44 kB / 452.7 MB, free: 31.78 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.004017, allocations: 192 / 452.7 MB, free: 31.78 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.004029, allocations: 384 / 452.7 MB, free: 31.78 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.004035, allocations: 3 kB / 452.7 MB, free: 31.78 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.059e-05/0.004095, allocations: 35.94 kB / 452.8 MB, free: 31.77 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.004529, allocations: 271 kB / 453 MB, free: 31.54 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.004706, allocations: 109.5 kB / 453.1 MB, free: 31.5 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/0.004762, allocations: 46.39 kB / 453.2 MB, free: 31.47 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.004777, allocations: 0 / 453.2 MB, free: 31.47 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.00479, allocations: 33.44 kB / 453.2 MB, free: 31.43 MB / 410.8 MB Notification: Performance of pre-optimization done (n=10): time 7.01e-07/0.004791, allocations: 3.938 kB / 453.2 MB, free: 31.43 MB / 410.8 MB Notification: Performance of matching and sorting (n=10): time 0.0002768/0.005068, allocations: 150.6 kB / 453.4 MB, free: 31.36 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.005091, allocations: 54.34 kB / 453.4 MB, free: 31.3 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.095e-05/0.005152, allocations: 99.61 kB / 453.5 MB, free: 31.2 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.005162, allocations: 28.7 kB / 453.6 MB, free: 31.16 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.005195, allocations: 84.09 kB / 453.6 MB, free: 31.08 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.005223, allocations: 44.73 kB / 453.7 MB, free: 31.04 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.005268, allocations: 43.56 kB / 453.7 MB, free: 31.01 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.005316, allocations: 321.1 kB / 454 MB, free: 30.7 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.005393, allocations: 63.88 kB / 454.1 MB, free: 30.68 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.439e-05/0.005478, allocations: 79.67 kB / 454.2 MB, free: 30.65 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.005647, allocations: 144.3 kB / 454.3 MB, free: 30.58 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.005649, allocations: 0 / 454.3 MB, free: 30.58 MB / 410.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002197/0.005869, allocations: 200.2 kB / 454.5 MB, free: 30.5 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.005882, allocations: 5.75 kB / 454.5 MB, free: 30.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.005888, allocations: 2.922 kB / 454.5 MB, free: 30.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.00591, allocations: 7.969 kB / 454.5 MB, free: 30.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.006088, allocations: 53.48 kB / 454.6 MB, free: 30.49 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.006096, allocations: 6.828 kB / 454.6 MB, free: 30.49 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.006146, allocations: 18.23 kB / 454.6 MB, free: 30.48 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.006159, allocations: 9.75 kB / 454.6 MB, free: 30.47 MB / 410.8 MB 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 5.714e-05/0.006216, allocations: 124.6 kB / 454.7 MB, free: 30.34 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.006249, allocations: 9.641 kB / 454.7 MB, free: 30.34 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.006283, allocations: 12.12 kB / 454.8 MB, free: 30.33 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.006287, allocations: 6.234 kB / 454.8 MB, free: 30.33 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.006291, allocations: 0 / 454.8 MB, free: 30.33 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.006294, allocations: 4 kB / 454.8 MB, free: 30.33 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.006491, allocations: 145.2 kB / 454.9 MB, free: 30.19 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006492, allocations: 0 / 454.9 MB, free: 30.19 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.006745, allocations: 46.8 kB / 455 MB, free: 30.19 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.006748, allocations: 6.344 kB / 455 MB, free: 30.19 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.006765, allocations: 2.844 kB / 455 MB, free: 30.19 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.006766, allocations: 0 / 455 MB, free: 30.19 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006767, allocations: 0 / 455 MB, free: 30.19 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.007011, allocations: 258.8 kB / 455.2 MB, free: 30.01 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-06/0.00702, allocations: 6.828 kB / 455.2 MB, free: 30.01 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.007044, allocations: 14.09 kB / 455.2 MB, free: 30 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.08e-05/0.007125, allocations: 7.562 kB / 455.2 MB, free: 30 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.007147, allocations: 6.281 kB / 455.3 MB, free: 30 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.007154, allocations: 7.312 kB / 455.3 MB, free: 29.99 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.323e-05/0.007177, allocations: 81.34 kB / 455.3 MB, free: 29.92 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007177, allocations: 0 / 455.3 MB, free: 29.92 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002439/0.007421, allocations: 21.34 kB / 455.4 MB, free: 29.91 MB / 410.8 MB 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 8.664e-05/0.007508, allocations: 101.2 kB / 455.5 MB, free: 29.82 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.007703, allocations: 125 kB / 455.6 MB, free: 29.79 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.007705, allocations: 0 / 455.6 MB, free: 29.79 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 5.476e-05/0.00776, allocations: 46.88 kB / 455.6 MB, free: 29.78 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.007998, allocations: 10.84 kB / 455.6 MB, free: 29.77 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.008426, allocations: 283.7 kB / 455.9 MB, free: 29.59 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.342e-05/0.00849, allocations: 92.97 kB / 456 MB, free: 29.51 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.241e-05/0.008562, allocations: 38.88 kB / 456 MB, free: 29.5 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.00861, allocations: 14.09 kB / 456.1 MB, free: 29.5 MB / 410.8 MB Notification: Performance of SimCode: time 3.11e-07/0.00861, allocations: 0 / 456.1 MB, free: 29.5 MB / 410.8 MB Notification: Performance of Templates: time 0.003133/0.01174, allocations: 0.8077 MB / 456.9 MB, free: 29.39 MB / 410.8 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins/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: 5.928931314032525]