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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9385/0.9385, allocations: 120.6 MB / 426.5 MB, free: 5.805 MB / 334.2 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001907/0.001907, allocations: 59.89 kB / 0.5965 GB, free: 17.35 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1313, allocations: 84.65 MB / 0.6792 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002137/0.1334, allocations: 1.184 MB / 0.6803 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001389/0.1336, allocations: 15.97 kB / 0.6804 GB, free: 11.27 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.1336, allocations: 8 kB / 0.6804 GB, free: 11.26 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.357e-05/0.1337, allocations: 3.938 kB / 0.6804 GB, free: 11.26 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 3.341e-05/0.1337, allocations: 3.984 kB / 0.6804 GB, free: 11.25 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.1338, allocations: 0 / 0.6804 GB, free: 11.25 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.134, allocations: 59.88 kB / 0.6804 GB, free: 11.2 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.134, allocations: 7.984 kB / 0.6804 GB, free: 11.19 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.143e-05/0.134, allocations: 19.98 kB / 0.6805 GB, free: 11.17 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.1341, allocations: 19.92 kB / 0.6805 GB, free: 11.15 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1341, allocations: 0 / 0.6805 GB, free: 11.15 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.1341, allocations: 4 kB / 0.6805 GB, free: 11.14 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.1342, allocations: 19.98 kB / 0.6805 GB, free: 11.12 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.1342, allocations: 27.84 kB / 0.6805 GB, free: 11.1 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.291e-05/0.1343, allocations: 43.77 kB / 0.6806 GB, free: 11.05 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1343, allocations: 0 / 0.6806 GB, free: 11.05 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1343, allocations: 0 / 0.6806 GB, free: 11.05 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1343, allocations: 0 / 0.6806 GB, free: 11.05 MB / 0.5139 GB 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.0005316/0.1348, allocations: 371.3 kB / 0.6809 GB, free: 10.64 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1349, allocations: 19.89 kB / 0.6809 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.1349, allocations: 4.891 kB / 0.6809 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.1351, allocations: 172.4 kB / 0.6811 GB, free: 10.41 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1351, allocations: 8.375 kB / 0.6811 GB, free: 10.4 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.1351, allocations: 8.328 kB / 0.6811 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1353, allocations: 86.08 kB / 0.6812 GB, free: 10.3 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1353, allocations: 192 / 0.6812 GB, free: 10.3 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1353, allocations: 3.938 kB / 0.6812 GB, free: 10.3 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1353, allocations: 4 kB / 0.6812 GB, free: 10.3 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.013e-05/0.1354, allocations: 35.91 kB / 0.6813 GB, free: 10.26 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.1359, allocations: 316.9 kB / 0.6816 GB, free: 9.902 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.1361, allocations: 122.7 kB / 0.6817 GB, free: 9.773 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.788e-05/0.1362, allocations: 40.77 kB / 0.6817 GB, free: 9.73 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.1362, allocations: 0 / 0.6817 GB, free: 9.73 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1362, allocations: 38.56 kB / 0.6817 GB, free: 9.684 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.1362, allocations: 4 kB / 0.6818 GB, free: 9.68 MB / 0.5139 GB Notification: Performance of matching and sorting (n=10): time 0.0002891/0.1365, allocations: 145.5 kB / 0.6819 GB, free: 9.531 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.1365, allocations: 51.41 kB / 0.6819 GB, free: 9.469 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.1366, allocations: 105.8 kB / 0.682 GB, free: 9.355 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1366, allocations: 29.7 kB / 0.6821 GB, free: 9.32 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.1367, allocations: 80.14 kB / 0.6821 GB, free: 9.238 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.1367, allocations: 55.58 kB / 0.6822 GB, free: 9.184 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.1368, allocations: 29.72 kB / 0.6822 GB, free: 9.148 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1369, allocations: 326.8 kB / 0.6825 GB, free: 8.82 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.137, allocations: 63.89 kB / 0.6826 GB, free: 8.758 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.1371, allocations: 79.73 kB / 0.6827 GB, free: 8.676 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.1373, allocations: 144.3 kB / 0.6828 GB, free: 8.531 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1373, allocations: 112 / 0.6828 GB, free: 8.531 MB / 0.5139 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002791/0.1376, allocations: 201.4 kB / 0.683 GB, free: 8.328 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1376, allocations: 8.031 kB / 0.683 GB, free: 8.32 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1376, allocations: 384 / 0.683 GB, free: 8.32 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1376, allocations: 4 kB / 0.683 GB, free: 8.316 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.1379, allocations: 47.97 kB / 0.6831 GB, free: 8.27 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1379, allocations: 4 kB / 0.6831 GB, free: 8.266 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.797e-05/0.1379, allocations: 23.77 kB / 0.6831 GB, free: 8.242 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1379, allocations: 8 kB / 0.6831 GB, free: 8.234 MB / 0.5139 GB 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.85e-05/0.138, allocations: 125.7 kB / 0.6832 GB, free: 8.102 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.1381, allocations: 7.953 kB / 0.6832 GB, free: 8.094 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.1381, allocations: 15.97 kB / 0.6832 GB, free: 8.074 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1381, allocations: 0 / 0.6832 GB, free: 8.074 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1381, allocations: 0 / 0.6832 GB, free: 8.074 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1381, allocations: 7.938 kB / 0.6832 GB, free: 8.066 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.1384, allocations: 197.7 kB / 0.6834 GB, free: 7.824 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1384, allocations: 0 / 0.6834 GB, free: 7.824 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.1387, allocations: 47.97 kB / 0.6835 GB, free: 7.777 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.1387, allocations: 4 kB / 0.6835 GB, free: 7.773 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.1387, allocations: 4 kB / 0.6835 GB, free: 7.77 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.1387, allocations: 3.938 kB / 0.6835 GB, free: 7.766 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1387, allocations: 4 kB / 0.6835 GB, free: 7.762 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.139, allocations: 251.3 kB / 0.6837 GB, free: 7.5 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.1391, allocations: 89.03 kB / 0.6838 GB, free: 7.395 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.1391, allocations: 4 kB / 0.6838 GB, free: 7.391 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.1392, allocations: 416 / 0.6838 GB, free: 7.391 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.1392, allocations: 7.984 kB / 0.6838 GB, free: 7.383 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.1392, allocations: 11.94 kB / 0.6838 GB, free: 7.371 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.791e-05/0.1392, allocations: 83.27 kB / 0.6839 GB, free: 7.289 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.1392, allocations: 4 kB / 0.6839 GB, free: 7.285 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002376/0.1395, allocations: 20 kB / 0.6839 GB, free: 7.266 MB / 0.5139 GB 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.403e-05/0.1396, allocations: 99.78 kB / 0.684 GB, free: 7.16 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.1398, allocations: 112 kB / 0.6841 GB, free: 7.051 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1398, allocations: 0 / 0.6841 GB, free: 7.051 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 7.051e-05/0.1399, allocations: 48.2 kB / 0.6842 GB, free: 7.004 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.1401, allocations: 12.17 kB / 0.6842 GB, free: 6.992 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/0.1406, allocations: 342.9 kB / 0.6845 GB, free: 6.633 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.1409, allocations: 0.7039 MB / 0.6852 GB, free: 5.902 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 8.697e-05/0.141, allocations: 36.52 kB / 0.6853 GB, free: 5.863 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.141, allocations: 11.44 kB / 0.6853 GB, free: 5.852 MB / 0.5139 GB Notification: Performance of SimCode: time 4e-07/0.141, allocations: 0 / 0.6853 GB, free: 5.852 MB / 0.5139 GB Notification: Performance of Templates: time 0.003167/0.1442, allocations: 0.8536 MB / 0.6861 GB, free: 5.004 MB / 0.5139 GB " [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.3278355011716485]