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.001566/0.001566, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001039/0.001039, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9257/0.9257, allocations: 177.2 MB / 205 MB, free: 5.605 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.5887/0.5887, allocations: 88.07 MB / 349.6 MB, free: 14.23 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.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 3.156e-06/3.156e-06, allocations: 0 / 451.5 MB, free: 33.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.41e-05, allocations: 8.547 kB / 451.6 MB, free: 33.35 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001616/0.00165, allocations: 402.4 kB / 451.9 MB, free: 33.13 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000522/0.002172, allocations: 243 kB / 452.2 MB, free: 32.99 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.914e-05/0.002211, allocations: 0 / 452.2 MB, free: 32.99 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.002233, allocations: 0 / 452.2 MB, free: 32.99 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.002398, allocations: 2.781 kB / 452.2 MB, free: 32.99 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.002557, allocations: 35 kB / 452.2 MB, free: 32.97 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.26e-05/0.002619, allocations: 6.812 kB / 452.2 MB, free: 32.96 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.002664, allocations: 2.781 kB / 452.2 MB, free: 32.96 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.002706, allocations: 6.016 kB / 452.2 MB, free: 32.96 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.002759, allocations: 10.48 kB / 452.2 MB, free: 32.96 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.002776, allocations: 0 / 452.2 MB, free: 32.96 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.002882, allocations: 30.78 kB / 452.3 MB, free: 32.95 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.002896, allocations: 0 / 452.3 MB, free: 32.95 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.002917, allocations: 9.906 kB / 452.3 MB, free: 32.95 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.003039, allocations: 35.02 kB / 452.3 MB, free: 32.93 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.003043, allocations: 0 / 452.3 MB, free: 32.93 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.182e-06/0.003044, allocations: 0 / 452.3 MB, free: 32.93 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.003049, allocations: 0 / 452.3 MB, free: 32.93 MB / 410.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.0003491/0.003398, allocations: 351.8 kB / 452.7 MB, free: 32.56 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.003444, allocations: 10.16 kB / 452.7 MB, free: 32.56 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.003494, allocations: 7.109 kB / 452.7 MB, free: 32.56 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.141e-05/0.003575, allocations: 115.8 kB / 452.8 MB, free: 32.43 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.003588, allocations: 3.5 kB / 452.8 MB, free: 32.43 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.003611, allocations: 384 / 452.8 MB, free: 32.43 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.634e-05/0.003707, allocations: 42.53 kB / 452.8 MB, free: 32.39 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.003716, allocations: 192 / 452.8 MB, free: 32.39 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.003726, allocations: 384 / 452.8 MB, free: 32.39 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.003735, allocations: 384 / 452.8 MB, free: 32.39 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.566e-05/0.00377, allocations: 13.05 kB / 452.9 MB, free: 32.38 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.003895, allocations: 111.5 kB / 453 MB, free: 32.24 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.004159, allocations: 46.25 kB / 453 MB, free: 32.21 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.00419, allocations: 22.58 kB / 453 MB, free: 32.18 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.004208, allocations: 3.938 kB / 453 MB, free: 32.18 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.004232, allocations: 36.2 kB / 453.1 MB, free: 32.14 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.004234, allocations: 3.938 kB / 453.1 MB, free: 32.13 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001825/0.004417, allocations: 49.94 kB / 453.1 MB, free: 32.1 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.004445, allocations: 51.41 kB / 453.2 MB, free: 32.04 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.719e-05/0.004502, allocations: 160 kB / 453.3 MB, free: 31.87 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.004511, allocations: 25.7 kB / 453.4 MB, free: 31.84 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.074e-05/0.004532, allocations: 126.9 kB / 453.5 MB, free: 31.71 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.004568, allocations: 12.69 kB / 453.5 MB, free: 31.7 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.004602, allocations: 22.38 kB / 453.5 MB, free: 31.67 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.258e-05/0.004664, allocations: 0.4906 MB / 454 MB, free: 31.18 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.004685, allocations: 2.844 kB / 454 MB, free: 31.18 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.55e-05/0.0047, allocations: 7.656 kB / 454 MB, free: 31.17 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.007e-05/0.00475, allocations: 23.48 kB / 454 MB, free: 31.16 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.004753, allocations: 0 / 454 MB, free: 31.16 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.833e-05/0.004841, allocations: 51.12 kB / 454.1 MB, free: 31.12 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.004858, allocations: 6.031 kB / 454.1 MB, free: 31.12 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.004864, allocations: 0 / 454.1 MB, free: 31.12 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.004882, allocations: 3.234 kB / 454.1 MB, free: 31.12 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.004942, allocations: 5.812 kB / 454.1 MB, free: 31.12 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.004948, allocations: 7.984 kB / 454.1 MB, free: 31.11 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/0.004967, allocations: 11.88 kB / 454.1 MB, free: 31.1 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.004975, allocations: 2.906 kB / 454.1 MB, free: 31.1 MB / 410.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.806e-05/0.005033, allocations: 156.6 kB / 454.3 MB, free: 30.93 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.005046, allocations: 6.391 kB / 454.3 MB, free: 30.93 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.005221, allocations: 68.2 kB / 454.3 MB, free: 30.89 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.005224, allocations: 0 / 454.3 MB, free: 30.89 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.00523, allocations: 0 / 454.3 MB, free: 30.89 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.005236, allocations: 3.938 kB / 454.4 MB, free: 30.88 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.715e-05/0.005324, allocations: 126.5 kB / 454.5 MB, free: 30.73 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.005325, allocations: 0 / 454.5 MB, free: 30.73 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.428e-05/0.0054, allocations: 12.23 kB / 454.5 MB, free: 30.73 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.005403, allocations: 0 / 454.5 MB, free: 30.73 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.005425, allocations: 2.75 kB / 454.5 MB, free: 30.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.005428, allocations: 3.938 kB / 454.5 MB, free: 30.73 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.00543, allocations: 0 / 454.5 MB, free: 30.73 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.005614, allocations: 107 kB / 454.6 MB, free: 30.63 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.005625, allocations: 2.688 kB / 454.6 MB, free: 30.63 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.005643, allocations: 3.938 kB / 454.6 MB, free: 30.63 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3e-05/0.005673, allocations: 6.781 kB / 454.6 MB, free: 30.62 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.005697, allocations: 7.234 kB / 454.6 MB, free: 30.62 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.005703, allocations: 2.719 kB / 454.6 MB, free: 30.62 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.421e-05/0.005727, allocations: 121.9 kB / 454.7 MB, free: 30.5 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.005727, allocations: 0 / 454.7 MB, free: 30.5 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002413/0.005969, allocations: 15.2 kB / 454.8 MB, free: 30.5 MB / 410.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 0.0001645/0.006133, allocations: 103.6 kB / 454.9 MB, free: 30.41 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.006254, allocations: 31.42 kB / 454.9 MB, free: 30.39 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.006257, allocations: 2.875 kB / 454.9 MB, free: 30.39 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.597e-05/0.006283, allocations: 24.41 kB / 454.9 MB, free: 30.37 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.006447, allocations: 2.719 kB / 454.9 MB, free: 30.37 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.006774, allocations: 132 kB / 455 MB, free: 30.25 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.735e-05/0.006802, allocations: 60.02 kB / 455.1 MB, free: 30.18 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.554e-05/0.006827, allocations: 2.594 kB / 455.1 MB, free: 30.18 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.006852, allocations: 11.25 kB / 455.1 MB, free: 30.17 MB / 410.8 MB Notification: Performance of SimCode: time 7.32e-07/0.006853, allocations: 0 / 455.1 MB, free: 30.17 MB / 410.8 MB Notification: Performance of Templates: time 0.003572/0.01043, allocations: 0.6892 MB / 455.8 MB, free: 30.07 MB / 410.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.791168602183461]