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.001061/0.001061, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005447/0.005447, allocations: 160.7 kB / 24.7 MB, free: 9.418 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.9171/0.9171, allocations: 177.1 MB / 205 MB, free: 5.723 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.6251/0.6251, allocations: 88.06 MB / 349.5 MB, free: 14.34 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.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.414e-06/2.414e-06, allocations: 0 / 0.5242 GB, free: 3.586 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.907e-05, allocations: 5.516 kB / 0.5242 GB, free: 3.582 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001621/0.00165, allocations: 1.194 MB / 0.5254 GB, free: 2.383 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001729/0.001823, allocations: 23.95 kB / 0.5254 GB, free: 2.359 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.001861, allocations: 0 / 0.5254 GB, free: 2.359 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 9.049e-05/0.001951, allocations: 3.938 kB / 0.5254 GB, free: 2.355 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 3.474e-05/0.001986, allocations: 0 / 0.5254 GB, free: 2.355 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.002144, allocations: 7.922 kB / 0.5254 GB, free: 2.348 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.00225, allocations: 71.86 kB / 0.5255 GB, free: 2.277 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.002294, allocations: 4 kB / 0.5255 GB, free: 2.273 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.178e-05/0.002346, allocations: 23.97 kB / 0.5255 GB, free: 2.25 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.002401, allocations: 23.91 kB / 0.5255 GB, free: 2.227 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.002425, allocations: 4 kB / 0.5255 GB, free: 2.223 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.002435, allocations: 4 kB / 0.5255 GB, free: 2.219 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 3.39e-05/0.002469, allocations: 19.97 kB / 0.5255 GB, free: 2.199 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.0025, allocations: 11.94 kB / 0.5255 GB, free: 2.188 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 8.213e-05/0.002582, allocations: 39.88 kB / 0.5256 GB, free: 2.148 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.002584, allocations: 0 / 0.5256 GB, free: 2.148 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.593e-06/0.002586, allocations: 0 / 0.5256 GB, free: 2.148 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.00259, allocations: 4 kB / 0.5256 GB, free: 2.145 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.0004551/0.003045, allocations: 298.2 kB / 0.5259 GB, free: 1.82 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.003086, allocations: 12.03 kB / 0.5259 GB, free: 1.809 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.00312, allocations: 4.875 kB / 0.5259 GB, free: 1.805 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.003262, allocations: 121.7 kB / 0.526 GB, free: 1.66 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.003274, allocations: 4.375 kB / 0.526 GB, free: 1.656 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.003305, allocations: 4.375 kB / 0.526 GB, free: 1.652 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.003434, allocations: 90.12 kB / 0.5261 GB, free: 1.559 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.003443, allocations: 192 / 0.5261 GB, free: 1.559 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.003454, allocations: 4.375 kB / 0.5261 GB, free: 1.555 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.00346, allocations: 384 / 0.5261 GB, free: 1.555 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.257e-05/0.003512, allocations: 35.86 kB / 0.5261 GB, free: 1.52 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.003938, allocations: 260.5 kB / 0.5264 GB, free: 1.234 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.004083, allocations: 119.1 kB / 0.5265 GB, free: 1.109 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.004129, allocations: 36.83 kB / 0.5265 GB, free: 1.07 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.004143, allocations: 4.266 kB / 0.5265 GB, free: 1.066 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.004163, allocations: 42.5 kB / 0.5266 GB, free: 1.016 MB / 442.8 MB Notification: Performance of pre-optimization done (n=10): time 9.12e-07/0.004163, allocations: 4 kB / 0.5266 GB, free: 1.012 MB / 442.8 MB Notification: Performance of matching and sorting (n=10): time 0.0002307/0.004394, allocations: 141.5 kB / 0.5267 GB, free: 0.8672 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.00443, allocations: 55.41 kB / 0.5268 GB, free: 0.8008 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.004491, allocations: 105.8 kB / 0.5269 GB, free: 0.6875 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.004505, allocations: 29.7 kB / 0.5269 GB, free: 0.6523 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.004543, allocations: 84.09 kB / 0.527 GB, free: 0.5664 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.00457, allocations: 47.64 kB / 0.527 GB, free: 0.5195 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.004611, allocations: 33.7 kB / 0.5271 GB, free: 492 kB / 442.8 MB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.004711, allocations: 322.8 kB / 0.5274 GB, free: 160 kB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.698e-05/0.004778, allocations: 59.95 kB / 0.5274 GB, free: 100 kB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.993e-05/0.004858, allocations: 80.86 kB / 0.5275 GB, free: 16 kB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.005013, allocations: 153.6 kB / 0.5276 GB, free: 15.86 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.005018, allocations: 7.938 kB / 0.5277 GB, free: 15.85 MB / 458.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000204/0.005222, allocations: 186.4 kB / 0.5278 GB, free: 15.66 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.005239, allocations: 8 kB / 0.5278 GB, free: 15.66 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.005245, allocations: 0 / 0.5278 GB, free: 15.66 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.005261, allocations: 0 / 0.5278 GB, free: 15.66 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.0054, allocations: 55.91 kB / 0.5279 GB, free: 15.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.005407, allocations: 0 / 0.5279 GB, free: 15.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.005438, allocations: 15.89 kB / 0.5279 GB, free: 15.59 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.005447, allocations: 8.031 kB / 0.5279 GB, free: 15.58 MB / 458.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.043e-05/0.005527, allocations: 129.7 kB / 0.528 GB, free: 15.44 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.005543, allocations: 7.953 kB / 0.528 GB, free: 15.43 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.005571, allocations: 12.12 kB / 0.5281 GB, free: 15.42 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.005574, allocations: 0 / 0.5281 GB, free: 15.42 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.005579, allocations: 0 / 0.5281 GB, free: 15.42 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.005583, allocations: 0 / 0.5281 GB, free: 15.42 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.005764, allocations: 141.2 kB / 0.5282 GB, free: 15.25 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.005766, allocations: 4 kB / 0.5282 GB, free: 15.25 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.00591, allocations: 51.97 kB / 0.5282 GB, free: 15.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.005913, allocations: 4 kB / 0.5282 GB, free: 15.2 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.005929, allocations: 11.98 kB / 0.5283 GB, free: 15.18 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.005931, allocations: 0 / 0.5283 GB, free: 15.18 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.005932, allocations: 0 / 0.5283 GB, free: 15.18 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.006189, allocations: 259.5 kB / 0.5285 GB, free: 14.91 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.006202, allocations: 7.891 kB / 0.5285 GB, free: 14.91 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.006221, allocations: 7.984 kB / 0.5285 GB, free: 14.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.259e-05/0.006264, allocations: 8 kB / 0.5285 GB, free: 14.89 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.006287, allocations: 7.984 kB / 0.5285 GB, free: 14.88 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.006291, allocations: 0 / 0.5285 GB, free: 14.88 MB / 458.8 MB Notification: Performance of sorting global known variables: time 3.174e-05/0.006322, allocations: 83.28 kB / 0.5286 GB, free: 14.8 MB / 458.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006322, allocations: 0 / 0.5286 GB, free: 14.8 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001585/0.006481, allocations: 27.98 kB / 0.5286 GB, free: 14.77 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 9.862e-05/0.00658, allocations: 99.25 kB / 0.5287 GB, free: 14.67 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.006762, allocations: 118.5 kB / 0.5288 GB, free: 14.55 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.006766, allocations: 0 / 0.5288 GB, free: 14.55 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.006808, allocations: 39.92 kB / 0.5289 GB, free: 14.52 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.006984, allocations: 11.94 kB / 0.5289 GB, free: 14.5 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.007444, allocations: 314.7 kB / 0.5292 GB, free: 14.16 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.705e-05/0.007511, allocations: 83.56 kB / 0.5293 GB, free: 14.06 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.007558, allocations: 16.5 kB / 0.5293 GB, free: 14.04 MB / 458.8 MB Notification: Performance of SimCode: time 1.392e-06/0.007559, allocations: 0 / 0.5293 GB, free: 14.04 MB / 458.8 MB Notification: Performance of Templates: time 0.002021/0.00958, allocations: 1.315 MB / 0.5306 GB, free: 12.73 MB / 458.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=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: 5.356331367045641]