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.00188/0.00188, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002118/0.002118, allocations: 166.1 kB / 24.27 MB, free: 160 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.641/1.641, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.9526/0.9526, allocations: 88.07 MB / 349.1 MB, free: 14.25 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|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|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.627e-06/3.627e-06, allocations: 0 / 450.8 MB, free: 33.1 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.789e-05/4.152e-05, allocations: 5.688 kB / 450.8 MB, free: 33.09 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.002249/0.002291, allocations: 401.1 kB / 451.2 MB, free: 32.88 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008323/0.003123, allocations: 233.9 kB / 451.4 MB, free: 32.73 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.003178, allocations: 0 / 451.4 MB, free: 32.73 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.003201, allocations: 0 / 451.4 MB, free: 32.73 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.003424, allocations: 7.938 kB / 451.4 MB, free: 32.73 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.00363, allocations: 30.81 kB / 451.5 MB, free: 32.71 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 8.449e-05/0.003715, allocations: 9.312 kB / 451.5 MB, free: 32.71 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.754e-05/0.003782, allocations: 2.375 kB / 451.5 MB, free: 32.71 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.089e-05/0.003863, allocations: 9.969 kB / 451.5 MB, free: 32.7 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.825e-05/0.003941, allocations: 2.719 kB / 451.5 MB, free: 32.7 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.003964, allocations: 0 / 451.5 MB, free: 32.7 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.004133, allocations: 28.78 kB / 451.5 MB, free: 32.7 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.004152, allocations: 0 / 451.5 MB, free: 32.7 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.004182, allocations: 6.844 kB / 451.5 MB, free: 32.69 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.004362, allocations: 33.36 kB / 451.6 MB, free: 32.68 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.004365, allocations: 4 kB / 451.6 MB, free: 32.68 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004366, allocations: 0 / 451.6 MB, free: 32.68 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.004372, allocations: 0 / 451.6 MB, free: 32.68 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.0004576/0.00483, allocations: 356 kB / 451.9 MB, free: 32.3 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.004887, allocations: 10.69 kB / 451.9 MB, free: 32.3 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.174e-05/0.004949, allocations: 4.359 kB / 451.9 MB, free: 32.3 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.005067, allocations: 115 kB / 452 MB, free: 32.17 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.005087, allocations: 4.375 kB / 452 MB, free: 32.17 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.005114, allocations: 3.344 kB / 452 MB, free: 32.17 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.005241, allocations: 40.36 kB / 452.1 MB, free: 32.13 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.005253, allocations: 7.156 kB / 452.1 MB, free: 32.12 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.005265, allocations: 384 / 452.1 MB, free: 32.12 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.00527, allocations: 384 / 452.1 MB, free: 32.12 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.445e-05/0.005335, allocations: 17.05 kB / 452.1 MB, free: 32.12 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.00551, allocations: 107.5 kB / 452.2 MB, free: 31.98 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.005835, allocations: 50.78 kB / 452.3 MB, free: 31.94 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.912e-05/0.005884, allocations: 14.62 kB / 452.3 MB, free: 31.93 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.005904, allocations: 6.5 kB / 452.3 MB, free: 31.92 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.005928, allocations: 37.39 kB / 452.3 MB, free: 31.88 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.005929, allocations: 0 / 452.3 MB, free: 31.88 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0002687/0.006198, allocations: 55.22 kB / 452.4 MB, free: 31.84 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.006236, allocations: 54.38 kB / 452.4 MB, free: 31.77 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.805e-05/0.006324, allocations: 156.7 kB / 452.6 MB, free: 31.61 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.006336, allocations: 25.7 kB / 452.6 MB, free: 31.57 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.006379, allocations: 130.2 kB / 452.7 MB, free: 31.45 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.006424, allocations: 12.25 kB / 452.7 MB, free: 31.44 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.006472, allocations: 22.28 kB / 452.8 MB, free: 31.41 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.006574, allocations: 499.4 kB / 453.2 MB, free: 30.91 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.006605, allocations: 5.531 kB / 453.3 MB, free: 30.91 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.48e-05/0.00663, allocations: 2.812 kB / 453.3 MB, free: 30.91 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.292e-05/0.006703, allocations: 33.44 kB / 453.3 MB, free: 30.89 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.006706, allocations: 0 / 453.3 MB, free: 30.89 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001346/0.00684, allocations: 55.12 kB / 453.3 MB, free: 30.85 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.00686, allocations: 2.969 kB / 453.3 MB, free: 30.85 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.006868, allocations: 0 / 453.3 MB, free: 30.85 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.00689, allocations: 2.844 kB / 453.3 MB, free: 30.85 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.375e-05/0.006953, allocations: 13 kB / 453.4 MB, free: 30.85 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.006963, allocations: 3.984 kB / 453.4 MB, free: 30.84 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.006993, allocations: 3.938 kB / 453.4 MB, free: 30.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.007004, allocations: 2.938 kB / 453.4 MB, free: 30.84 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 7.485e-05/0.007078, allocations: 156.6 kB / 453.5 MB, free: 30.68 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.007098, allocations: 7.031 kB / 453.5 MB, free: 30.67 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.007309, allocations: 68.52 kB / 453.6 MB, free: 30.62 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.007312, allocations: 336 / 453.6 MB, free: 30.62 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.007319, allocations: 2.75 kB / 453.6 MB, free: 30.62 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.007326, allocations: 3.938 kB / 453.6 MB, free: 30.62 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.007451, allocations: 121.8 kB / 453.7 MB, free: 30.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.007452, allocations: 0 / 453.7 MB, free: 30.48 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.102e-05/0.007543, allocations: 16.64 kB / 453.7 MB, free: 30.47 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.007547, allocations: 4 kB / 453.7 MB, free: 30.46 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.007573, allocations: 7.328 kB / 453.7 MB, free: 30.46 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.007575, allocations: 2.781 kB / 453.8 MB, free: 30.46 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007577, allocations: 0 / 453.8 MB, free: 30.46 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.007809, allocations: 118.7 kB / 453.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-06/0.007818, allocations: 0 / 453.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.007839, allocations: 3 kB / 453.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.2e-05/0.007871, allocations: 0 / 453.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.007909, allocations: 10.08 kB / 453.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.007915, allocations: 0 / 453.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.152e-05/0.007967, allocations: 122.1 kB / 454 MB, free: 30.24 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.71e-07/0.007967, allocations: 4.094 kB / 454 MB, free: 30.23 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003443/0.008311, allocations: 12.66 kB / 454 MB, free: 30.23 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.0001969/0.008508, allocations: 115.3 kB / 454.1 MB, free: 30.13 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.008669, allocations: 29.39 kB / 454.2 MB, free: 30.11 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.008672, allocations: 3.062 kB / 454.2 MB, free: 30.11 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 5.06e-05/0.008722, allocations: 21.98 kB / 454.2 MB, free: 30.1 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.008955, allocations: 4 kB / 454.2 MB, free: 30.1 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.009406, allocations: 134.2 kB / 454.3 MB, free: 29.97 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.594e-05/0.009472, allocations: 67.11 kB / 454.4 MB, free: 29.9 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.949e-05/0.009511, allocations: 2.875 kB / 454.4 MB, free: 29.9 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.009551, allocations: 11.41 kB / 454.4 MB, free: 29.89 MB / 410.8 MB Notification: Performance of SimCode: time 7.42e-07/0.009552, allocations: 0 / 454.4 MB, free: 29.89 MB / 410.8 MB Notification: Performance of Templates: time 0.005775/0.01533, allocations: 0.6487 MB / 455 MB, free: 29.8 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.058006954030134]