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.002574/0.002574, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002969/0.002969, allocations: 165.3 kB / 24.27 MB, free: 152 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.528/1.528, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.9646/0.9646, allocations: 88.08 MB / 349.2 MB, free: 14.23 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.074e-06/2.074e-06, allocations: 0 / 450.8 MB, free: 33.2 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.652e-05/3.859e-05, allocations: 3.188 kB / 450.8 MB, free: 33.19 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002007/0.002046, allocations: 1.191 MB / 452 MB, free: 32.37 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001676/0.002213, allocations: 20.83 kB / 452 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.002256, allocations: 0 / 452 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.418e-05/0.00235, allocations: 7.938 kB / 452 MB, free: 32.35 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 4.737e-05/0.002397, allocations: 7.938 kB / 452 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.002577, allocations: 6.25 kB / 452 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.002684, allocations: 57.17 kB / 452.1 MB, free: 32.32 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.282e-05/0.002737, allocations: 6.922 kB / 452.1 MB, free: 32.32 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.267e-05/0.002799, allocations: 29.62 kB / 452.1 MB, free: 32.31 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.002867, allocations: 19.28 kB / 452.1 MB, free: 32.31 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.002889, allocations: 2.844 kB / 452.1 MB, free: 32.31 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.002903, allocations: 2.781 kB / 452.1 MB, free: 32.31 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/0.002948, allocations: 21.02 kB / 452.2 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.002986, allocations: 15.56 kB / 452.2 MB, free: 32.29 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.00309, allocations: 45.78 kB / 452.2 MB, free: 32.28 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.003094, allocations: 2.625 kB / 452.2 MB, free: 32.28 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.72e-07/0.003095, allocations: 0 / 452.2 MB, free: 32.28 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.0031, allocations: 0 / 452.2 MB, free: 32.28 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.0005297/0.00363, allocations: 399.9 kB / 452.6 MB, free: 31.9 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.003678, allocations: 8.375 kB / 452.6 MB, free: 31.9 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.003729, allocations: 9.469 kB / 452.6 MB, free: 31.9 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.003873, allocations: 125.2 kB / 452.8 MB, free: 31.76 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.003887, allocations: 4.375 kB / 452.8 MB, free: 31.76 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.003915, allocations: 10.17 kB / 452.8 MB, free: 31.75 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.00404, allocations: 61.28 kB / 452.8 MB, free: 31.71 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.00405, allocations: 4.125 kB / 452.8 MB, free: 31.71 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.004062, allocations: 3.25 kB / 452.8 MB, free: 31.71 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.004067, allocations: 384 / 452.8 MB, free: 31.71 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.407e-05/0.004111, allocations: 22.66 kB / 452.9 MB, free: 31.7 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.00457, allocations: 295.6 kB / 453.2 MB, free: 31.43 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.004709, allocations: 78.44 kB / 453.2 MB, free: 31.38 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.004753, allocations: 30.39 kB / 453.3 MB, free: 31.36 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.004765, allocations: 2.938 kB / 453.3 MB, free: 31.36 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.004778, allocations: 33.67 kB / 453.3 MB, free: 31.32 MB / 410.8 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.004779, allocations: 3.938 kB / 453.3 MB, free: 31.32 MB / 410.8 MB Notification: Performance of matching and sorting (n=10): time 0.000243/0.005022, allocations: 110.9 kB / 453.4 MB, free: 31.26 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.005045, allocations: 54.94 kB / 453.5 MB, free: 31.2 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.705e-05/0.005112, allocations: 162.8 kB / 453.6 MB, free: 31.03 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.005122, allocations: 25.7 kB / 453.6 MB, free: 31 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.005156, allocations: 134.8 kB / 453.8 MB, free: 30.86 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.005185, allocations: 49.95 kB / 453.8 MB, free: 30.83 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.005235, allocations: 47.89 kB / 453.9 MB, free: 30.79 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.005309, allocations: 0.4932 MB / 454.4 MB, free: 30.29 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.005367, allocations: 21.42 kB / 454.4 MB, free: 30.29 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.005431, allocations: 50.5 kB / 454.4 MB, free: 30.26 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.00554, allocations: 92.39 kB / 454.5 MB, free: 30.21 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005542, allocations: 0 / 454.5 MB, free: 30.21 MB / 410.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001677/0.00571, allocations: 119.6 kB / 454.6 MB, free: 30.15 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.005723, allocations: 8.969 kB / 454.7 MB, free: 30.15 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.005729, allocations: 3.141 kB / 454.7 MB, free: 30.15 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.005744, allocations: 6.969 kB / 454.7 MB, free: 30.15 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.005931, allocations: 53.17 kB / 454.7 MB, free: 30.14 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.005938, allocations: 3.984 kB / 454.7 MB, free: 30.14 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.318e-05/0.005991, allocations: 17.56 kB / 454.7 MB, free: 30.13 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.006004, allocations: 13.53 kB / 454.7 MB, free: 30.12 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 6.091e-05/0.006065, allocations: 174.6 kB / 454.9 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.006096, allocations: 10.84 kB / 454.9 MB, free: 29.94 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.006137, allocations: 15 kB / 454.9 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.006139, allocations: 0 / 454.9 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.006141, allocations: 0 / 454.9 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006144, allocations: 4 kB / 454.9 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.006338, allocations: 148.1 kB / 455.1 MB, free: 29.77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006339, allocations: 0 / 455.1 MB, free: 29.77 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.006601, allocations: 49.56 kB / 455.1 MB, free: 29.77 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.006603, allocations: 0 / 455.1 MB, free: 29.77 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.006624, allocations: 6.203 kB / 455.1 MB, free: 29.77 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.006626, allocations: 0 / 455.1 MB, free: 29.77 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006626, allocations: 0 / 455.1 MB, free: 29.77 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.006851, allocations: 281.4 kB / 455.4 MB, free: 29.55 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.006862, allocations: 6.984 kB / 455.4 MB, free: 29.55 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.006886, allocations: 11.22 kB / 455.4 MB, free: 29.54 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.006965, allocations: 7.094 kB / 455.4 MB, free: 29.54 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.006994, allocations: 6.219 kB / 455.5 MB, free: 29.54 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.007001, allocations: 6.344 kB / 455.5 MB, free: 29.54 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.826e-05/0.007029, allocations: 122.2 kB / 455.6 MB, free: 29.42 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.007029, allocations: 0 / 455.6 MB, free: 29.42 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002513/0.00728, allocations: 24.22 kB / 455.6 MB, free: 29.41 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.479e-05/0.007365, allocations: 100.5 kB / 455.7 MB, free: 29.32 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.007538, allocations: 92.02 kB / 455.8 MB, free: 29.29 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.00754, allocations: 0 / 455.8 MB, free: 29.29 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 4.685e-05/0.007586, allocations: 38.22 kB / 455.8 MB, free: 29.27 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.0078, allocations: 10.41 kB / 455.8 MB, free: 29.27 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.00822, allocations: 265.5 kB / 456.1 MB, free: 29.07 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9e-05/0.00831, allocations: 87.56 kB / 456.2 MB, free: 29 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.734e-05/0.008388, allocations: 27.53 kB / 456.2 MB, free: 29 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.008426, allocations: 14.56 kB / 456.2 MB, free: 28.99 MB / 410.8 MB Notification: Performance of SimCode: time 6.71e-07/0.008427, allocations: 3.938 kB / 456.2 MB, free: 28.98 MB / 410.8 MB Notification: Performance of Templates: time 0.003819/0.01225, allocations: 0.811 MB / 457 MB, free: 28.87 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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) [Timeout 240] 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: 6.043760080006905]