Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.001415/0.001415, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00165/0.00165, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9125/0.9125, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.6967/0.6967, allocations: 88.09 MB / 350.7 MB, free: 11.8 MB / 330.8 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.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.|p|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.|p|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 452.8 MB, free: 8.062 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.288e-05, allocations: 5.266 kB / 452.8 MB, free: 8.059 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0009276/0.0009505, allocations: 407 kB / 453.2 MB, free: 7.664 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003612/0.001312, allocations: 235.3 kB / 453.4 MB, free: 7.434 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.001342, allocations: 0 / 453.4 MB, free: 7.434 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.001355, allocations: 3.938 kB / 453.4 MB, free: 7.43 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.00147, allocations: 7.938 kB / 453.5 MB, free: 7.422 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.062e-05/0.001561, allocations: 23.91 kB / 453.5 MB, free: 7.398 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 4.099e-05/0.001602, allocations: 11.92 kB / 453.5 MB, free: 7.387 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.001641, allocations: 8 kB / 453.5 MB, free: 7.379 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.001675, allocations: 8 kB / 453.5 MB, free: 7.371 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.08e-05/0.001726, allocations: 7.969 kB / 453.5 MB, free: 7.363 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.001741, allocations: 0 / 453.5 MB, free: 7.363 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.398e-05/0.001815, allocations: 27.92 kB / 453.5 MB, free: 7.336 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.001827, allocations: 3.938 kB / 453.5 MB, free: 7.332 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 1.202e-05/0.001839, allocations: 4 kB / 453.5 MB, free: 7.328 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 8.651e-05/0.001925, allocations: 31.94 kB / 453.6 MB, free: 7.297 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.001928, allocations: 4 kB / 453.6 MB, free: 7.293 MB / 426.8 MB Notification: Performance of FrontEnd: time 5.71e-07/0.001928, allocations: 0 / 453.6 MB, free: 7.293 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.001933, allocations: 3.938 kB / 453.6 MB, free: 7.289 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002609/0.002194, allocations: 352.3 kB / 453.9 MB, free: 6.906 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.002228, allocations: 8.031 kB / 453.9 MB, free: 6.898 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.002253, allocations: 13.23 kB / 454 MB, free: 6.887 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.749e-05/0.002321, allocations: 104.6 kB / 454.1 MB, free: 6.758 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.002331, allocations: 384 / 454.1 MB, free: 6.758 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.002344, allocations: 4.375 kB / 454.1 MB, free: 6.754 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.691e-05/0.002401, allocations: 34.25 kB / 454.1 MB, free: 6.715 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-06/0.002406, allocations: 4.188 kB / 454.1 MB, free: 6.711 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.002412, allocations: 4.375 kB / 454.1 MB, free: 6.707 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.002415, allocations: 4.312 kB / 454.1 MB, free: 6.703 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.875e-05/0.002434, allocations: 11.92 kB / 454.1 MB, free: 6.691 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.554e-05/0.00253, allocations: 101.2 kB / 454.2 MB, free: 6.566 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.00266, allocations: 43.09 kB / 454.3 MB, free: 6.512 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.002678, allocations: 11.69 kB / 454.3 MB, free: 6.496 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.002689, allocations: 4.156 kB / 454.3 MB, free: 6.492 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.002712, allocations: 37.38 kB / 454.3 MB, free: 6.445 MB / 426.8 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.002713, allocations: 0 / 454.3 MB, free: 6.445 MB / 426.8 MB Notification: Performance of matching and sorting (n=3): time 0.000114/0.002827, allocations: 49.62 kB / 454.4 MB, free: 6.391 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.00285, allocations: 51.41 kB / 454.4 MB, free: 6.328 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.609e-05/0.002906, allocations: 157.9 kB / 454.6 MB, free: 6.156 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.002914, allocations: 25.7 kB / 454.6 MB, free: 6.125 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.002946, allocations: 126.9 kB / 454.7 MB, free: 5.996 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.002972, allocations: 23.81 kB / 454.7 MB, free: 5.973 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.002995, allocations: 19.38 kB / 454.8 MB, free: 5.945 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.003122, allocations: 496.1 kB / 455.2 MB, free: 5.449 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.003135, allocations: 11.98 kB / 455.2 MB, free: 5.438 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-06/0.003144, allocations: 320 / 455.2 MB, free: 5.438 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.003175, allocations: 23.77 kB / 455.3 MB, free: 5.41 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.003177, allocations: 0 / 455.3 MB, free: 5.41 MB / 426.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.091e-05/0.003238, allocations: 53.62 kB / 455.3 MB, free: 5.352 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.003251, allocations: 4 kB / 455.3 MB, free: 5.348 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.003255, allocations: 0 / 455.3 MB, free: 5.348 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-06/0.003262, allocations: 0 / 455.3 MB, free: 5.348 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-05/0.00329, allocations: 11.98 kB / 455.3 MB, free: 5.336 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-06/0.003292, allocations: 0 / 455.3 MB, free: 5.336 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.027e-05/0.003302, allocations: 0 / 455.3 MB, free: 5.336 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.003306, allocations: 3.938 kB / 455.3 MB, free: 5.332 MB / 426.8 MB 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 (4): * Single equations (assignments): 4 * 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 5.59e-05/0.003362, allocations: 164.6 kB / 455.5 MB, free: 5.16 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-06/0.003367, allocations: 0 / 455.5 MB, free: 5.16 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.499e-05/0.003462, allocations: 69.3 kB / 455.6 MB, free: 5.082 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.003464, allocations: 0 / 455.6 MB, free: 5.082 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.003465, allocations: 0 / 455.6 MB, free: 5.082 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.003468, allocations: 0 / 455.6 MB, free: 5.082 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.183e-05/0.00353, allocations: 113.1 kB / 455.7 MB, free: 4.945 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.00353, allocations: 0 / 455.7 MB, free: 4.945 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.003558, allocations: 11.94 kB / 455.7 MB, free: 4.934 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.003559, allocations: 0 / 455.7 MB, free: 4.934 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.003566, allocations: 4.062 kB / 455.7 MB, free: 4.93 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.003567, allocations: 4 kB / 455.7 MB, free: 4.926 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.003568, allocations: 0 / 455.7 MB, free: 4.926 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.153e-05/0.003659, allocations: 112.3 kB / 455.8 MB, free: 4.793 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.003665, allocations: 3.953 kB / 455.8 MB, free: 4.789 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-06/0.003673, allocations: 4 kB / 455.8 MB, free: 4.785 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.003682, allocations: 4 kB / 455.8 MB, free: 4.781 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.003694, allocations: 3.984 kB / 455.8 MB, free: 4.777 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.003697, allocations: 4 kB / 455.8 MB, free: 4.773 MB / 426.8 MB Notification: Performance of sorting global known variables: time 2.585e-05/0.003723, allocations: 119.2 kB / 455.9 MB, free: 4.656 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003723, allocations: 4.125 kB / 456 MB, free: 4.652 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001268/0.003849, allocations: 11.94 kB / 456 MB, free: 4.641 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (6): * Single equations (assignments): 6 * 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.486e-05/0.003944, allocations: 107.2 kB / 456.1 MB, free: 4.527 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 5.837e-05/0.004003, allocations: 19.69 kB / 456.1 MB, free: 4.504 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.004004, allocations: 0 / 456.1 MB, free: 4.504 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 1.62e-05/0.00402, allocations: 23.61 kB / 456.1 MB, free: 4.477 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.552e-05/0.004116, allocations: 15.03 kB / 456.1 MB, free: 4.465 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001875/0.004303, allocations: 130.2 kB / 456.3 MB, free: 4.309 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.789e-05/0.004331, allocations: 63.3 kB / 456.3 MB, free: 4.227 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 2.656e-05/0.004358, allocations: 4 kB / 456.3 MB, free: 4.223 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.004397, allocations: 74.19 kB / 456.4 MB, free: 4.148 MB / 426.8 MB Notification: Performance of SimCode: time 5.01e-07/0.004398, allocations: 0 / 456.4 MB, free: 4.148 MB / 426.8 MB Notification: Performance of Templates: time 0.002056/0.006454, allocations: 0.7143 MB / 457.1 MB, free: 3.441 MB / 426.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_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.450769865885377]