Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.001779/0.001779, allocations: 72.45 kB / 21.24 MB, free: 404 kB / 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.002001/0.002001, allocations: 169.5 kB / 24.5 MB, free: 3.457 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.405/1.405, allocations: 177.2 MB / 204.9 MB, free: 9.016 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 0.9467/0.9467, allocations: 88.08 MB / 349.3 MB, free: 1.379 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.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 68.62 kB / 0.524 GB, free: 8.289 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1583, allocations: 85.84 MB / 0.6078 GB, free: 4.918 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001546/0.1598, allocations: 404.3 kB / 0.6082 GB, free: 4.527 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001975/0.16, allocations: 27.89 kB / 0.6082 GB, free: 4.5 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.1601, allocations: 0 / 0.6082 GB, free: 4.5 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.1601, allocations: 0 / 0.6082 GB, free: 4.5 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 4.632e-05/0.1601, allocations: 3.938 kB / 0.6082 GB, free: 4.496 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.1603, allocations: 4 kB / 0.6082 GB, free: 4.492 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 3.971e-05/0.1603, allocations: 4 kB / 0.6082 GB, free: 4.488 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.764e-05/0.1604, allocations: 11.98 kB / 0.6082 GB, free: 4.477 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.41e-05/0.1604, allocations: 0 / 0.6082 GB, free: 4.477 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.1604, allocations: 3.984 kB / 0.6082 GB, free: 4.473 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.1604, allocations: 3.938 kB / 0.6082 GB, free: 4.469 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 5.695e-05/0.1605, allocations: 11.98 kB / 0.6082 GB, free: 4.457 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.1605, allocations: 0 / 0.6082 GB, free: 4.457 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.505e-05/0.1605, allocations: 0 / 0.6082 GB, free: 4.457 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 7.426e-05/0.1606, allocations: 8 kB / 0.6083 GB, free: 4.449 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1606, allocations: 0 / 0.6083 GB, free: 4.449 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1606, allocations: 0 / 0.6083 GB, free: 4.449 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.1606, allocations: 0 / 0.6083 GB, free: 4.449 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002887/0.1609, allocations: 246.4 kB / 0.6085 GB, free: 4.176 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1609, allocations: 11.97 kB / 0.6085 GB, free: 4.164 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.1609, allocations: 0.9375 kB / 0.6085 GB, free: 4.164 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.161, allocations: 106.5 kB / 0.6086 GB, free: 4.035 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.161, allocations: 8.375 kB / 0.6086 GB, free: 4.027 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.161, allocations: 384 / 0.6086 GB, free: 4.027 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.603e-05/0.1611, allocations: 34.25 kB / 0.6086 GB, free: 3.988 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1611, allocations: 192 / 0.6086 GB, free: 3.988 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1612, allocations: 3.938 kB / 0.6086 GB, free: 3.984 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1612, allocations: 0 / 0.6086 GB, free: 3.984 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.87e-05/0.1612, allocations: 8 kB / 0.6087 GB, free: 3.977 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.1613, allocations: 97.33 kB / 0.6087 GB, free: 3.852 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.377e-05/0.1614, allocations: 26.48 kB / 0.6088 GB, free: 3.816 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/0.1614, allocations: 12.91 kB / 0.6088 GB, free: 3.801 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.1616, allocations: 12 kB / 0.6088 GB, free: 3.789 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1616, allocations: 30.56 kB / 0.6088 GB, free: 3.75 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1616, allocations: 0 / 0.6088 GB, free: 3.75 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001268/0.1617, allocations: 41.62 kB / 0.6089 GB, free: 3.703 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.1618, allocations: 63.34 kB / 0.6089 GB, free: 3.629 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.671e-05/0.1618, allocations: 93.98 kB / 0.609 GB, free: 3.527 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1618, allocations: 25.7 kB / 0.609 GB, free: 3.496 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.1619, allocations: 80.14 kB / 0.6091 GB, free: 3.414 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.1619, allocations: 7.891 kB / 0.6091 GB, free: 3.406 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.1619, allocations: 13.72 kB / 0.6091 GB, free: 3.387 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.1621, allocations: 318.8 kB / 0.6094 GB, free: 3.066 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.1621, allocations: 0 / 0.6094 GB, free: 3.066 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-06/0.1621, allocations: 4 kB / 0.6094 GB, free: 3.062 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.848e-05/0.1621, allocations: 8.859 kB / 0.6095 GB, free: 3.051 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1621, allocations: 64 / 0.6095 GB, free: 3.051 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.72e-05/0.1622, allocations: 41.7 kB / 0.6095 GB, free: 3.004 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1622, allocations: 11.28 kB / 0.6095 GB, free: 2.996 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1622, allocations: 4 kB / 0.6095 GB, free: 2.992 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1622, allocations: 7.922 kB / 0.6095 GB, free: 2.984 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.072e-05/0.1623, allocations: 7.938 kB / 0.6095 GB, free: 2.977 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1623, allocations: 0 / 0.6095 GB, free: 2.977 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.331e-05/0.1623, allocations: 0 / 0.6095 GB, free: 2.977 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.1623, allocations: 0 / 0.6095 GB, free: 2.977 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.482e-05/0.1624, allocations: 109.8 kB / 0.6096 GB, free: 2.859 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-06/0.1624, allocations: 8.031 kB / 0.6096 GB, free: 2.852 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.587e-05/0.1625, allocations: 44.84 kB / 0.6097 GB, free: 2.801 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1625, allocations: 3.938 kB / 0.6097 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1625, allocations: 0 / 0.6097 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1625, allocations: 0 / 0.6097 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.62e-05/0.1625, allocations: 101.3 kB / 0.6098 GB, free: 2.668 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1625, allocations: 4 kB / 0.6098 GB, free: 2.664 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.1626, allocations: 7.922 kB / 0.6098 GB, free: 2.656 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1626, allocations: 3.984 kB / 0.6098 GB, free: 2.652 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-06/0.1626, allocations: 4 kB / 0.6098 GB, free: 2.648 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1626, allocations: 7.969 kB / 0.6098 GB, free: 2.641 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1626, allocations: 3.938 kB / 0.6098 GB, free: 2.637 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.231e-05/0.1627, allocations: 61.09 kB / 0.6099 GB, free: 2.559 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.1627, allocations: 4 kB / 0.6099 GB, free: 2.555 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1627, allocations: 3.984 kB / 0.6099 GB, free: 2.551 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.104e-05/0.1627, allocations: 0 / 0.6099 GB, free: 2.551 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.1627, allocations: 3.938 kB / 0.6099 GB, free: 2.547 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1627, allocations: 0 / 0.6099 GB, free: 2.547 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.623e-05/0.1627, allocations: 79.28 kB / 0.61 GB, free: 2.469 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.1627, allocations: 0 / 0.61 GB, free: 2.469 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001739/0.1629, allocations: 4.031 kB / 0.61 GB, free: 2.465 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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 0.0001403/0.1631, allocations: 99.23 kB / 0.61 GB, free: 2.355 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 7.755e-05/0.1631, allocations: 15.92 kB / 0.6101 GB, free: 2.34 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1631, allocations: 0 / 0.6101 GB, free: 2.34 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.454e-05/0.1632, allocations: 4 kB / 0.6101 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.1633, allocations: 7.375 kB / 0.6101 GB, free: 2.332 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002096/0.1635, allocations: 87.61 kB / 0.6102 GB, free: 2.223 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.974e-05/0.1635, allocations: 59.34 kB / 0.6102 GB, free: 2.145 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 1.861e-05/0.1636, allocations: 4.125 kB / 0.6102 GB, free: 2.141 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.1636, allocations: 8.5 kB / 0.6102 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of SimCode: time 3e-07/0.1636, allocations: 0 / 0.6102 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of Templates: time 0.002437/0.166, allocations: 276.1 kB / 0.6105 GB, free: 1.867 MB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -s ida -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.402135092066601]