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.0009063/0.0009063, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009118/0.0009118, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9001/0.9001, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.5575/0.5575, allocations: 88.08 MB / 349.9 MB, free: 14.09 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.372e-06/1.372e-06, allocations: 0 / 398.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.165e-05, allocations: 2.312 kB / 398.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001477/0.001489, allocations: 1.237 MB / 400 MB, free: 12.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001218/0.00161, allocations: 15.92 kB / 400 MB, free: 12.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.001637, allocations: 0 / 400 MB, free: 12.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.795e-05/0.001705, allocations: 3.984 kB / 400 MB, free: 12.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.279e-05/0.001737, allocations: 4 kB / 400 MB, free: 12.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.001859, allocations: 3.984 kB / 400 MB, free: 12.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.908e-05/0.001938, allocations: 59.88 kB / 400.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.144e-05/0.001969, allocations: 11.98 kB / 400.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.002011, allocations: 27.91 kB / 400.1 MB, free: 12.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.341e-05/0.002055, allocations: 15.98 kB / 400.1 MB, free: 12.26 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.002072, allocations: 4 kB / 400.1 MB, free: 12.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.002082, allocations: 4 kB / 400.1 MB, free: 12.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.072e-05/0.002113, allocations: 19.91 kB / 400.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.002138, allocations: 19.92 kB / 400.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.11e-05/0.002199, allocations: 35.88 kB / 400.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-06/0.0022, allocations: 4 kB / 400.2 MB, free: 12.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.002201, allocations: 0 / 400.2 MB, free: 12.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.002204, allocations: 0 / 400.2 MB, free: 12.17 MB / 378.7 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.000302/0.002506, allocations: 269.6 kB / 400.5 MB, free: 11.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.002534, allocations: 8.031 kB / 400.5 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.002558, allocations: 8.938 kB / 400.5 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.556e-05/0.002643, allocations: 117.7 kB / 400.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-06/0.002649, allocations: 4.312 kB / 400.6 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.002669, allocations: 8.375 kB / 400.6 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.968e-05/0.002738, allocations: 62.16 kB / 400.7 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.639e-05/0.002805, allocations: 4.172 kB / 400.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.002811, allocations: 4.375 kB / 400.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.002815, allocations: 384 / 400.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.896e-05/0.002834, allocations: 15.94 kB / 400.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.003076, allocations: 191 kB / 400.9 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.791e-05/0.003154, allocations: 65.31 kB / 401 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.303e-05/0.003177, allocations: 16.86 kB / 401 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.003185, allocations: 4 kB / 401 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.003201, allocations: 34.55 kB / 401 MB, free: 11.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 7.81e-07/0.003202, allocations: 0 / 401 MB, free: 11.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001214/0.003323, allocations: 77.81 kB / 401.1 MB, free: 11.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.003349, allocations: 63.33 kB / 401.2 MB, free: 11.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.52e-05/0.003394, allocations: 106.7 kB / 401.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.003403, allocations: 25.7 kB / 401.3 MB, free: 10.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.00343, allocations: 84.09 kB / 401.4 MB, free: 10.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.003456, allocations: 55.55 kB / 401.4 MB, free: 10.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.003491, allocations: 33.81 kB / 401.5 MB, free: 10.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.575e-05/0.003557, allocations: 326.8 kB / 401.8 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.003581, allocations: 18.83 kB / 401.8 MB, free: 10.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.42e-05/0.003615, allocations: 37.67 kB / 401.8 MB, free: 10.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.348e-05/0.003678, allocations: 75.27 kB / 401.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.00368, allocations: 0 / 401.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 9.471e-05/0.003775, allocations: 106.9 kB / 402 MB, free: 10.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.003787, allocations: 8 kB / 402 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.003791, allocations: 0 / 402 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.0038, allocations: 0 / 402 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.983e-05/0.003899, allocations: 47.98 kB / 402.1 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.003904, allocations: 4 kB / 402.1 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.003925, allocations: 7.891 kB / 402.1 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.003932, allocations: 8 kB / 402.1 MB, free: 10.14 MB / 378.7 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.255e-05/0.003984, allocations: 128.6 kB / 402.2 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.004, allocations: 7.938 kB / 402.2 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.004023, allocations: 12.31 kB / 402.2 MB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.004026, allocations: 4 kB / 402.2 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.004028, allocations: 3.984 kB / 402.2 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-06/0.004031, allocations: 0 / 402.2 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.004149, allocations: 85.88 kB / 402.3 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.00415, allocations: 0 / 402.3 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.004287, allocations: 51.91 kB / 402.4 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.004289, allocations: 4 kB / 402.4 MB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.004302, allocations: 7.938 kB / 402.4 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.004304, allocations: 3.984 kB / 402.4 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.004305, allocations: 4 kB / 402.4 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.004561, allocations: 195.7 kB / 402.6 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-06/0.004569, allocations: 7.891 kB / 402.6 MB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.004583, allocations: 11.94 kB / 402.6 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.351e-05/0.004616, allocations: 0 / 402.6 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.004631, allocations: 7.984 kB / 402.6 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.004636, allocations: 3.984 kB / 402.6 MB, free: 9.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.581e-05/0.004652, allocations: 16.84 kB / 402.6 MB, free: 9.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004652, allocations: 4 kB / 402.6 MB, free: 9.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001214/0.004773, allocations: 20 kB / 402.7 MB, free: 9.527 MB / 378.7 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.201e-05/0.004835, allocations: 80.42 kB / 402.7 MB, free: 9.438 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.832e-05/0.004913, allocations: 60.7 kB / 402.8 MB, free: 9.375 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.004917, allocations: 8 kB / 402.8 MB, free: 9.367 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.335e-05/0.004941, allocations: 28.78 kB / 402.8 MB, free: 9.336 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.44e-05/0.005035, allocations: 8 kB / 402.8 MB, free: 9.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.005299, allocations: 274.3 kB / 403.1 MB, free: 9.031 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.196e-05/0.005331, allocations: 71.2 kB / 403.2 MB, free: 8.941 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.496e-05/0.005356, allocations: 8.484 kB / 403.2 MB, free: 8.934 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.005396, allocations: 55.38 kB / 403.2 MB, free: 8.879 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.005396, allocations: 4 kB / 403.2 MB, free: 8.875 MB / 378.7 MB Notification: Performance of Templates: time 0.00183/0.007226, allocations: 0.8631 MB / 404.1 MB, free: 8.047 MB / 378.7 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: 2.8991308002732694]