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.001413/0.001413, allocations: 85.33 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001812/0.001812, allocations: 168 kB / 23.96 MB, free: 4.148 MB / 14.72 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 1.448/1.448, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 1.126/1.126, allocations: 88.07 MB / 348.7 MB, free: 1.832 MB / 318.1 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.10..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|der.x.6..|der.x.7..|der.x.8..|der.x.9..|time|time|x.10.|x.1.|x.2.|x.3.|x.4.|x.5.|x.6.|x.7.|x.8.|x.9.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") translateModel(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.x.10..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|der.x.6..|der.x.7..|der.x.8..|der.x.9..|time|time|x.10.|x.1.|x.2.|x.3.|x.4.|x.5.|x.6.|x.7.|x.8.|x.9.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 0.5234 GB, free: 8.336 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.327e-05, allocations: 2.281 kB / 0.5234 GB, free: 8.332 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002324/0.002357, allocations: 1.177 MB / 0.5246 GB, free: 7.398 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.0001931/0.00255, allocations: 29.3 kB / 0.5246 GB, free: 7.375 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.002591, allocations: 1.688 kB / 0.5246 GB, free: 7.375 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.002697, allocations: 0 / 0.5246 GB, free: 7.375 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 4.646e-05/0.002744, allocations: 3.938 kB / 0.5246 GB, free: 7.371 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.002924, allocations: 11.08 kB / 0.5246 GB, free: 7.363 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.003051, allocations: 58.44 kB / 0.5247 GB, free: 7.332 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 5.782e-05/0.003109, allocations: 9.672 kB / 0.5247 GB, free: 7.324 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 6.533e-05/0.003174, allocations: 25.81 kB / 0.5247 GB, free: 7.312 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 7.053e-05/0.003245, allocations: 24.25 kB / 0.5248 GB, free: 7.297 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.00327, allocations: 2.812 kB / 0.5248 GB, free: 7.297 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 1.628e-05/0.003287, allocations: 10.72 kB / 0.5248 GB, free: 7.289 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.003332, allocations: 19.8 kB / 0.5248 GB, free: 7.277 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.003384, allocations: 15.27 kB / 0.5248 GB, free: 7.27 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 9.242e-05/0.003476, allocations: 36.78 kB / 0.5248 GB, free: 7.25 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.003479, allocations: 0 / 0.5248 GB, free: 7.25 MB / 446.2 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003479, allocations: 1.219 kB / 0.5248 GB, free: 7.25 MB / 446.2 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.003484, allocations: 0 / 0.5248 GB, free: 7.25 MB / 446.2 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.0005133/0.003998, allocations: 299.6 kB / 0.5251 GB, free: 6.957 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.00404, allocations: 13.22 kB / 0.5251 GB, free: 6.953 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.004083, allocations: 4.688 kB / 0.5251 GB, free: 6.953 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.004239, allocations: 116.9 kB / 0.5252 GB, free: 6.82 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.004258, allocations: 7.344 kB / 0.5253 GB, free: 6.816 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.004294, allocations: 9.484 kB / 0.5253 GB, free: 6.812 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.004447, allocations: 77.83 kB / 0.5253 GB, free: 6.754 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.004459, allocations: 4.125 kB / 0.5253 GB, free: 6.75 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.004475, allocations: 6.172 kB / 0.5253 GB, free: 6.746 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.00448, allocations: 384 / 0.5253 GB, free: 6.746 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.773e-05/0.004548, allocations: 41.67 kB / 0.5254 GB, free: 6.723 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.005041, allocations: 268 kB / 0.5256 GB, free: 6.48 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.005259, allocations: 116.4 kB / 0.5258 GB, free: 6.414 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.404e-05/0.005323, allocations: 38.39 kB / 0.5258 GB, free: 6.391 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.005339, allocations: 2.625 kB / 0.5258 GB, free: 6.391 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.005354, allocations: 36 kB / 0.5258 GB, free: 6.348 MB / 446.2 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.005355, allocations: 0 / 0.5258 GB, free: 6.348 MB / 446.2 MB Notification: Performance of matching and sorting (n=10): time 0.0003059/0.005661, allocations: 138 kB / 0.526 GB, free: 6.27 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.005697, allocations: 53.25 kB / 0.526 GB, free: 6.207 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.005763, allocations: 103.4 kB / 0.5261 GB, free: 6.102 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.005776, allocations: 26.73 kB / 0.5261 GB, free: 6.07 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.005812, allocations: 96.94 kB / 0.5262 GB, free: 5.973 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.005848, allocations: 50.17 kB / 0.5263 GB, free: 5.93 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.005901, allocations: 34.61 kB / 0.5263 GB, free: 5.902 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 5.735e-05/0.005958, allocations: 322.9 kB / 0.5266 GB, free: 5.582 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.006061, allocations: 61.17 kB / 0.5267 GB, free: 5.555 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.006225, allocations: 80 kB / 0.5268 GB, free: 5.512 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.006424, allocations: 152.6 kB / 0.5269 GB, free: 5.426 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.006426, allocations: 0.9062 kB / 0.5269 GB, free: 5.426 MB / 446.2 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002741/0.0067, allocations: 192.5 kB / 0.5271 GB, free: 5.324 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.00672, allocations: 7.562 kB / 0.5271 GB, free: 5.324 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.006726, allocations: 4.969 kB / 0.5271 GB, free: 5.32 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.006745, allocations: 0.9062 kB / 0.5271 GB, free: 5.32 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.006952, allocations: 51.31 kB / 0.5271 GB, free: 5.312 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.006959, allocations: 0.9375 kB / 0.5271 GB, free: 5.312 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.505e-05/0.007014, allocations: 16.52 kB / 0.5272 GB, free: 5.301 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.00703, allocations: 4.594 kB / 0.5272 GB, free: 5.301 MB / 446.2 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 6.797e-05/0.007098, allocations: 126.3 kB / 0.5273 GB, free: 5.172 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.007129, allocations: 7.641 kB / 0.5273 GB, free: 5.168 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.007165, allocations: 13.03 kB / 0.5273 GB, free: 5.156 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.007168, allocations: 5.047 kB / 0.5273 GB, free: 5.152 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.007174, allocations: 8.875 kB / 0.5273 GB, free: 5.145 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.007177, allocations: 0 / 0.5273 GB, free: 5.145 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.007377, allocations: 141.1 kB / 0.5275 GB, free: 5 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007378, allocations: 0 / 0.5275 GB, free: 5 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.007658, allocations: 54 kB / 0.5275 GB, free: 4.988 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.00766, allocations: 0.9375 kB / 0.5275 GB, free: 4.988 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.007681, allocations: 10.77 kB / 0.5275 GB, free: 4.98 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.007683, allocations: 0.9062 kB / 0.5275 GB, free: 4.98 MB / 446.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.007684, allocations: 0.9062 kB / 0.5275 GB, free: 4.98 MB / 446.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.007974, allocations: 254 kB / 0.5278 GB, free: 4.789 MB / 446.2 MB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.007986, allocations: 9.766 kB / 0.5278 GB, free: 4.781 MB / 446.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.008012, allocations: 7.703 kB / 0.5278 GB, free: 4.777 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.287e-05/0.008095, allocations: 7.031 kB / 0.5278 GB, free: 4.773 MB / 446.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.00812, allocations: 6.766 kB / 0.5278 GB, free: 4.77 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.008129, allocations: 1.844 kB / 0.5278 GB, free: 4.77 MB / 446.2 MB Notification: Performance of sorting global known variables: time 2.379e-05/0.008153, allocations: 83.09 kB / 0.5279 GB, free: 4.691 MB / 446.2 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008153, allocations: 0.9062 kB / 0.5279 GB, free: 4.691 MB / 446.2 MB Notification: Performance of remove unused functions: time 0.0002447/0.008398, allocations: 21.53 kB / 0.5279 GB, free: 4.688 MB / 446.2 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 9.103e-05/0.008489, allocations: 107.1 kB / 0.528 GB, free: 4.59 MB / 446.2 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.008721, allocations: 120.5 kB / 0.5281 GB, free: 4.539 MB / 446.2 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.008723, allocations: 0.9062 kB / 0.5281 GB, free: 4.539 MB / 446.2 MB Notification: Performance of simCode: created simulation system equations: time 7.771e-05/0.0088, allocations: 36.89 kB / 0.5281 GB, free: 4.527 MB / 446.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.009022, allocations: 10.69 kB / 0.5282 GB, free: 4.52 MB / 446.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.009466, allocations: 298.5 kB / 0.5284 GB, free: 4.289 MB / 446.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.453e-05/0.00953, allocations: 78.52 kB / 0.5285 GB, free: 4.211 MB / 446.2 MB Notification: Performance of simCode: alias equations: time 8.001e-05/0.00961, allocations: 37.91 kB / 0.5286 GB, free: 4.191 MB / 446.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.009651, allocations: 13.53 kB / 0.5286 GB, free: 4.184 MB / 446.2 MB Notification: Performance of SimCode: time 3e-07/0.009652, allocations: 1.281 kB / 0.5286 GB, free: 4.184 MB / 446.2 MB Notification: Performance of Templates: time 0.003591/0.01324, allocations: 0.7885 MB / 0.5293 GB, free: 3.785 MB / 446.2 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) [Timeout 300] 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: 6.103853516280651]