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.001115/0.001115, allocations: 80.39 kB / 21.19 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.001239/0.001239, allocations: 165 kB / 24.56 MB, free: 16 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 1.005/1.005, allocations: 177.1 MB / 205 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.7625/0.7625, allocations: 88.08 MB / 349.6 MB, free: 14.27 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 3.026e-06/3.026e-06, allocations: 3.938 kB / 451.5 MB, free: 33.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.269e-05, allocations: 6.797 kB / 451.6 MB, free: 33.33 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001546/0.001578, allocations: 413.6 kB / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004808/0.002059, allocations: 237.2 kB / 452.2 MB, free: 32.97 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.002096, allocations: 0 / 452.2 MB, free: 32.97 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.002118, allocations: 0 / 452.2 MB, free: 32.97 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.002288, allocations: 4 kB / 452.2 MB, free: 32.96 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.002426, allocations: 30.45 kB / 452.2 MB, free: 32.95 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.971e-05/0.002486, allocations: 9.25 kB / 452.2 MB, free: 32.95 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.002527, allocations: 6.312 kB / 452.2 MB, free: 32.95 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.97e-05/0.002567, allocations: 2.562 kB / 452.2 MB, free: 32.95 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.002619, allocations: 6.859 kB / 452.2 MB, free: 32.94 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.002636, allocations: 0 / 452.2 MB, free: 32.94 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.977e-05/0.002735, allocations: 25.06 kB / 452.3 MB, free: 32.94 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.00275, allocations: 7.234 kB / 452.3 MB, free: 32.93 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.002771, allocations: 10.25 kB / 452.3 MB, free: 32.93 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.002891, allocations: 40.42 kB / 452.3 MB, free: 32.91 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.002895, allocations: 3.281 kB / 452.3 MB, free: 32.91 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.233e-06/0.002897, allocations: 0 / 452.3 MB, free: 32.91 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.002902, allocations: 0 / 452.3 MB, free: 32.91 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.0003108/0.003213, allocations: 352.4 kB / 452.7 MB, free: 32.54 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.003259, allocations: 8.625 kB / 452.7 MB, free: 32.54 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.003303, allocations: 7.141 kB / 452.7 MB, free: 32.54 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.929e-05/0.003382, allocations: 108.6 kB / 452.8 MB, free: 32.41 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.003394, allocations: 3.25 kB / 452.8 MB, free: 32.41 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.003416, allocations: 4.359 kB / 452.8 MB, free: 32.4 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.008e-05/0.003506, allocations: 43.44 kB / 452.8 MB, free: 32.36 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.003513, allocations: 192 / 452.8 MB, free: 32.36 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.003522, allocations: 384 / 452.8 MB, free: 32.36 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.003531, allocations: 3.656 kB / 452.8 MB, free: 32.36 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.156e-05/0.003562, allocations: 13.62 kB / 452.9 MB, free: 32.36 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.003701, allocations: 114.8 kB / 453 MB, free: 32.21 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.003906, allocations: 41.17 kB / 453 MB, free: 32.18 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.00393, allocations: 20.62 kB / 453 MB, free: 32.16 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.003943, allocations: 0 / 453 MB, free: 32.16 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.003963, allocations: 37.33 kB / 453.1 MB, free: 32.12 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.003964, allocations: 4 kB / 453.1 MB, free: 32.11 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001573/0.004121, allocations: 51.8 kB / 453.1 MB, free: 32.07 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.004149, allocations: 51.41 kB / 453.2 MB, free: 32.01 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.005e-05/0.004199, allocations: 160 kB / 453.3 MB, free: 31.84 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.004207, allocations: 28.67 kB / 453.4 MB, free: 31.81 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.666e-05/0.004224, allocations: 126.9 kB / 453.5 MB, free: 31.68 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.004252, allocations: 9.844 kB / 453.5 MB, free: 31.68 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.004285, allocations: 24.48 kB / 453.5 MB, free: 31.65 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.937e-05/0.004334, allocations: 496.1 kB / 454 MB, free: 31.16 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.004349, allocations: 2.938 kB / 454 MB, free: 31.16 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.004362, allocations: 10.45 kB / 454 MB, free: 31.15 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.145e-05/0.004404, allocations: 24.38 kB / 454 MB, free: 31.13 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.004405, allocations: 0 / 454 MB, free: 31.13 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.679e-05/0.004482, allocations: 54.62 kB / 454.1 MB, free: 31.09 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.004496, allocations: 5.969 kB / 454.1 MB, free: 31.09 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.004502, allocations: 3.375 kB / 454.1 MB, free: 31.09 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.004517, allocations: 0 / 454.1 MB, free: 31.09 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.889e-05/0.004546, allocations: 5.844 kB / 454.1 MB, free: 31.09 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.004552, allocations: 6.891 kB / 454.1 MB, free: 31.09 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.545e-05/0.004567, allocations: 3.938 kB / 454.1 MB, free: 31.08 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.004573, allocations: 0 / 454.1 MB, free: 31.08 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.438e-05/0.004617, allocations: 159.5 kB / 454.3 MB, free: 30.92 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.004627, allocations: 10.05 kB / 454.3 MB, free: 30.91 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.004768, allocations: 69.39 kB / 454.4 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.004771, allocations: 2.75 kB / 454.4 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.004775, allocations: 0 / 454.4 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.004781, allocations: 7.922 kB / 454.4 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.581e-05/0.004857, allocations: 124.9 kB / 454.5 MB, free: 30.71 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.004858, allocations: 0 / 454.5 MB, free: 30.71 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/0.004902, allocations: 10.03 kB / 454.5 MB, free: 30.71 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.004906, allocations: 4 kB / 454.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.00492, allocations: 0 / 454.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.004923, allocations: 2.812 kB / 454.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.004925, allocations: 0 / 454.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.005064, allocations: 110.5 kB / 454.6 MB, free: 30.61 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-06/0.005072, allocations: 7.078 kB / 454.6 MB, free: 30.6 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.005085, allocations: 2.938 kB / 454.6 MB, free: 30.6 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.201e-05/0.005098, allocations: 0 / 454.6 MB, free: 30.6 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.005118, allocations: 2.875 kB / 454.6 MB, free: 30.6 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.005123, allocations: 7 kB / 454.6 MB, free: 30.6 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.949e-05/0.005143, allocations: 126.1 kB / 454.8 MB, free: 30.48 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.005143, allocations: 0 / 454.8 MB, free: 30.48 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002219/0.005365, allocations: 12.44 kB / 454.8 MB, free: 30.47 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.0001302/0.005495, allocations: 106.3 kB / 454.9 MB, free: 30.38 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.005597, allocations: 36.56 kB / 454.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.005599, allocations: 0 / 454.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.443e-05/0.005623, allocations: 26.75 kB / 454.9 MB, free: 30.34 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.005776, allocations: 0 / 454.9 MB, free: 30.34 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.006092, allocations: 125.9 kB / 455.1 MB, free: 30.23 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.998e-05/0.006122, allocations: 61.17 kB / 455.1 MB, free: 30.15 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.009e-05/0.006152, allocations: 6.109 kB / 455.1 MB, free: 30.15 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.00618, allocations: 15.28 kB / 455.1 MB, free: 30.14 MB / 410.8 MB Notification: Performance of SimCode: time 5.11e-07/0.006181, allocations: 0 / 455.1 MB, free: 30.14 MB / 410.8 MB Notification: Performance of Templates: time 0.003034/0.009215, allocations: 0.6821 MB / 455.8 MB, free: 30.05 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.847816132940352]