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.001784/0.001784, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002235/0.002235, allocations: 161.7 kB / 24.27 MB, free: 172 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.533/1.533, allocations: 177.1 MB / 204.6 MB, free: 5.605 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 1.091/1.091, allocations: 88.08 MB / 349.1 MB, free: 14.24 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|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|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 450.8 MB, free: 33.15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.764e-05, allocations: 2.312 kB / 450.8 MB, free: 33.15 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001158/0.001186, allocations: 398.7 kB / 451.2 MB, free: 32.92 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001674/0.001353, allocations: 33.8 kB / 451.2 MB, free: 32.91 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.00138, allocations: 0 / 451.2 MB, free: 32.91 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.001392, allocations: 3.938 kB / 451.2 MB, free: 32.9 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 5.693e-05/0.001449, allocations: 0 / 451.2 MB, free: 32.9 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.001592, allocations: 3.125 kB / 451.2 MB, free: 32.9 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.01e-05/0.001632, allocations: 6.469 kB / 451.2 MB, free: 32.9 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.001669, allocations: 3.422 kB / 451.2 MB, free: 32.9 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.652e-05/0.001696, allocations: 2.625 kB / 451.2 MB, free: 32.9 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.001755, allocations: 3.984 kB / 451.2 MB, free: 32.89 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.00177, allocations: 4 kB / 451.2 MB, free: 32.89 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.001838, allocations: 12.81 kB / 451.2 MB, free: 32.89 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.00185, allocations: 0 / 451.2 MB, free: 32.89 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.001874, allocations: 2.875 kB / 451.3 MB, free: 32.89 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 9.359e-05/0.001967, allocations: 10.02 kB / 451.3 MB, free: 32.88 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.00197, allocations: 6.781 kB / 451.3 MB, free: 32.88 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.11e-07/0.001971, allocations: 0 / 451.3 MB, free: 32.88 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.001975, allocations: 0 / 451.3 MB, free: 32.88 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.0002181/0.002193, allocations: 240.2 kB / 451.5 MB, free: 32.62 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.002226, allocations: 11.09 kB / 451.5 MB, free: 32.62 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.002266, allocations: 4.938 kB / 451.5 MB, free: 32.62 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.787e-05/0.002314, allocations: 112.6 kB / 451.6 MB, free: 32.48 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.002325, allocations: 384 / 451.6 MB, free: 32.48 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.002331, allocations: 384 / 451.6 MB, free: 32.48 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.946e-05/0.002411, allocations: 31.86 kB / 451.7 MB, free: 32.45 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.002419, allocations: 2.969 kB / 451.7 MB, free: 32.45 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.002427, allocations: 384 / 451.7 MB, free: 32.45 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.002431, allocations: 384 / 451.7 MB, free: 32.45 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.404e-05/0.002465, allocations: 6.812 kB / 451.7 MB, free: 32.45 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.452e-05/0.00256, allocations: 100.3 kB / 451.8 MB, free: 32.32 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.845e-05/0.002608, allocations: 28.52 kB / 451.8 MB, free: 32.29 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.002636, allocations: 7.703 kB / 451.8 MB, free: 32.29 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.002834, allocations: 15.73 kB / 451.8 MB, free: 32.28 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.002852, allocations: 30.56 kB / 451.8 MB, free: 32.24 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.002853, allocations: 0 / 451.8 MB, free: 32.24 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001356/0.002989, allocations: 40.95 kB / 451.9 MB, free: 32.21 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.00301, allocations: 55.41 kB / 451.9 MB, free: 32.14 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.746e-05/0.003027, allocations: 93.19 kB / 452 MB, free: 32.04 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.104e-06/0.003034, allocations: 25.7 kB / 452.1 MB, free: 32.01 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.034e-05/0.003045, allocations: 84.27 kB / 452.1 MB, free: 31.93 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.00307, allocations: 6.344 kB / 452.1 MB, free: 31.93 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.003094, allocations: 12.47 kB / 452.2 MB, free: 31.91 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.635e-05/0.00314, allocations: 319.5 kB / 452.5 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.003151, allocations: 2.781 kB / 452.5 MB, free: 31.59 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.003157, allocations: 0 / 452.5 MB, free: 31.59 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.003188, allocations: 13.62 kB / 452.5 MB, free: 31.58 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.00319, allocations: 0 / 452.5 MB, free: 31.58 MB / 410.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.403e-05/0.003234, allocations: 42.27 kB / 452.5 MB, free: 31.54 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.003245, allocations: 5.781 kB / 452.5 MB, free: 31.54 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.003249, allocations: 4 kB / 452.5 MB, free: 31.54 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.003266, allocations: 3.938 kB / 452.5 MB, free: 31.54 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.667e-05/0.003313, allocations: 6.203 kB / 452.5 MB, free: 31.54 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.003318, allocations: 2.812 kB / 452.6 MB, free: 31.54 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.232e-05/0.00333, allocations: 3.938 kB / 452.6 MB, free: 31.53 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.003335, allocations: 4 kB / 452.6 MB, free: 31.53 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 3.697e-05/0.003372, allocations: 108.6 kB / 452.7 MB, free: 31.41 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.00338, allocations: 4 kB / 452.7 MB, free: 31.41 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.976e-05/0.00346, allocations: 44.59 kB / 452.7 MB, free: 31.38 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.003461, allocations: 0 / 452.7 MB, free: 31.38 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.003466, allocations: 0 / 452.7 MB, free: 31.38 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.003468, allocations: 0 / 452.7 MB, free: 31.38 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.344e-05/0.003521, allocations: 105.4 kB / 452.8 MB, free: 31.25 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.003522, allocations: 3.938 kB / 452.8 MB, free: 31.24 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.003542, allocations: 5.828 kB / 452.8 MB, free: 31.24 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.003543, allocations: 2.969 kB / 452.8 MB, free: 31.24 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.003549, allocations: 0 / 452.8 MB, free: 31.24 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.00355, allocations: 0 / 452.8 MB, free: 31.24 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.003551, allocations: 0 / 452.8 MB, free: 31.24 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.775e-05/0.003609, allocations: 72.11 kB / 452.9 MB, free: 31.17 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-06/0.003613, allocations: 3.984 kB / 452.9 MB, free: 31.16 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.003622, allocations: 0 / 452.9 MB, free: 31.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.111e-05/0.003633, allocations: 0 / 452.9 MB, free: 31.16 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.003645, allocations: 2.906 kB / 452.9 MB, free: 31.16 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.003647, allocations: 0 / 452.9 MB, free: 31.16 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.229e-05/0.003659, allocations: 75.28 kB / 453 MB, free: 31.09 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003659, allocations: 0 / 453 MB, free: 31.09 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001979/0.003857, allocations: 2.75 kB / 453 MB, free: 31.09 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 9.867e-05/0.003956, allocations: 115.2 kB / 453.1 MB, free: 30.99 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.422e-05/0.00402, allocations: 13.66 kB / 453.1 MB, free: 30.98 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.004021, allocations: 0 / 453.1 MB, free: 30.98 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.354e-06/0.004029, allocations: 2.844 kB / 453.1 MB, free: 30.98 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.00417, allocations: 6.125 kB / 453.1 MB, free: 30.98 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001769/0.004347, allocations: 86.14 kB / 453.2 MB, free: 30.88 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.238e-05/0.004379, allocations: 57.64 kB / 453.3 MB, free: 30.81 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.915e-05/0.004398, allocations: 128 / 453.3 MB, free: 30.81 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.004425, allocations: 19.28 kB / 453.3 MB, free: 30.79 MB / 410.8 MB Notification: Performance of SimCode: time 3.61e-07/0.004426, allocations: 0 / 453.3 MB, free: 30.79 MB / 410.8 MB Notification: Performance of Templates: time 0.002422/0.006848, allocations: 308.1 kB / 453.6 MB, free: 30.73 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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: 5.87547667499166]