Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.001409/0.001409, allocations: 84.22 kB / 21.18 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.001576/0.001576, allocations: 161 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.053/1.053, 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.6564/0.6564, allocations: 88.08 MB / 349.6 MB, free: 14.29 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.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.008e-06/4.008e-06, allocations: 2.531 kB / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.33e-05/3.731e-05, allocations: 5.125 kB / 451.6 MB, free: 33.35 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001202/0.001239, allocations: 399.1 kB / 452 MB, free: 33.13 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002134/0.001452, allocations: 34.73 kB / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.001484, allocations: 0 / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.001505, allocations: 0 / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.001571, allocations: 3.938 kB / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.001761, allocations: 6.25 kB / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.138e-05/0.001822, allocations: 9.844 kB / 452 MB, free: 33.1 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.00187, allocations: 2.812 kB / 452 MB, free: 33.1 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.588e-05/0.001906, allocations: 0 / 452 MB, free: 33.1 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.001966, allocations: 2.594 kB / 452 MB, free: 33.1 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.001986, allocations: 0 / 452 MB, free: 33.1 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.002069, allocations: 16.5 kB / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.002085, allocations: 0 / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.982e-05/0.002105, allocations: 7.359 kB / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.002222, allocations: 13.11 kB / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.002225, allocations: 0 / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.82e-07/0.002226, allocations: 0 / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.002231, allocations: 3.938 kB / 452 MB, free: 33.08 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002577/0.002488, allocations: 337.5 kB / 452.4 MB, free: 32.72 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.002534, allocations: 8.656 kB / 452.4 MB, free: 32.72 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.002571, allocations: 0.9375 kB / 452.4 MB, free: 32.72 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.557e-05/0.002616, allocations: 111.5 kB / 452.5 MB, free: 32.59 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.002629, allocations: 8.375 kB / 452.5 MB, free: 32.58 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.002643, allocations: 7.25 kB / 452.5 MB, free: 32.58 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.645e-05/0.00273, allocations: 32.36 kB / 452.5 MB, free: 32.55 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.002738, allocations: 192 / 452.5 MB, free: 32.55 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.002749, allocations: 384 / 452.5 MB, free: 32.55 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.002761, allocations: 384 / 452.5 MB, free: 32.55 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.173e-05/0.002793, allocations: 6.812 kB / 452.6 MB, free: 32.54 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001044/0.002898, allocations: 107.4 kB / 452.7 MB, free: 32.41 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.133e-05/0.002949, allocations: 32.98 kB / 452.7 MB, free: 32.37 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.002968, allocations: 14.19 kB / 452.7 MB, free: 32.35 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/0.003176, allocations: 15.94 kB / 452.7 MB, free: 32.35 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.003196, allocations: 33.39 kB / 452.8 MB, free: 32.3 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.003197, allocations: 0 / 452.8 MB, free: 32.3 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001333/0.003331, allocations: 38.42 kB / 452.8 MB, free: 32.27 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.003355, allocations: 54.69 kB / 452.8 MB, free: 32.21 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.057e-05/0.003375, allocations: 145.1 kB / 453 MB, free: 32.05 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.003382, allocations: 25.7 kB / 453 MB, free: 32.02 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.327e-05/0.003395, allocations: 126.9 kB / 453.1 MB, free: 31.89 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.003429, allocations: 3.266 kB / 453.1 MB, free: 31.89 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.003455, allocations: 26.41 kB / 453.2 MB, free: 31.86 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.003505, allocations: 498.9 kB / 453.6 MB, free: 31.37 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.003518, allocations: 3.938 kB / 453.7 MB, free: 31.36 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-06/0.003527, allocations: 6.172 kB / 453.7 MB, free: 31.36 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.601e-05/0.003563, allocations: 14.5 kB / 453.7 MB, free: 31.35 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.003566, allocations: 0 / 453.7 MB, free: 31.35 MB / 410.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.383e-05/0.003609, allocations: 34.48 kB / 453.7 MB, free: 31.32 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.003623, allocations: 5.656 kB / 453.7 MB, free: 31.32 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.003629, allocations: 4 kB / 453.7 MB, free: 31.31 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.003644, allocations: 7.328 kB / 453.7 MB, free: 31.31 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.87e-05/0.003713, allocations: 2.969 kB / 453.7 MB, free: 31.31 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.003721, allocations: 6.844 kB / 453.7 MB, free: 31.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.181e-05/0.003733, allocations: 5.484 kB / 453.7 MB, free: 31.3 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.003738, allocations: 3.938 kB / 453.7 MB, free: 31.3 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 (2): * Single equations (assignments): 2 * 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.844e-05/0.003786, allocations: 155.4 kB / 453.9 MB, free: 31.14 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-06/0.003792, allocations: 4 kB / 453.9 MB, free: 31.13 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.99e-05/0.003882, allocations: 40.83 kB / 453.9 MB, free: 31.1 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.003884, allocations: 0 / 453.9 MB, free: 31.1 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.003889, allocations: 4.031 kB / 453.9 MB, free: 31.1 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.003893, allocations: 0 / 453.9 MB, free: 31.1 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.782e-05/0.003951, allocations: 118.9 kB / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.003953, allocations: 0 / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.567e-05/0.003969, allocations: 2.938 kB / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.003971, allocations: 0 / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.003978, allocations: 0 / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.003979, allocations: 0 / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.00398, allocations: 2.844 kB / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.787e-05/0.004048, allocations: 79.94 kB / 454.1 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.004055, allocations: 9.109 kB / 454.1 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.004065, allocations: 2.906 kB / 454.2 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.519e-06/0.00407, allocations: 0 / 454.2 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.00409, allocations: 3.188 kB / 454.2 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.004093, allocations: 2.938 kB / 454.2 MB, free: 30.86 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.147e-05/0.004115, allocations: 119.2 kB / 454.3 MB, free: 30.74 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.004115, allocations: 0 / 454.3 MB, free: 30.74 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001223/0.004237, allocations: 2.75 kB / 454.3 MB, free: 30.74 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001345/0.004372, allocations: 100.9 kB / 454.4 MB, free: 30.64 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 9.951e-05/0.004471, allocations: 28.64 kB / 454.4 MB, free: 30.62 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.004473, allocations: 0 / 454.4 MB, free: 30.62 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-06/0.004482, allocations: 13.5 kB / 454.4 MB, free: 30.61 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.004594, allocations: 0 / 454.4 MB, free: 30.61 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.004866, allocations: 92.44 kB / 454.5 MB, free: 30.5 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.208e-05/0.004898, allocations: 54.17 kB / 454.6 MB, free: 30.43 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.88e-05/0.004927, allocations: 0 / 454.6 MB, free: 30.43 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.004951, allocations: 8.625 kB / 454.6 MB, free: 30.43 MB / 410.8 MB Notification: Performance of SimCode: time 1.202e-06/0.004953, allocations: 7 kB / 454.6 MB, free: 30.43 MB / 410.8 MB Notification: Performance of Templates: time 0.002301/0.007253, allocations: 310.4 kB / 454.9 MB, free: 30.37 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_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: 4.038861722219735]