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.001058/0.001058, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001166/0.001166, allocations: 174.3 kB / 24.91 MB, free: 8.766 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.9732/0.9732, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.6859/0.6859, allocations: 88.09 MB / 349.9 MB, free: 14.15 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.484e-06/2.484e-06, allocations: 0 / 398.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.636e-05, allocations: 4.844 kB / 398.8 MB, free: 13.58 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002448/0.002474, allocations: 1.267 MB / 400.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000173/0.002647, allocations: 23.89 kB / 400.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.002681, allocations: 0 / 400.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.27e-05/0.002764, allocations: 3.938 kB / 400.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.287e-05/0.002807, allocations: 4 kB / 400.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.002964, allocations: 15.92 kB / 400.1 MB, free: 12.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.003232, allocations: 59.86 kB / 400.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.003272, allocations: 0 / 400.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.501e-05/0.003327, allocations: 27.97 kB / 400.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.003392, allocations: 19.97 kB / 400.2 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.003412, allocations: 0 / 400.2 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.003425, allocations: 4 kB / 400.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.003468, allocations: 23.92 kB / 400.3 MB, free: 12.13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.003505, allocations: 11.98 kB / 400.3 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.928e-05/0.003594, allocations: 35.89 kB / 400.3 MB, free: 12.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003596, allocations: 4 kB / 400.3 MB, free: 12.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003597, allocations: 0 / 400.3 MB, free: 12.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.003601, allocations: 3.938 kB / 400.3 MB, free: 12.07 MB / 378.7 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.0003706/0.003971, allocations: 269.5 kB / 400.6 MB, free: 11.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.004011, allocations: 12.03 kB / 400.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.004047, allocations: 8.922 kB / 400.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.004194, allocations: 113.7 kB / 400.7 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.004206, allocations: 12.38 kB / 400.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.004231, allocations: 8.359 kB / 400.7 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.722e-05/0.004328, allocations: 54.22 kB / 400.8 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.004336, allocations: 192 / 400.8 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.004347, allocations: 4.375 kB / 400.8 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.004354, allocations: 4.375 kB / 400.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.811e-05/0.004382, allocations: 15.88 kB / 400.8 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.004727, allocations: 191 kB / 401 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.004839, allocations: 61.38 kB / 401 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.004873, allocations: 28.83 kB / 401.1 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.004883, allocations: 4.297 kB / 401.1 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.00491, allocations: 42.44 kB / 401.1 MB, free: 11.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.004911, allocations: 0 / 401.1 MB, free: 11.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001751/0.005087, allocations: 73.61 kB / 401.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.005119, allocations: 59.34 kB / 401.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.522e-05/0.005184, allocations: 102.7 kB / 401.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.0052, allocations: 29.7 kB / 401.4 MB, free: 10.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.005283, allocations: 88.09 kB / 401.5 MB, free: 10.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.005318, allocations: 47.56 kB / 401.5 MB, free: 10.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.005373, allocations: 37.69 kB / 401.5 MB, free: 10.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.00546, allocations: 322.8 kB / 401.9 MB, free: 10.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.696e-05/0.005496, allocations: 18.83 kB / 401.9 MB, free: 10.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.313e-05/0.00555, allocations: 44.69 kB / 401.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.038e-05/0.00564, allocations: 66.19 kB / 402 MB, free: 10.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.005642, allocations: 0 / 402 MB, free: 10.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001452/0.005787, allocations: 104.4 kB / 402.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.0058, allocations: 4 kB / 402.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.005806, allocations: 0 / 402.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.005821, allocations: 3.984 kB / 402.1 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.006071, allocations: 79.47 kB / 402.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.006076, allocations: 4 kB / 402.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.534e-05/0.006111, allocations: 7.891 kB / 402.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.006124, allocations: 8 kB / 402.2 MB, free: 10.02 MB / 378.7 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 7.005e-05/0.006194, allocations: 124.6 kB / 402.3 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.006223, allocations: 7.938 kB / 402.3 MB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.006254, allocations: 12.12 kB / 402.3 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.006256, allocations: 0 / 402.3 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.006258, allocations: 4 kB / 402.3 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.006261, allocations: 4 kB / 402.3 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.006444, allocations: 89.88 kB / 402.4 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.006446, allocations: 0 / 402.4 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.006707, allocations: 63.94 kB / 402.5 MB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.006713, allocations: 7.938 kB / 402.5 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.006731, allocations: 4 kB / 402.5 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.006732, allocations: 4 kB / 402.5 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.006733, allocations: 4 kB / 402.5 MB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.006932, allocations: 199.8 kB / 402.7 MB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.006943, allocations: 15.77 kB / 402.7 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.006958, allocations: 4 kB / 402.7 MB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.975e-05/0.007018, allocations: 0 / 402.7 MB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.007041, allocations: 11.98 kB / 402.7 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.007048, allocations: 3.938 kB / 402.7 MB, free: 9.434 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.507e-05/0.007063, allocations: 12.84 kB / 402.8 MB, free: 9.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007063, allocations: 4 kB / 402.8 MB, free: 9.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.007275, allocations: 24 kB / 402.8 MB, free: 9.391 MB / 378.7 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 8.619e-05/0.007361, allocations: 76.42 kB / 402.9 MB, free: 9.305 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.007488, allocations: 75.53 kB / 402.9 MB, free: 9.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.007492, allocations: 0 / 402.9 MB, free: 9.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.577e-05/0.007527, allocations: 24.8 kB / 403 MB, free: 9.203 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.007694, allocations: 11.98 kB / 403 MB, free: 9.191 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.008169, allocations: 274.4 kB / 403.2 MB, free: 8.895 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.798e-05/0.008217, allocations: 67.2 kB / 403.3 MB, free: 8.809 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.968e-05/0.008256, allocations: 8.484 kB / 403.3 MB, free: 8.801 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.008318, allocations: 59.38 kB / 403.4 MB, free: 8.742 MB / 378.7 MB Notification: Performance of SimCode: time 6.42e-07/0.008319, allocations: 0 / 403.4 MB, free: 8.742 MB / 378.7 MB Notification: Performance of Templates: time 0.002888/0.01121, allocations: 0.8891 MB / 404.3 MB, free: 7.887 MB / 378.7 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 -s gbode -gbm=radauIIA3 -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.284569459967315]