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.001652/0.001652, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001429/0.001429, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 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.379/1.379, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.9681/0.9681, allocations: 120.6 MB / 428.3 MB, free: 5.523 MB / 334.1 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.001962/0.001962, allocations: 67.89 kB / 0.5989 GB, free: 16.96 MB / 446.3 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1387, allocations: 84.7 MB / 0.6816 GB, free: 12.05 MB / 0.5139 GB
Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002246/0.1409, allocations: 1.176 MB / 0.6828 GB, free: 10.86 MB / 0.5139 GB
Notification: Performance of NFInst.instExpressions: time 0.0001484/0.1411, allocations: 19.91 kB / 0.6828 GB, free: 10.84 MB / 0.5139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.1411, allocations: 4 kB / 0.6828 GB, free: 10.84 MB / 0.5139 GB
Notification: Performance of NFTyping.typeComponents: time 5.604e-05/0.1412, allocations: 4 kB / 0.6828 GB, free: 10.84 MB / 0.5139 GB
Notification: Performance of NFTyping.typeBindings: time 3.112e-05/0.1412, allocations: 7.922 kB / 0.6828 GB, free: 10.83 MB / 0.5139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.1413, allocations: 0 / 0.6828 GB, free: 10.83 MB / 0.5139 GB
Notification: Performance of NFFlatten.flatten: time 0.0001124/0.1414, allocations: 59.92 kB / 0.6829 GB, free: 10.77 MB / 0.5139 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.1415, allocations: 7.938 kB / 0.6829 GB, free: 10.76 MB / 0.5139 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.911e-05/0.1415, allocations: 19.98 kB / 0.6829 GB, free: 10.74 MB / 0.5139 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.805e-05/0.1416, allocations: 23.91 kB / 0.6829 GB, free: 10.72 MB / 0.5139 GB
Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.1416, allocations: 4 kB / 0.6829 GB, free: 10.71 MB / 0.5139 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.1416, allocations: 3.938 kB / 0.6829 GB, free: 10.71 MB / 0.5139 GB
Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.1416, allocations: 19.97 kB / 0.6829 GB, free: 10.69 MB / 0.5139 GB
Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.1417, allocations: 19.88 kB / 0.683 GB, free: 10.67 MB / 0.5139 GB
Notification: Performance of NFConvertDAE.convert: time 9.046e-05/0.1418, allocations: 47.81 kB / 0.683 GB, free: 10.62 MB / 0.5139 GB
Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1418, allocations: 0 / 0.683 GB, free: 10.62 MB / 0.5139 GB
Notification: Performance of FrontEnd: time 1.403e-06/0.1418, allocations: 0 / 0.683 GB, free: 10.62 MB / 0.5139 GB
Notification: Performance of Transformations before backend: time 4.759e-06/0.1418, allocations: 0 / 0.683 GB, free: 10.62 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.00053/0.1423, allocations: 298.2 kB / 0.6833 GB, free: 10.3 MB / 0.5139 GB
Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.1423, allocations: 8.031 kB / 0.6833 GB, free: 10.29 MB / 0.5139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.1424, allocations: 12.89 kB / 0.6833 GB, free: 10.28 MB / 0.5139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.1425, allocations: 122.5 kB / 0.6834 GB, free: 10.14 MB / 0.5139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.1425, allocations: 384 / 0.6834 GB, free: 10.14 MB / 0.5139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.1426, allocations: 16.33 kB / 0.6834 GB, free: 10.12 MB / 0.5139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1427, allocations: 78.14 kB / 0.6835 GB, free: 10.04 MB / 0.5139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1427, allocations: 192 / 0.6835 GB, free: 10.04 MB / 0.5139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.1427, allocations: 11.94 kB / 0.6835 GB, free: 10.03 MB / 0.5139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1428, allocations: 0 / 0.6835 GB, free: 10.03 MB / 0.5139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.757e-05/0.1428, allocations: 35.97 kB / 0.6836 GB, free: 9.992 MB / 0.5139 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.1433, allocations: 287.9 kB / 0.6838 GB, free: 9.668 MB / 0.5139 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1435, allocations: 114.4 kB / 0.6839 GB, free: 9.547 MB / 0.5139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.585e-05/0.1436, allocations: 44.83 kB / 0.684 GB, free: 9.5 MB / 0.5139 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.1436, allocations: 0 / 0.684 GB, free: 9.5 MB / 0.5139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.1436, allocations: 30.56 kB / 0.684 GB, free: 9.461 MB / 0.5139 GB
Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.1436, allocations: 4 kB / 0.684 GB, free: 9.457 MB / 0.5139 GB
Notification: Performance of matching and sorting (n=10): time 0.000292/0.1439, allocations: 154 kB / 0.6842 GB, free: 9.301 MB / 0.5139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1439, allocations: 51.41 kB / 0.6842 GB, free: 9.238 MB / 0.5139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.144, allocations: 105.8 kB / 0.6843 GB, free: 9.125 MB / 0.5139 GB
Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.144, allocations: 29.8 kB / 0.6843 GB, free: 9.09 MB / 0.5139 GB
Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.1441, allocations: 84.19 kB / 0.6844 GB, free: 9.004 MB / 0.5139 GB
Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.1441, allocations: 55.59 kB / 0.6845 GB, free: 8.949 MB / 0.5139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.1442, allocations: 37.72 kB / 0.6845 GB, free: 8.906 MB / 0.5139 GB
Notification: Performance of setup shared object (initialization): time 0.0001307/0.1443, allocations: 318.8 kB / 0.6848 GB, free: 8.586 MB / 0.5139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-05/0.1444, allocations: 67.89 kB / 0.6849 GB, free: 8.52 MB / 0.5139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1445, allocations: 94.23 kB / 0.685 GB, free: 8.426 MB / 0.5139 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.1447, allocations: 129.7 kB / 0.6851 GB, free: 8.293 MB / 0.5139 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1447, allocations: 0 / 0.6851 GB, free: 8.293 MB / 0.5139 GB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002747/0.145, allocations: 196.9 kB / 0.6853 GB, free: 8.098 MB / 0.5139 GB
Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.145, allocations: 8 kB / 0.6853 GB, free: 8.09 MB / 0.5139 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.145, allocations: 0 / 0.6853 GB, free: 8.09 MB / 0.5139 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.145, allocations: 4.031 kB / 0.6853 GB, free: 8.086 MB / 0.5139 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.1452, allocations: 59.91 kB / 0.6853 GB, free: 8.027 MB / 0.5139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1452, allocations: 3.984 kB / 0.6854 GB, free: 8.023 MB / 0.5139 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.863e-05/0.1453, allocations: 19.83 kB / 0.6854 GB, free: 8.004 MB / 0.5139 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.1453, allocations: 8 kB / 0.6854 GB, free: 7.996 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 9.171e-05/0.1454, allocations: 117.8 kB / 0.6855 GB, free: 7.871 MB / 0.5139 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.1454, allocations: 7.953 kB / 0.6855 GB, free: 7.863 MB / 0.5139 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.1455, allocations: 12.06 kB / 0.6855 GB, free: 7.848 MB / 0.5139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1455, allocations: 4 kB / 0.6855 GB, free: 7.844 MB / 0.5139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1455, allocations: 0 / 0.6855 GB, free: 7.844 MB / 0.5139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1455, allocations: 3.938 kB / 0.6855 GB, free: 7.84 MB / 0.5139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.1457, allocations: 168.7 kB / 0.6857 GB, free: 7.633 MB / 0.5139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1457, allocations: 0 / 0.6857 GB, free: 7.633 MB / 0.5139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.146, allocations: 51.91 kB / 0.6857 GB, free: 7.582 MB / 0.5139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.146, allocations: 0 / 0.6857 GB, free: 7.582 MB / 0.5139 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.146, allocations: 8 kB / 0.6857 GB, free: 7.574 MB / 0.5139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.146, allocations: 4 kB / 0.6857 GB, free: 7.57 MB / 0.5139 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.146, allocations: 0 / 0.6857 GB, free: 7.57 MB / 0.5139 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.1463, allocations: 251.3 kB / 0.686 GB, free: 7.309 MB / 0.5139 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.1464, allocations: 7.938 kB / 0.686 GB, free: 7.301 MB / 0.5139 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.1464, allocations: 7.984 kB / 0.686 GB, free: 7.293 MB / 0.5139 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.1465, allocations: 8.281 kB / 0.686 GB, free: 7.285 MB / 0.5139 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.1465, allocations: 7.984 kB / 0.686 GB, free: 7.277 MB / 0.5139 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.1465, allocations: 3.938 kB / 0.686 GB, free: 7.273 MB / 0.5139 GB
Notification: Performance of sorting global known variables: time 4.431e-05/0.1465, allocations: 87.2 kB / 0.6861 GB, free: 7.188 MB / 0.5139 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.1465, allocations: 0 / 0.6861 GB, free: 7.188 MB / 0.5139 GB
Notification: Performance of remove unused functions: time 0.0002346/0.1468, allocations: 31.94 kB / 0.6861 GB, free: 7.156 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.898e-05/0.1469, allocations: 107.3 kB / 0.6862 GB, free: 7.043 MB / 0.5139 GB
Notification: Performance of simCode: created initialization part: time 0.0002227/0.1471, allocations: 115.9 kB / 0.6863 GB, free: 6.93 MB / 0.5139 GB
Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1471, allocations: 0 / 0.6863 GB, free: 6.93 MB / 0.5139 GB
Notification: Performance of simCode: created simulation system equations: time 6.273e-05/0.1471, allocations: 39.97 kB / 0.6864 GB, free: 6.891 MB / 0.5139 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1474, allocations: 8 kB / 0.6864 GB, free: 6.883 MB / 0.5139 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.1478, allocations: 340.1 kB / 0.6867 GB, free: 6.523 MB / 0.5139 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1481, allocations: 0.7009 MB / 0.6874 GB, free: 5.797 MB / 0.5139 GB
Notification: Performance of simCode: alias equations: time 7.475e-05/0.1482, allocations: 32.45 kB / 0.6874 GB, free: 5.766 MB / 0.5139 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.1483, allocations: 19.44 kB / 0.6874 GB, free: 5.746 MB / 0.5139 GB
Notification: Performance of SimCode: time 3.71e-07/0.1483, allocations: 0 / 0.6874 GB, free: 5.746 MB / 0.5139 GB
Notification: Performance of Templates: time 0.003279/0.1515, allocations: 0.8907 MB / 0.6883 GB, free: 4.855 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.59545330889523]