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.0009077/0.0009077, allocations: 78.66 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.001805/0.001805, allocations: 170.3 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 0.9178/0.9178, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.5858/0.5858, allocations: 88.07 MB / 349.9 MB, free: 14.1 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_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_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 452 MB, free: 33.07 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018e-05/1.165e-05, allocations: 4.5 kB / 452 MB, free: 33.07 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001195/0.001206, allocations: 1.21 MB / 453.2 MB, free: 32.24 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001331/0.001339, allocations: 24.83 kB / 453.2 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.001374, allocations: 0 / 453.2 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.29e-05/0.001447, allocations: 7.172 kB / 453.2 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.411e-05/0.001481, allocations: 2.969 kB / 453.3 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.001617, allocations: 9.953 kB / 453.3 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 8.754e-05/0.001705, allocations: 63.86 kB / 453.3 MB, free: 32.19 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.001739, allocations: 2.875 kB / 453.3 MB, free: 32.19 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/0.001784, allocations: 30.3 kB / 453.4 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.838e-05/0.001833, allocations: 15.23 kB / 453.4 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.001849, allocations: 2.906 kB / 453.4 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.00186, allocations: 2.781 kB / 453.4 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/0.00189, allocations: 19.73 kB / 453.4 MB, free: 32.17 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.00192, allocations: 17.02 kB / 453.4 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 6.364e-05/0.001984, allocations: 36.84 kB / 453.4 MB, free: 32.16 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.001985, allocations: 2.875 kB / 453.5 MB, free: 32.16 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.01e-07/0.001986, allocations: 7.938 kB / 453.5 MB, free: 32.15 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.001989, allocations: 0 / 453.5 MB, free: 32.15 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.0002702/0.002259, allocations: 397.4 kB / 453.8 MB, free: 31.77 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.002292, allocations: 8.656 kB / 453.9 MB, free: 31.77 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.002318, allocations: 8.391 kB / 453.9 MB, free: 31.77 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.248e-05/0.002391, allocations: 118.1 kB / 454 MB, free: 31.63 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.002399, allocations: 3.344 kB / 454 MB, free: 31.63 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.002417, allocations: 12.69 kB / 454 MB, free: 31.62 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.781e-05/0.002484, allocations: 62.02 kB / 454.1 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.002491, allocations: 192 / 454.1 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.002497, allocations: 4.375 kB / 454.1 MB, free: 31.58 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.002502, allocations: 384 / 454.1 MB, free: 31.58 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.002521, allocations: 22.73 kB / 454.1 MB, free: 31.57 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.002761, allocations: 270.5 kB / 454.3 MB, free: 31.32 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.88e-05/0.00283, allocations: 75.33 kB / 454.4 MB, free: 31.28 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.002856, allocations: 27 kB / 454.4 MB, free: 31.26 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.002864, allocations: 3.359 kB / 454.4 MB, free: 31.26 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.002878, allocations: 40.25 kB / 454.5 MB, free: 31.21 MB / 410.8 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.002879, allocations: 4 kB / 454.5 MB, free: 31.21 MB / 410.8 MB Notification: Performance of matching and sorting (n=10): time 0.0001266/0.003005, allocations: 96.52 kB / 454.6 MB, free: 31.16 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.621e-05/0.003021, allocations: 54.25 kB / 454.6 MB, free: 31.1 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.935e-05/0.003061, allocations: 164.1 kB / 454.8 MB, free: 30.93 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.58e-06/0.003066, allocations: 25.7 kB / 454.8 MB, free: 30.9 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/0.003092, allocations: 133.8 kB / 455 MB, free: 30.77 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.003112, allocations: 51.81 kB / 455 MB, free: 30.73 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.003155, allocations: 41.17 kB / 455 MB, free: 30.69 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.787e-05/0.003193, allocations: 0.4943 MB / 455.5 MB, free: 30.19 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.003212, allocations: 17.73 kB / 455.6 MB, free: 30.19 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/0.003242, allocations: 48.22 kB / 455.6 MB, free: 30.16 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.332e-05/0.003295, allocations: 76.72 kB / 455.7 MB, free: 30.11 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.003297, allocations: 2.812 kB / 455.7 MB, free: 30.11 MB / 410.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 8.748e-05/0.003384, allocations: 112.7 kB / 455.8 MB, free: 30.06 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.003394, allocations: 5.719 kB / 455.8 MB, free: 30.06 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.003399, allocations: 1.562 kB / 455.8 MB, free: 30.06 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.003411, allocations: 2.938 kB / 455.8 MB, free: 30.06 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.003509, allocations: 46.3 kB / 455.8 MB, free: 30.06 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.003514, allocations: 7.016 kB / 455.9 MB, free: 30.05 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.003537, allocations: 18.55 kB / 455.9 MB, free: 30.04 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.003543, allocations: 2.781 kB / 455.9 MB, free: 30.04 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 4.59e-05/0.003589, allocations: 163.3 kB / 456 MB, free: 29.87 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.003607, allocations: 17.73 kB / 456.1 MB, free: 29.86 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.003634, allocations: 15.5 kB / 456.1 MB, free: 29.85 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.003635, allocations: 0 / 456.1 MB, free: 29.85 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.003637, allocations: 0 / 456.1 MB, free: 29.85 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.00364, allocations: 2.406 kB / 456.1 MB, free: 29.85 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.003776, allocations: 118 kB / 456.2 MB, free: 29.73 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.003778, allocations: 0 / 456.2 MB, free: 29.73 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.003904, allocations: 55.45 kB / 456.2 MB, free: 29.72 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.003906, allocations: 3.938 kB / 456.2 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.003922, allocations: 14.14 kB / 456.3 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.003924, allocations: 2.656 kB / 456.3 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.003925, allocations: 0 / 456.3 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.004069, allocations: 266.5 kB / 456.5 MB, free: 29.5 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.004078, allocations: 7.891 kB / 456.5 MB, free: 29.49 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.004091, allocations: 10.22 kB / 456.5 MB, free: 29.48 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.004126, allocations: 2.906 kB / 456.5 MB, free: 29.48 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.004141, allocations: 5.703 kB / 456.5 MB, free: 29.48 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.004144, allocations: 8 kB / 456.6 MB, free: 29.48 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.617e-05/0.004161, allocations: 121.9 kB / 456.7 MB, free: 29.36 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.004161, allocations: 2.688 kB / 456.7 MB, free: 29.36 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001415/0.004302, allocations: 21.28 kB / 456.7 MB, free: 29.36 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 6.827e-05/0.00437, allocations: 103.5 kB / 456.8 MB, free: 29.27 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 9.763e-05/0.004468, allocations: 76.2 kB / 456.9 MB, free: 29.24 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.004469, allocations: 0 / 456.9 MB, free: 29.24 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.19e-05/0.004491, allocations: 36.14 kB / 456.9 MB, free: 29.22 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.004626, allocations: 16.11 kB / 456.9 MB, free: 29.21 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/0.004863, allocations: 271.9 kB / 457.2 MB, free: 29.01 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.182e-05/0.004885, allocations: 63.53 kB / 457.3 MB, free: 28.94 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.64e-05/0.004911, allocations: 9.656 kB / 457.3 MB, free: 28.94 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.004946, allocations: 78.8 kB / 457.3 MB, free: 28.88 MB / 410.8 MB Notification: Performance of SimCode: time 5.31e-07/0.004946, allocations: 0 / 457.3 MB, free: 28.88 MB / 410.8 MB Notification: Performance of Templates: time 0.001915/0.006861, allocations: 0.8508 MB / 458.2 MB, free: 28.78 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","",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.3860964737832546]