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.0008239/0.0008239, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0008586/0.0008586, allocations: 165.4 kB / 24.56 MB, free: 16 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 0.8937/0.8937, allocations: 177.2 MB / 205 MB, free: 5.301 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.5793/0.5793, allocations: 88.08 MB / 349.6 MB, free: 14.21 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 3.296e-06/3.296e-06, allocations: 0 / 451.5 MB, free: 33.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.926e-05, allocations: 7.062 kB / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.00478/0.004809, allocations: 1.211 MB / 452.8 MB, free: 32.54 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001548/0.004964, allocations: 24.94 kB / 452.8 MB, free: 32.52 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.004998, allocations: 0 / 452.8 MB, free: 32.52 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.42e-05/0.005082, allocations: 6.844 kB / 452.8 MB, free: 32.52 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.887e-05/0.005121, allocations: 3.938 kB / 452.8 MB, free: 32.51 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.005268, allocations: 6.141 kB / 452.8 MB, free: 32.51 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 9.642e-05/0.005365, allocations: 63.67 kB / 452.9 MB, free: 32.5 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.005405, allocations: 8 kB / 452.9 MB, free: 32.49 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.467e-05/0.005449, allocations: 25.77 kB / 452.9 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.005501, allocations: 22.73 kB / 452.9 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.005524, allocations: 2.844 kB / 452.9 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.005536, allocations: 2.812 kB / 452.9 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.005568, allocations: 16.64 kB / 452.9 MB, free: 32.47 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.005601, allocations: 12.7 kB / 453 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.403e-05/0.005685, allocations: 44.56 kB / 453 MB, free: 32.45 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.005688, allocations: 0 / 453 MB, free: 32.45 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005689, allocations: 0 / 453 MB, free: 32.45 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.005693, allocations: 0 / 453 MB, free: 32.45 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.0003803/0.006074, allocations: 405.5 kB / 453.4 MB, free: 32.07 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.006111, allocations: 11.66 kB / 453.4 MB, free: 32.07 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.006156, allocations: 5.328 kB / 453.4 MB, free: 32.07 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.006264, allocations: 124.8 kB / 453.5 MB, free: 31.93 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.006274, allocations: 7 kB / 453.5 MB, free: 31.93 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.006298, allocations: 10.42 kB / 453.6 MB, free: 31.93 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.928e-05/0.006398, allocations: 65.53 kB / 453.6 MB, free: 31.88 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.006405, allocations: 192 / 453.6 MB, free: 31.88 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.006415, allocations: 4.375 kB / 453.6 MB, free: 31.88 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.006422, allocations: 384 / 453.6 MB, free: 31.88 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.285e-05/0.006455, allocations: 22.81 kB / 453.6 MB, free: 31.87 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.006804, allocations: 294.6 kB / 453.9 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.006919, allocations: 81.69 kB / 454 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.006955, allocations: 25.62 kB / 454 MB, free: 31.53 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.006963, allocations: 2.625 kB / 454 MB, free: 31.53 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.00698, allocations: 44.47 kB / 454.1 MB, free: 31.48 MB / 410.8 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.006981, allocations: 0 / 454.1 MB, free: 31.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=10): time 0.000201/0.007182, allocations: 98.41 kB / 454.2 MB, free: 31.43 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.007203, allocations: 61.47 kB / 454.2 MB, free: 31.37 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.736e-05/0.00725, allocations: 159.8 kB / 454.4 MB, free: 31.2 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.007258, allocations: 25.7 kB / 454.4 MB, free: 31.17 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/0.007284, allocations: 137 kB / 454.6 MB, free: 31.04 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.007311, allocations: 48.7 kB / 454.6 MB, free: 31 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.007355, allocations: 42.23 kB / 454.6 MB, free: 30.96 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.924e-05/0.007394, allocations: 0.4904 MB / 455.1 MB, free: 30.46 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/0.007435, allocations: 25.03 kB / 455.2 MB, free: 30.46 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.007486, allocations: 46.44 kB / 455.2 MB, free: 30.43 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/0.01059, allocations: 89.16 kB / 455.3 MB, free: 30.38 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.0106, allocations: 0 / 455.3 MB, free: 30.38 MB / 410.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001642/0.01076, allocations: 126 kB / 455.4 MB, free: 30.32 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.01078, allocations: 8.531 kB / 455.4 MB, free: 30.32 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01078, allocations: 3.984 kB / 455.4 MB, free: 30.32 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.0108, allocations: 2.781 kB / 455.4 MB, free: 30.32 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.01095, allocations: 53.86 kB / 455.5 MB, free: 30.31 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.01096, allocations: 112 / 455.5 MB, free: 30.31 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.01099, allocations: 24.42 kB / 455.5 MB, free: 30.3 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.011, allocations: 2.781 kB / 455.5 MB, free: 30.3 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.194e-05/0.01106, allocations: 175.3 kB / 455.7 MB, free: 30.12 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.01108, allocations: 9.609 kB / 455.7 MB, free: 30.11 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.01111, allocations: 15.41 kB / 455.7 MB, free: 30.11 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.01111, allocations: 2.875 kB / 455.7 MB, free: 30.11 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01112, allocations: 0 / 455.7 MB, free: 30.11 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01112, allocations: 0 / 455.7 MB, free: 30.11 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.01128, allocations: 142.5 kB / 455.8 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.01128, allocations: 0 / 455.8 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.01146, allocations: 50.19 kB / 455.9 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01147, allocations: 0 / 455.9 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.0115, allocations: 10.27 kB / 455.9 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.0115, allocations: 0 / 455.9 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.0115, allocations: 2.844 kB / 455.9 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.01169, allocations: 285.1 kB / 456.2 MB, free: 29.72 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-06/0.0117, allocations: 6.922 kB / 456.2 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.01171, allocations: 2.781 kB / 456.2 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.98e-05/0.01177, allocations: 6.031 kB / 456.2 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.01179, allocations: 6.234 kB / 456.2 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.0118, allocations: 6.812 kB / 456.2 MB, free: 29.71 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.83e-05/0.01182, allocations: 125.4 kB / 456.3 MB, free: 29.59 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01182, allocations: 4 kB / 456.3 MB, free: 29.59 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002207/0.01204, allocations: 23.78 kB / 456.4 MB, free: 29.59 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 7.041e-05/0.01211, allocations: 93.5 kB / 456.5 MB, free: 29.5 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.01225, allocations: 79.3 kB / 456.5 MB, free: 29.48 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.01225, allocations: 4 kB / 456.5 MB, free: 29.47 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.515e-05/0.01229, allocations: 38.98 kB / 456.6 MB, free: 29.45 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.01251, allocations: 16.86 kB / 456.6 MB, free: 29.45 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.01283, allocations: 269.2 kB / 456.9 MB, free: 29.24 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.97e-05/0.01286, allocations: 66.48 kB / 456.9 MB, free: 29.17 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.686e-05/0.01291, allocations: 28.67 kB / 456.9 MB, free: 29.17 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.01295, allocations: 19.25 kB / 457 MB, free: 29.16 MB / 410.8 MB Notification: Performance of SimCode: time 5.71e-07/0.01295, allocations: 3.938 kB / 457 MB, free: 29.16 MB / 410.8 MB Notification: Performance of Templates: time 0.005591/0.01854, allocations: 0.821 MB / 457.8 MB, free: 29.05 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.4183119740337133]