Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001167/0.001167, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001958/0.003125, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001164/0.001164, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001419/0.002583, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.061/1.061, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09387/1.155, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 0.7859/0.7859, allocations: 88.08 MB / 332.2 MB, free: 14.14 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06478/0.8507, allocations: 32.94 MB / 365.2 MB, free: 13.38 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-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="p|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="p|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 366.3 MB, free: 12.22 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.449e-05, allocations: 10.02 kB / 366.4 MB, free: 12.21 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.000873/0.0008874, allocations: 459.6 kB / 366.8 MB, free: 11.76 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002677/0.001155, allocations: 244.1 kB / 367 MB, free: 11.52 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.001183, allocations: 0 / 367 MB, free: 11.52 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 4.268e-06/0.001187, allocations: 0 / 367 MB, free: 11.52 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 3.433e-05/0.001222, allocations: 0 / 367 MB, free: 11.52 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.896e-05/0.001291, allocations: 23.91 kB / 367.1 MB, free: 11.5 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 5.195e-05/0.001343, allocations: 11.92 kB / 367.1 MB, free: 11.49 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.001385, allocations: 4 kB / 367.1 MB, free: 11.48 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.582e-05/0.001441, allocations: 16 kB / 367.1 MB, free: 11.47 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.001501, allocations: 3.984 kB / 367.1 MB, free: 11.46 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.001515, allocations: 3.938 kB / 367.1 MB, free: 11.46 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.001623, allocations: 31.91 kB / 367.1 MB, free: 11.43 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.001638, allocations: 7.938 kB / 367.1 MB, free: 11.42 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 1.19e-05/0.00165, allocations: 0 / 367.1 MB, free: 11.42 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 9.616e-05/0.001746, allocations: 23.97 kB / 367.2 MB, free: 11.4 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.001757, allocations: 0 / 367.2 MB, free: 11.4 MB / 362.8 MB Notification: Performance of FrontEnd: time 5.71e-07/0.001757, allocations: 0 / 367.2 MB, free: 11.4 MB / 362.8 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.001767, allocations: 0 / 367.2 MB, free: 11.4 MB / 362.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.0002998/0.002066, allocations: 236.6 kB / 367.4 MB, free: 11.14 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.002099, allocations: 11.98 kB / 367.4 MB, free: 11.13 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.002126, allocations: 4.938 kB / 367.4 MB, free: 11.12 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.032e-05/0.002207, allocations: 101.8 kB / 367.5 MB, free: 11 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.002216, allocations: 384 / 367.5 MB, free: 11 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.002238, allocations: 8.359 kB / 367.5 MB, free: 10.99 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.447e-05/0.002303, allocations: 38.19 kB / 367.6 MB, free: 10.95 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-06/0.002308, allocations: 192 / 367.6 MB, free: 10.95 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.002316, allocations: 12.3 kB / 367.6 MB, free: 10.94 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.00232, allocations: 384 / 367.6 MB, free: 10.94 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.983e-05/0.00234, allocations: 7.938 kB / 367.6 MB, free: 10.93 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.226e-05/0.002432, allocations: 61.73 kB / 367.6 MB, free: 10.86 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.00258, allocations: 34.59 kB / 367.7 MB, free: 10.81 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/0.002595, allocations: 8.859 kB / 367.7 MB, free: 10.8 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.002605, allocations: 0 / 367.7 MB, free: 10.8 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.002625, allocations: 34.56 kB / 367.7 MB, free: 10.76 MB / 362.8 MB Notification: Performance of pre-optimization done (n=3): time 6.21e-07/0.002625, allocations: 0 / 367.7 MB, free: 10.76 MB / 362.8 MB Notification: Performance of matching and sorting (n=3): time 9.404e-05/0.002719, allocations: 45.72 kB / 367.8 MB, free: 10.71 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.002749, allocations: 51.41 kB / 367.8 MB, free: 10.64 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.605e-05/0.002795, allocations: 98.72 kB / 367.9 MB, free: 10.54 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.002806, allocations: 29.83 kB / 367.9 MB, free: 10.5 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.067e-05/0.002826, allocations: 84.12 kB / 368 MB, free: 10.41 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.002859, allocations: 19.83 kB / 368 MB, free: 10.39 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.002882, allocations: 17.72 kB / 368.1 MB, free: 10.37 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.002959, allocations: 314.8 kB / 368.4 MB, free: 10.05 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-06/0.002968, allocations: 7.984 kB / 368.4 MB, free: 10.05 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.002974, allocations: 0 / 368.4 MB, free: 10.05 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.697e-05/0.003001, allocations: 24.77 kB / 368.4 MB, free: 10.02 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.003002, allocations: 0 / 368.4 MB, free: 10.02 MB / 362.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.005e-05/0.003042, allocations: 41.69 kB / 368.4 MB, free: 9.973 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.003053, allocations: 4 kB / 368.4 MB, free: 9.969 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.003057, allocations: 4 kB / 368.4 MB, free: 9.965 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.003068, allocations: 0 / 368.4 MB, free: 9.965 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.508e-05/0.003103, allocations: 8 kB / 368.5 MB, free: 9.957 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.003107, allocations: 3.984 kB / 368.5 MB, free: 9.953 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.049e-05/0.003118, allocations: 4 kB / 368.5 MB, free: 9.949 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.003121, allocations: 0 / 368.5 MB, free: 9.949 MB / 362.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.205e-05/0.003173, allocations: 121.8 kB / 368.6 MB, free: 9.82 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-06/0.003177, allocations: 0 / 368.6 MB, free: 9.82 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.248e-05/0.003269, allocations: 61.3 kB / 368.6 MB, free: 9.75 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.00327, allocations: 4 kB / 368.6 MB, free: 9.746 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.003272, allocations: 0 / 368.6 MB, free: 9.746 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.003276, allocations: 3.938 kB / 368.6 MB, free: 9.742 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.29e-05/0.003339, allocations: 73.8 kB / 368.7 MB, free: 9.652 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.00334, allocations: 0 / 368.7 MB, free: 9.652 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.003373, allocations: 15.98 kB / 368.7 MB, free: 9.637 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-06/0.003381, allocations: 8.25 kB / 368.7 MB, free: 9.629 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.003382, allocations: 0 / 368.7 MB, free: 9.629 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.00339, allocations: 0 / 368.7 MB, free: 9.629 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.003392, allocations: 4 kB / 368.7 MB, free: 9.625 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.003392, allocations: 0 / 368.7 MB, free: 9.625 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.885e-05/0.003481, allocations: 92.97 kB / 368.8 MB, free: 9.516 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.00349, allocations: 0 / 368.8 MB, free: 9.516 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.17e-05/0.003501, allocations: 8 kB / 368.8 MB, free: 9.508 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.003513, allocations: 3.984 kB / 368.8 MB, free: 9.504 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.003515, allocations: 0 / 368.8 MB, free: 9.504 MB / 362.8 MB Notification: Performance of sorting global known variables: time 8.126e-06/0.003523, allocations: 8.859 kB / 368.9 MB, free: 9.492 MB / 362.8 MB Notification: Performance of sort global known variables: time 4e-08/0.003523, allocations: 0 / 368.9 MB, free: 9.492 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0001004/0.003623, allocations: 8 kB / 368.9 MB, free: 9.484 MB / 362.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.0001065/0.00373, allocations: 88.53 kB / 368.9 MB, free: 9.391 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 5.775e-05/0.003787, allocations: 20.86 kB / 369 MB, free: 9.367 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.003793, allocations: 7.922 kB / 369 MB, free: 9.359 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/0.003819, allocations: 24.91 kB / 369 MB, free: 9.332 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.276e-05/0.003881, allocations: 12.75 kB / 369 MB, free: 9.32 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001989/0.00408, allocations: 121.8 kB / 369.1 MB, free: 9.176 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.64e-05/0.004107, allocations: 59.22 kB / 369.2 MB, free: 9.098 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 1.902e-05/0.004126, allocations: 7.984 kB / 369.2 MB, free: 9.09 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.004161, allocations: 55.38 kB / 369.3 MB, free: 9.035 MB / 362.8 MB Notification: Performance of SimCode: time 4.71e-07/0.004161, allocations: 0 / 369.3 MB, free: 9.035 MB / 362.8 MB Notification: Performance of Templates: time 0.002035/0.006197, allocations: 0.7036 MB / 370 MB, free: 8.371 MB / 362.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2798578338697553]