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/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.001025/0.001025, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001229/0.001229, allocations: 166.6 kB / 24.82 MB, free: 9.266 MB / 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.064/1.064, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.6786/0.6786, allocations: 88.07 MB / 349.9 MB, free: 14.14 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.[0-9,]+..|time|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") translateModel(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.x.[0-9,]+..|time|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 452 MB, free: 33.14 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.208e-05, allocations: 8.938 kB / 452 MB, free: 33.14 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002353/0.002385, allocations: 1.206 MB / 453.2 MB, free: 32.32 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002079/0.002593, allocations: 21 kB / 453.2 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.002643, allocations: 4 kB / 453.2 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.002771, allocations: 6.938 kB / 453.2 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.002832, allocations: 3.234 kB / 453.3 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.003053, allocations: 10.38 kB / 453.3 MB, free: 32.29 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.003166, allocations: 55.19 kB / 453.3 MB, free: 32.28 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.00322, allocations: 2.875 kB / 453.3 MB, free: 32.28 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.651e-05/0.003286, allocations: 29.7 kB / 453.3 MB, free: 32.27 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.578e-05/0.003352, allocations: 19.23 kB / 453.4 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.003378, allocations: 2.844 kB / 453.4 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.003392, allocations: 2.875 kB / 453.4 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.003441, allocations: 19.09 kB / 453.4 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.003483, allocations: 23.94 kB / 453.4 MB, free: 32.24 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.003592, allocations: 45.55 kB / 453.5 MB, free: 32.23 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003595, allocations: 0 / 453.5 MB, free: 32.23 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.853e-06/0.003597, allocations: 0 / 453.5 MB, free: 32.23 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.003603, allocations: 0 / 453.5 MB, free: 32.23 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.0004439/0.004047, allocations: 390.1 kB / 453.8 MB, free: 31.85 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.0041, allocations: 8.688 kB / 453.8 MB, free: 31.85 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.004145, allocations: 12.05 kB / 453.9 MB, free: 31.85 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.004276, allocations: 122.2 kB / 454 MB, free: 31.71 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.004292, allocations: 7.344 kB / 454 MB, free: 31.71 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.004323, allocations: 7.203 kB / 454 MB, free: 31.7 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.004445, allocations: 57.94 kB / 454.1 MB, free: 31.67 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.004454, allocations: 192 / 454.1 MB, free: 31.67 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.004466, allocations: 8.312 kB / 454.1 MB, free: 31.66 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.004475, allocations: 384 / 454.1 MB, free: 31.66 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.77e-05/0.004503, allocations: 22.72 kB / 454.1 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.004952, allocations: 270.4 kB / 454.3 MB, free: 31.4 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.332e-05/0.005045, allocations: 81.41 kB / 454.4 MB, free: 31.35 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.005071, allocations: 29.8 kB / 454.5 MB, free: 31.33 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.005081, allocations: 3.656 kB / 454.5 MB, free: 31.33 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.005098, allocations: 33.39 kB / 454.5 MB, free: 31.29 MB / 410.8 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.0051, allocations: 2.656 kB / 454.5 MB, free: 31.29 MB / 410.8 MB Notification: Performance of matching and sorting (n=10): time 0.0001582/0.005258, allocations: 95.28 kB / 454.6 MB, free: 31.24 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.00528, allocations: 53.75 kB / 454.6 MB, free: 31.18 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.434e-05/0.005334, allocations: 162.6 kB / 454.8 MB, free: 31.01 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.005342, allocations: 25.81 kB / 454.8 MB, free: 30.98 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.005379, allocations: 138.8 kB / 455 MB, free: 30.84 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.005407, allocations: 54.53 kB / 455 MB, free: 30.8 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.005443, allocations: 39.12 kB / 455 MB, free: 30.77 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.005519, allocations: 0.4985 MB / 455.5 MB, free: 30.26 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/0.00555, allocations: 17.73 kB / 455.6 MB, free: 30.26 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.417e-05/0.005594, allocations: 40.22 kB / 455.6 MB, free: 30.24 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.121e-05/0.005665, allocations: 74.84 kB / 455.7 MB, free: 30.2 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.005667, allocations: 0 / 455.7 MB, free: 30.2 MB / 410.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001245/0.005792, allocations: 117.3 kB / 455.8 MB, free: 30.14 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.005808, allocations: 5.812 kB / 455.8 MB, free: 30.14 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.005815, allocations: 0 / 455.8 MB, free: 30.14 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.005833, allocations: 6.875 kB / 455.8 MB, free: 30.13 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.005956, allocations: 48.2 kB / 455.9 MB, free: 30.13 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.005962, allocations: 3.984 kB / 455.9 MB, free: 30.13 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.683e-05/0.005989, allocations: 14.86 kB / 455.9 MB, free: 30.12 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.006, allocations: 2.469 kB / 455.9 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.785e-05/0.006068, allocations: 163.1 kB / 456 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.006091, allocations: 17.3 kB / 456 MB, free: 29.94 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.006132, allocations: 18.16 kB / 456.1 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.006134, allocations: 0 / 456.1 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.006136, allocations: 0 / 456.1 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.006142, allocations: 4 kB / 456.1 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.006294, allocations: 120.5 kB / 456.2 MB, free: 29.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.006296, allocations: 0 / 456.2 MB, free: 29.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.006427, allocations: 51.73 kB / 456.2 MB, free: 29.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.006431, allocations: 3.938 kB / 456.2 MB, free: 29.79 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.006451, allocations: 6.719 kB / 456.2 MB, free: 29.79 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.006453, allocations: 3.234 kB / 456.3 MB, free: 29.79 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.006456, allocations: 2.781 kB / 456.3 MB, free: 29.79 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.006651, allocations: 259.7 kB / 456.5 MB, free: 29.58 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.006667, allocations: 6.797 kB / 456.5 MB, free: 29.58 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.006685, allocations: 18.31 kB / 456.5 MB, free: 29.57 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.17e-05/0.006727, allocations: 0 / 456.5 MB, free: 29.57 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.006747, allocations: 6.156 kB / 456.5 MB, free: 29.57 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.006754, allocations: 6.938 kB / 456.5 MB, free: 29.56 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.85e-05/0.006783, allocations: 126.1 kB / 456.7 MB, free: 29.44 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006783, allocations: 3.938 kB / 456.7 MB, free: 29.44 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001532/0.006936, allocations: 21.31 kB / 456.7 MB, free: 29.43 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 0.0001066/0.007043, allocations: 103.5 kB / 456.8 MB, free: 29.34 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.007158, allocations: 81.66 kB / 456.9 MB, free: 29.31 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.007161, allocations: 0 / 456.9 MB, free: 29.31 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.864e-05/0.007189, allocations: 34.64 kB / 456.9 MB, free: 29.3 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.007357, allocations: 9.25 kB / 456.9 MB, free: 29.29 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.007705, allocations: 272.5 kB / 457.2 MB, free: 29.09 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.17e-05/0.007736, allocations: 63.03 kB / 457.2 MB, free: 29.02 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.877e-05/0.007775, allocations: 13.39 kB / 457.3 MB, free: 29.02 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.007827, allocations: 74.92 kB / 457.3 MB, free: 28.95 MB / 410.8 MB Notification: Performance of SimCode: time 9.62e-07/0.007828, allocations: 0 / 457.3 MB, free: 28.95 MB / 410.8 MB Notification: Performance of Templates: time 0.002538/0.01037, allocations: 0.8577 MB / 458.2 MB, free: 28.86 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8788350778631866]