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.001326/0.001326, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.0009856/0.0009856, allocations: 165 kB / 24.56 MB, free: 4 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.9591/0.9591, allocations: 177.1 MB / 205 MB, free: 5.621 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.6236/0.6236, allocations: 88.08 MB / 349.6 MB, free: 14.3 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 2.815e-06/2.815e-06, allocations: 0 / 451.5 MB, free: 33.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.717e-05, allocations: 3.188 kB / 451.5 MB, free: 33.35 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.00153/0.001557, allocations: 1.224 MB / 452.8 MB, free: 32.52 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001631/0.00172, allocations: 25 kB / 452.8 MB, free: 32.51 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.001761, allocations: 0 / 452.8 MB, free: 32.51 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.449e-05/0.001856, allocations: 3.938 kB / 452.8 MB, free: 32.5 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.001897, allocations: 0 / 452.8 MB, free: 32.5 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.002068, allocations: 6.141 kB / 452.8 MB, free: 32.5 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 9.907e-05/0.002167, allocations: 68.59 kB / 452.9 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.002213, allocations: 2.906 kB / 452.9 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.771e-05/0.002261, allocations: 23.12 kB / 452.9 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.002317, allocations: 23.27 kB / 452.9 MB, free: 32.47 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.002339, allocations: 3 kB / 452.9 MB, free: 32.47 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.002351, allocations: 6.906 kB / 452.9 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.002386, allocations: 13.19 kB / 452.9 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.002421, allocations: 23.83 kB / 453 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.988e-05/0.002511, allocations: 41.94 kB / 453 MB, free: 32.44 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.002513, allocations: 0 / 453 MB, free: 32.44 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.72e-07/0.002514, allocations: 0 / 453 MB, free: 32.44 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.002519, allocations: 0 / 453 MB, free: 32.44 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.0004103/0.002929, allocations: 404.2 kB / 453.4 MB, free: 32.06 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.002974, allocations: 7.844 kB / 453.4 MB, free: 32.06 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.003018, allocations: 12.14 kB / 453.4 MB, free: 32.05 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.003139, allocations: 116.3 kB / 453.5 MB, free: 31.93 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.003149, allocations: 2.844 kB / 453.5 MB, free: 31.93 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.003182, allocations: 11.61 kB / 453.5 MB, free: 31.92 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.003284, allocations: 70.06 kB / 453.6 MB, free: 31.88 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.003291, allocations: 192 / 453.6 MB, free: 31.88 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.003302, allocations: 4.312 kB / 453.6 MB, free: 31.87 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.003311, allocations: 384 / 453.6 MB, free: 31.87 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.881e-05/0.003339, allocations: 21.09 kB / 453.6 MB, free: 31.87 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.003706, allocations: 296.9 kB / 453.9 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.003816, allocations: 89.62 kB / 454 MB, free: 31.53 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.003851, allocations: 25.31 kB / 454 MB, free: 31.52 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.003861, allocations: 2.656 kB / 454 MB, free: 31.52 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.00388, allocations: 43.92 kB / 454.1 MB, free: 31.47 MB / 410.8 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.003881, allocations: 0 / 454.1 MB, free: 31.47 MB / 410.8 MB Notification: Performance of matching and sorting (n=10): time 0.0001957/0.004076, allocations: 103.4 kB / 454.2 MB, free: 31.42 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.004098, allocations: 51.41 kB / 454.2 MB, free: 31.36 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.734e-05/0.004155, allocations: 159.1 kB / 454.4 MB, free: 31.19 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.707e-06/0.004164, allocations: 29.7 kB / 454.4 MB, free: 31.16 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.004201, allocations: 137.8 kB / 454.6 MB, free: 31.02 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.004225, allocations: 44.59 kB / 454.6 MB, free: 30.98 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.004264, allocations: 45.19 kB / 454.6 MB, free: 30.95 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.719e-05/0.004321, allocations: 0.4904 MB / 455.1 MB, free: 30.45 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-05/0.004355, allocations: 21.94 kB / 455.2 MB, free: 30.45 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.787e-05/0.004403, allocations: 53.09 kB / 455.2 MB, free: 30.42 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.812e-05/0.004481, allocations: 83.2 kB / 455.3 MB, free: 30.37 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.004484, allocations: 6.812 kB / 455.3 MB, free: 30.36 MB / 410.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001276/0.004612, allocations: 121.1 kB / 455.4 MB, free: 30.3 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.004627, allocations: 9.875 kB / 455.4 MB, free: 30.3 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.004634, allocations: 6.969 kB / 455.4 MB, free: 30.3 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.004649, allocations: 0 / 455.4 MB, free: 30.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.004767, allocations: 49.91 kB / 455.5 MB, free: 30.3 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.004773, allocations: 3.984 kB / 455.5 MB, free: 30.29 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.004802, allocations: 20.77 kB / 455.5 MB, free: 30.28 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.004811, allocations: 3.094 kB / 455.5 MB, free: 30.28 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.999e-05/0.004861, allocations: 167.1 kB / 455.7 MB, free: 30.11 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.004881, allocations: 9.984 kB / 455.7 MB, free: 30.11 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.004914, allocations: 12.12 kB / 455.7 MB, free: 30.1 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.004917, allocations: 10.05 kB / 455.7 MB, free: 30.09 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.004921, allocations: 0 / 455.7 MB, free: 30.09 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.004925, allocations: 0 / 455.7 MB, free: 30.09 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.005062, allocations: 144.8 kB / 455.8 MB, free: 29.94 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.005063, allocations: 0 / 455.8 MB, free: 29.94 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.005203, allocations: 56.11 kB / 455.9 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.005204, allocations: 0 / 455.9 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.00523, allocations: 6.375 kB / 455.9 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.005231, allocations: 0 / 455.9 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.005233, allocations: 0 / 455.9 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.005412, allocations: 276.6 kB / 456.2 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.005421, allocations: 10.2 kB / 456.2 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.005436, allocations: 3.062 kB / 456.2 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.005475, allocations: 10.03 kB / 456.2 MB, free: 29.7 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.005494, allocations: 6.094 kB / 456.2 MB, free: 29.7 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.005498, allocations: 3.031 kB / 456.2 MB, free: 29.7 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.99e-05/0.005518, allocations: 122.1 kB / 456.3 MB, free: 29.59 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.21e-07/0.005518, allocations: 0 / 456.3 MB, free: 29.59 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001513/0.00567, allocations: 21.16 kB / 456.3 MB, free: 29.58 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.835e-05/0.005738, allocations: 107.8 kB / 456.5 MB, free: 29.49 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.00587, allocations: 81.27 kB / 456.5 MB, free: 29.46 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.005872, allocations: 0 / 456.5 MB, free: 29.46 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.119e-05/0.005903, allocations: 39.25 kB / 456.6 MB, free: 29.44 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.006063, allocations: 14.83 kB / 456.6 MB, free: 29.43 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.006394, allocations: 274.8 kB / 456.9 MB, free: 29.23 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.189e-05/0.006426, allocations: 63.19 kB / 456.9 MB, free: 29.16 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 4.546e-05/0.006472, allocations: 27.64 kB / 456.9 MB, free: 29.16 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.006505, allocations: 13.88 kB / 457 MB, free: 29.15 MB / 410.8 MB Notification: Performance of SimCode: time 7.72e-07/0.006506, allocations: 0 / 457 MB, free: 29.15 MB / 410.8 MB Notification: Performance of Templates: time 0.002401/0.008907, allocations: 0.8119 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.938684109132737]