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.001246/0.001246, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.00139/0.00139, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9439/0.9439, allocations: 177.1 MB / 204.2 MB, free: 5.746 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.7881/0.7881, allocations: 88.06 MB / 348.8 MB, free: 14.37 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: "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.446e-06/3.446e-06, allocations: 0 / 0.523 GB, free: 4.102 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/3.075e-05, allocations: 2.281 kB / 0.523 GB, free: 4.098 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002064/0.002095, allocations: 1.185 MB / 0.5241 GB, free: 2.906 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001941/0.002289, allocations: 35.83 kB / 0.5241 GB, free: 2.871 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.002335, allocations: 0 / 0.5241 GB, free: 2.871 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 9.839e-05/0.002434, allocations: 3.938 kB / 0.5241 GB, free: 2.867 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 3.985e-05/0.002473, allocations: 0 / 0.5241 GB, free: 2.867 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.002648, allocations: 7.984 kB / 0.5242 GB, free: 2.859 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.002791, allocations: 67.86 kB / 0.5242 GB, free: 2.793 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.002849, allocations: 0 / 0.5242 GB, free: 2.793 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.167e-05/0.002901, allocations: 23.97 kB / 0.5242 GB, free: 2.77 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.819e-05/0.002959, allocations: 27.91 kB / 0.5243 GB, free: 2.742 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.002983, allocations: 0 / 0.5243 GB, free: 2.742 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.002995, allocations: 8 kB / 0.5243 GB, free: 2.734 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.003032, allocations: 15.98 kB / 0.5243 GB, free: 2.719 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.003062, allocations: 15.92 kB / 0.5243 GB, free: 2.703 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 8.376e-05/0.003146, allocations: 43.81 kB / 0.5244 GB, free: 2.66 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.003148, allocations: 0 / 0.5244 GB, free: 2.66 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.243e-06/0.003149, allocations: 0 / 0.5244 GB, free: 2.66 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.003154, allocations: 0 / 0.5244 GB, free: 2.66 MB / 442.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.0005166/0.00367, allocations: 298.2 kB / 0.5246 GB, free: 2.336 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.00372, allocations: 12.03 kB / 0.5246 GB, free: 2.324 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.003757, allocations: 38.73 kB / 0.5247 GB, free: 2.277 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.003786, allocations: 8.938 kB / 0.5247 GB, free: 2.27 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.003934, allocations: 125.6 kB / 0.5248 GB, free: 2.121 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.003946, allocations: 4.375 kB / 0.5248 GB, free: 2.117 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.003971, allocations: 8.375 kB / 0.5248 GB, free: 2.109 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.004104, allocations: 78.14 kB / 0.5249 GB, free: 2.027 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.004111, allocations: 192 / 0.5249 GB, free: 2.027 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.004122, allocations: 4.375 kB / 0.5249 GB, free: 2.023 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.00413, allocations: 8.125 kB / 0.5249 GB, free: 2.016 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.798e-05/0.004188, allocations: 31.97 kB / 0.5249 GB, free: 1.984 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.00465, allocations: 284.5 kB / 0.5252 GB, free: 1.664 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.004807, allocations: 118.5 kB / 0.5253 GB, free: 1.539 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.596e-05/0.004863, allocations: 36.83 kB / 0.5254 GB, free: 1.5 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.00488, allocations: 4 kB / 0.5254 GB, free: 1.496 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.004902, allocations: 38.78 kB / 0.5254 GB, free: 1.449 MB / 442.8 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.004903, allocations: 0 / 0.5254 GB, free: 1.449 MB / 442.8 MB Notification: Performance of matching and sorting (n=10): time 0.0002473/0.00515, allocations: 133.6 kB / 0.5255 GB, free: 1.312 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.005201, allocations: 59.34 kB / 0.5256 GB, free: 1.242 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.005274, allocations: 101.8 kB / 0.5257 GB, free: 1.133 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.00529, allocations: 30.08 kB / 0.5257 GB, free: 1.098 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.005337, allocations: 92.09 kB / 0.5258 GB, free: 1.004 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.005366, allocations: 47.58 kB / 0.5258 GB, free: 0.957 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.005408, allocations: 33.7 kB / 0.5259 GB, free: 0.918 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.005505, allocations: 326.8 kB / 0.5262 GB, free: 0.5898 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.768e-05/0.005573, allocations: 63.95 kB / 0.5262 GB, free: 0.5273 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.021e-05/0.005653, allocations: 82.92 kB / 0.5263 GB, free: 452 kB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.005791, allocations: 149.5 kB / 0.5265 GB, free: 296 kB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.005793, allocations: 112 / 0.5265 GB, free: 296 kB / 442.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001853/0.005978, allocations: 201.2 kB / 0.5267 GB, free: 92 kB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.005993, allocations: 8.031 kB / 0.5267 GB, free: 84 kB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.006001, allocations: 0 / 0.5267 GB, free: 84 kB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.006015, allocations: 192 / 0.5267 GB, free: 84 kB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.006147, allocations: 51.92 kB / 0.5267 GB, free: 32 kB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.006157, allocations: 4 kB / 0.5267 GB, free: 28 kB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/0.006189, allocations: 15.92 kB / 0.5267 GB, free: 12 kB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.0062, allocations: 4 kB / 0.5267 GB, free: 8 kB / 442.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 8.4e-05/0.006284, allocations: 125.7 kB / 0.5269 GB, free: 15.88 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.006302, allocations: 11.94 kB / 0.5269 GB, free: 15.86 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.006328, allocations: 16.12 kB / 0.5269 GB, free: 15.85 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.00633, allocations: 0 / 0.5269 GB, free: 15.85 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.006337, allocations: 0 / 0.5269 GB, free: 15.85 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.006342, allocations: 4 kB / 0.5269 GB, free: 15.84 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.006533, allocations: 164.7 kB / 0.5271 GB, free: 15.64 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.006535, allocations: 0 / 0.5271 GB, free: 15.64 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.006683, allocations: 51.97 kB / 0.5271 GB, free: 15.59 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.006687, allocations: 4 kB / 0.5271 GB, free: 15.59 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.006702, allocations: 7.984 kB / 0.5271 GB, free: 15.58 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.006703, allocations: 4 kB / 0.5271 GB, free: 15.57 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.006705, allocations: 0 / 0.5271 GB, free: 15.57 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.006942, allocations: 251.3 kB / 0.5274 GB, free: 15.31 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.006953, allocations: 3.953 kB / 0.5274 GB, free: 15.31 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.006972, allocations: 11.98 kB / 0.5274 GB, free: 15.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.14e-05/0.007013, allocations: 4 kB / 0.5274 GB, free: 15.29 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.007031, allocations: 3.984 kB / 0.5274 GB, free: 15.29 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.007038, allocations: 4.094 kB / 0.5274 GB, free: 15.29 MB / 458.8 MB Notification: Performance of sorting global known variables: time 3.667e-05/0.007074, allocations: 91.48 kB / 0.5275 GB, free: 15.2 MB / 458.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007074, allocations: 0 / 0.5275 GB, free: 15.2 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001586/0.007233, allocations: 20 kB / 0.5275 GB, free: 15.18 MB / 458.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.000366/0.007599, allocations: 0.7864 MB / 0.5283 GB, free: 14.36 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.007776, allocations: 112 kB / 0.5284 GB, free: 14.25 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.007779, allocations: 8 kB / 0.5284 GB, free: 14.25 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 4.233e-05/0.007821, allocations: 43.91 kB / 0.5284 GB, free: 14.2 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.007991, allocations: 9.969 kB / 0.5284 GB, free: 14.2 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.009323, allocations: 1.75 MB / 0.5301 GB, free: 12.36 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.357e-05/0.009406, allocations: 79.33 kB / 0.5302 GB, free: 12.26 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 6.904e-05/0.009475, allocations: 32.45 kB / 0.5302 GB, free: 12.23 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.009527, allocations: 24.48 kB / 0.5303 GB, free: 12.21 MB / 458.8 MB Notification: Performance of SimCode: time 5.81e-07/0.009528, allocations: 0 / 0.5303 GB, free: 12.21 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.03279, allocations: 2.882 MB / 0.5331 GB, free: 9.441 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.3/7.332, allocations: 15.72 kB / 0.5331 GB, free: 9.426 MB / 458.8 MB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.507153226993978]