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.001271/0.001271, allocations: 76.41 kB / 21.69 MB, free: 2.859 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.001307/0.001307, allocations: 168.5 kB / 24.99 MB, free: 8.344 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 1.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.6838/0.6838, allocations: 88.07 MB / 349.9 MB, free: 14.3 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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 451.5 MB, free: 33.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/2.026e-05, allocations: 7.188 kB / 451.5 MB, free: 33.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001359/0.001379, allocations: 410.6 kB / 451.9 MB, free: 33.18 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004766/0.001855, allocations: 238.3 kB / 452.2 MB, free: 33.04 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.001898, allocations: 0 / 452.2 MB, free: 33.04 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.001918, allocations: 4 kB / 452.2 MB, free: 33.03 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.002081, allocations: 0 / 452.2 MB, free: 33.03 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.002236, allocations: 27.88 kB / 452.2 MB, free: 33.02 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.819e-05/0.002294, allocations: 13 kB / 452.2 MB, free: 33.01 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.002335, allocations: 3.938 kB / 452.2 MB, free: 33.01 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.03e-05/0.002385, allocations: 10.16 kB / 452.2 MB, free: 33 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.798e-05/0.002433, allocations: 2.781 kB / 452.2 MB, free: 33 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.00245, allocations: 2.844 kB / 452.2 MB, free: 33 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.784e-05/0.002548, allocations: 26.02 kB / 452.2 MB, free: 33 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.002564, allocations: 6.906 kB / 452.3 MB, free: 32.99 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.897e-05/0.002583, allocations: 7.375 kB / 452.3 MB, free: 32.99 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.002702, allocations: 37.62 kB / 452.3 MB, free: 32.98 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.002705, allocations: 0 / 452.3 MB, free: 32.98 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.61e-07/0.002706, allocations: 0 / 452.3 MB, free: 32.98 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.00271, allocations: 0 / 452.3 MB, free: 32.98 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.000306/0.003016, allocations: 352.3 kB / 452.6 MB, free: 32.61 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.003058, allocations: 8.812 kB / 452.7 MB, free: 32.61 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.003104, allocations: 7.016 kB / 452.7 MB, free: 32.61 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.79e-05/0.003182, allocations: 107.9 kB / 452.8 MB, free: 32.48 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.003195, allocations: 3.344 kB / 452.8 MB, free: 32.48 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.003217, allocations: 8.375 kB / 452.8 MB, free: 32.47 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.038e-05/0.003307, allocations: 43 kB / 452.8 MB, free: 32.43 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.003316, allocations: 192 / 452.8 MB, free: 32.43 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.003326, allocations: 384 / 452.8 MB, free: 32.43 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.003335, allocations: 384 / 452.8 MB, free: 32.43 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.516e-05/0.00337, allocations: 12.89 kB / 452.8 MB, free: 32.43 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/0.003484, allocations: 111.6 kB / 452.9 MB, free: 32.29 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.003699, allocations: 58.62 kB / 453 MB, free: 32.24 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.331e-05/0.003722, allocations: 10.22 kB / 453 MB, free: 32.23 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.003736, allocations: 0 / 453 MB, free: 32.23 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.003754, allocations: 40.11 kB / 453 MB, free: 32.18 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.003755, allocations: 4 kB / 453.1 MB, free: 32.18 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001498/0.003905, allocations: 50.95 kB / 453.1 MB, free: 32.14 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.00393, allocations: 51.41 kB / 453.2 MB, free: 32.08 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.041e-05/0.00398, allocations: 156.8 kB / 453.3 MB, free: 31.91 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.763e-06/0.003987, allocations: 29.7 kB / 453.3 MB, free: 31.88 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.685e-05/0.004004, allocations: 126.9 kB / 453.5 MB, free: 31.75 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.004031, allocations: 11.98 kB / 453.5 MB, free: 31.74 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.004061, allocations: 22.22 kB / 453.5 MB, free: 31.71 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.857e-05/0.00411, allocations: 495.2 kB / 454 MB, free: 31.22 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.004128, allocations: 10.38 kB / 454 MB, free: 31.22 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.46e-05/0.004143, allocations: 10.91 kB / 454 MB, free: 31.21 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.929e-05/0.004192, allocations: 23.2 kB / 454 MB, free: 31.2 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.004194, allocations: 0 / 454 MB, free: 31.2 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.516e-05/0.00428, allocations: 50.77 kB / 454.1 MB, free: 31.16 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.004297, allocations: 5.75 kB / 454.1 MB, free: 31.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.004301, allocations: 0 / 454.1 MB, free: 31.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.004316, allocations: 0 / 454.1 MB, free: 31.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.818e-05/0.004364, allocations: 9.5 kB / 454.1 MB, free: 31.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.00437, allocations: 3.984 kB / 454.1 MB, free: 31.15 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.004388, allocations: 3.938 kB / 454.1 MB, free: 31.15 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.004394, allocations: 6.969 kB / 454.1 MB, free: 31.14 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 4.366e-05/0.004438, allocations: 160.5 kB / 454.3 MB, free: 30.98 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.004448, allocations: 3 kB / 454.3 MB, free: 30.98 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.004589, allocations: 61.72 kB / 454.3 MB, free: 30.93 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.004591, allocations: 2.906 kB / 454.3 MB, free: 30.93 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.004595, allocations: 0 / 454.3 MB, free: 30.93 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.0046, allocations: 7.172 kB / 454.3 MB, free: 30.93 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.114e-05/0.004671, allocations: 122.4 kB / 454.4 MB, free: 30.78 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.004673, allocations: 0 / 454.4 MB, free: 30.78 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.004732, allocations: 16.42 kB / 454.5 MB, free: 30.78 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.004736, allocations: 0 / 454.5 MB, free: 30.78 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.00475, allocations: 6.844 kB / 454.5 MB, free: 30.77 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.004752, allocations: 3.938 kB / 454.5 MB, free: 30.77 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.004754, allocations: 3.938 kB / 454.5 MB, free: 30.77 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.00489, allocations: 103.3 kB / 454.6 MB, free: 30.68 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-06/0.004897, allocations: 0 / 454.6 MB, free: 30.68 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.004912, allocations: 2.969 kB / 454.6 MB, free: 30.68 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.898e-05/0.004931, allocations: 8 kB / 454.6 MB, free: 30.67 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.004951, allocations: 6.141 kB / 454.6 MB, free: 30.67 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.004955, allocations: 0 / 454.6 MB, free: 30.67 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.744e-05/0.004972, allocations: 126.1 kB / 454.7 MB, free: 30.55 MB / 410.8 MB Notification: Performance of sort global known variables: time 1e-07/0.004972, allocations: 0 / 454.7 MB, free: 30.55 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002253/0.005197, allocations: 12.5 kB / 454.7 MB, free: 30.54 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.0001309/0.005328, allocations: 111.9 kB / 454.8 MB, free: 30.45 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 9.324e-05/0.005421, allocations: 29.31 kB / 454.9 MB, free: 30.43 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.005423, allocations: 0 / 454.9 MB, free: 30.43 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.556e-05/0.005449, allocations: 26.47 kB / 454.9 MB, free: 30.41 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.005596, allocations: 0 / 454.9 MB, free: 30.41 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.005883, allocations: 133.9 kB / 455 MB, free: 30.29 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.349e-05/0.005907, allocations: 61.52 kB / 455.1 MB, free: 30.21 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.919e-05/0.005936, allocations: 5.469 kB / 455.1 MB, free: 30.21 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.005961, allocations: 11.25 kB / 455.1 MB, free: 30.21 MB / 410.8 MB Notification: Performance of SimCode: time 7.91e-07/0.005961, allocations: 0 / 455.1 MB, free: 30.21 MB / 410.8 MB Notification: Performance of Templates: time 0.002965/0.008926, allocations: 0.6413 MB / 455.7 MB, free: 30.12 MB / 410.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 -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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6469994951039553]