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.001387/0.001387, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001728/0.001728, allocations: 171.9 kB / 24.91 MB, free: 8.27 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.07/1.07, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.875/0.875, allocations: 88.08 MB / 349.9 MB, free: 14.16 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.266e-06/3.266e-06, allocations: 0 / 398.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.871e-05, allocations: 2.312 kB / 398.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.00124/0.001268, allocations: 476.3 kB / 399.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005259/0.001794, allocations: 232.3 kB / 399.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.001836, allocations: 0 / 399.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.001853, allocations: 0 / 399.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.002044, allocations: 7.875 kB / 399.5 MB, free: 12.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.002149, allocations: 27.89 kB / 399.5 MB, free: 12.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.214e-05/0.002211, allocations: 8 kB / 399.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.002262, allocations: 0 / 399.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.925e-05/0.002311, allocations: 15.92 kB / 399.5 MB, free: 12.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/0.002368, allocations: 4 kB / 399.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.002386, allocations: 0 / 399.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.002504, allocations: 35.89 kB / 399.6 MB, free: 12.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.00252, allocations: 0 / 399.6 MB, free: 12.81 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.002536, allocations: 4 kB / 399.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.002644, allocations: 31.89 kB / 399.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.002647, allocations: 0 / 399.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.002648, allocations: 3.938 kB / 399.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.002653, allocations: 0 / 399.6 MB, free: 12.77 MB / 378.7 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.0003172/0.00297, allocations: 224.6 kB / 399.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.003012, allocations: 12.03 kB / 399.9 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.003043, allocations: 4.938 kB / 399.9 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.65e-05/0.003139, allocations: 106.5 kB / 400 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.00315, allocations: 4.375 kB / 400 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.003172, allocations: 0.7188 kB / 400 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.801e-05/0.00325, allocations: 38.25 kB / 400 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.003257, allocations: 192 / 400 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.003265, allocations: 384 / 400 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.003271, allocations: 384 / 400 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.003295, allocations: 11.88 kB / 400 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.003406, allocations: 68.98 kB / 400.1 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.003586, allocations: 38.58 kB / 400.1 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.003601, allocations: 8.859 kB / 400.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.003613, allocations: 0 / 400.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.003639, allocations: 34.56 kB / 400.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.00364, allocations: 0 / 400.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001098/0.00375, allocations: 45.72 kB / 400.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.003789, allocations: 51.41 kB / 400.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.076e-05/0.00385, allocations: 102.7 kB / 400.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.003862, allocations: 25.7 kB / 400.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.003887, allocations: 84.27 kB / 400.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.003922, allocations: 11.89 kB / 400.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.003953, allocations: 21.7 kB / 400.5 MB, free: 11.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.004049, allocations: 318.8 kB / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-06/0.004059, allocations: 4 kB / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-06/0.004068, allocations: 0 / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.984e-05/0.004097, allocations: 16.84 kB / 400.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.004099, allocations: 0 / 400.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.01e-05/0.00415, allocations: 45.62 kB / 400.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.004163, allocations: 5.875 kB / 400.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.004169, allocations: 3.938 kB / 400.9 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.004183, allocations: 4 kB / 400.9 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.263e-05/0.004216, allocations: 8 kB / 400.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.004221, allocations: 3.984 kB / 400.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.072e-05/0.004232, allocations: 0 / 400.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.004236, allocations: 0 / 400.9 MB, free: 11.34 MB / 378.7 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 6.333e-05/0.0043, allocations: 117.8 kB / 401 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-06/0.004304, allocations: 0 / 401 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.004417, allocations: 61.3 kB / 401.1 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.00442, allocations: 0 / 401.1 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.004422, allocations: 4 kB / 401.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.004426, allocations: 0 / 401.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.085e-05/0.004497, allocations: 81.84 kB / 401.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.004498, allocations: 0 / 401.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.004535, allocations: 11.98 kB / 401.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.004536, allocations: 0 / 401.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.004548, allocations: 4 kB / 401.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.004549, allocations: 0 / 401.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00455, allocations: 0 / 401.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.004656, allocations: 84.98 kB / 401.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.004664, allocations: 8.031 kB / 401.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.00468, allocations: 4 kB / 401.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.794e-06/0.004688, allocations: 0 / 401.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.004706, allocations: 7.984 kB / 401.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.004708, allocations: 0 / 401.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.588e-06/0.004718, allocations: 4.859 kB / 401.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004718, allocations: 4 kB / 401.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001135/0.004831, allocations: 11.94 kB / 401.3 MB, free: 10.89 MB / 378.7 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.000121/0.004952, allocations: 88.39 kB / 401.4 MB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.368e-05/0.005026, allocations: 25.27 kB / 401.4 MB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.005028, allocations: 3.938 kB / 401.4 MB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/0.005042, allocations: 16.86 kB / 401.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.485e-05/0.005127, allocations: 7.938 kB / 401.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.005386, allocations: 121.3 kB / 401.6 MB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.267e-05/0.005429, allocations: 55.22 kB / 401.6 MB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.294e-05/0.005452, allocations: 7.984 kB / 401.6 MB, free: 10.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.005496, allocations: 59.34 kB / 401.7 MB, free: 10.45 MB / 378.7 MB Notification: Performance of SimCode: time 5.82e-07/0.005497, allocations: 8 kB / 401.7 MB, free: 10.44 MB / 378.7 MB Notification: Performance of Templates: time 0.002528/0.008025, allocations: 0.7147 MB / 402.4 MB, free: 9.762 MB / 378.7 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 -s gbode -gbm=radauIIA3 -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.8675032909959555]