Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001485/0.001485, 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.001705/0.001705, allocations: 161.7 kB / 24.27 MB, free: 168 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.493/1.493, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.9534/0.9534, allocations: 88.07 MB / 349.1 MB, free: 14.2 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_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_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 450.8 MB, free: 33.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.514e-05, allocations: 2.312 kB / 450.8 MB, free: 33.16 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001345/0.00138, allocations: 400.4 kB / 451.2 MB, free: 32.93 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001836/0.001564, allocations: 24.19 kB / 451.2 MB, free: 32.92 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.001592, allocations: 3.938 kB / 451.2 MB, free: 32.92 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.001605, allocations: 3.938 kB / 451.2 MB, free: 32.91 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.347e-05/0.001668, allocations: 2.969 kB / 451.2 MB, free: 32.91 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.001822, allocations: 10.17 kB / 451.2 MB, free: 32.91 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.187e-05/0.001864, allocations: 0 / 451.2 MB, free: 32.91 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.001905, allocations: 6.938 kB / 451.2 MB, free: 32.91 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.001937, allocations: 0 / 451.2 MB, free: 32.91 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.001984, allocations: 6.25 kB / 451.2 MB, free: 32.91 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.001997, allocations: 0 / 451.2 MB, free: 32.91 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.775e-05/0.002065, allocations: 6.906 kB / 451.2 MB, free: 32.9 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.002076, allocations: 2.938 kB / 451.2 MB, free: 32.9 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.002094, allocations: 0 / 451.2 MB, free: 32.9 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.086e-05/0.002175, allocations: 19.94 kB / 451.3 MB, free: 32.89 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002176, allocations: 3.938 kB / 451.3 MB, free: 32.89 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002177, allocations: 0 / 451.3 MB, free: 32.89 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.002181, allocations: 0 / 451.3 MB, free: 32.89 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.0002198/0.0024, allocations: 239.7 kB / 451.5 MB, free: 32.63 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.002438, allocations: 8.75 kB / 451.5 MB, free: 32.63 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.00248, allocations: 8.875 kB / 451.5 MB, free: 32.62 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.46e-05/0.002535, allocations: 111.8 kB / 451.6 MB, free: 32.5 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.002546, allocations: 384 / 451.6 MB, free: 32.5 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.002553, allocations: 384 / 451.6 MB, free: 32.5 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.296e-05/0.002636, allocations: 29.2 kB / 451.7 MB, free: 32.46 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.002646, allocations: 4.172 kB / 451.7 MB, free: 32.46 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.002655, allocations: 3.281 kB / 451.7 MB, free: 32.46 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.00266, allocations: 384 / 451.7 MB, free: 32.46 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.11e-05/0.002691, allocations: 9.953 kB / 451.7 MB, free: 32.46 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.407e-05/0.002785, allocations: 104.3 kB / 451.8 MB, free: 32.33 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.554e-05/0.002831, allocations: 21.02 kB / 451.8 MB, free: 32.3 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.00285, allocations: 11.42 kB / 451.8 MB, free: 32.29 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.003052, allocations: 11.69 kB / 451.8 MB, free: 32.29 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.003071, allocations: 33.52 kB / 451.9 MB, free: 32.25 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.003072, allocations: 0 / 451.9 MB, free: 32.25 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001377/0.003209, allocations: 38.77 kB / 451.9 MB, free: 32.21 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.003233, allocations: 58.19 kB / 451.9 MB, free: 32.15 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.887e-05/0.003252, allocations: 93.98 kB / 452 MB, free: 32.05 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.003259, allocations: 25.7 kB / 452.1 MB, free: 32.02 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.478e-05/0.003274, allocations: 80.14 kB / 452.1 MB, free: 31.93 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.003299, allocations: 6.672 kB / 452.1 MB, free: 31.93 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.003322, allocations: 16.5 kB / 452.2 MB, free: 31.91 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.801e-05/0.00337, allocations: 318.5 kB / 452.5 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.00338, allocations: 0 / 452.5 MB, free: 31.6 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-06/0.003388, allocations: 2.688 kB / 452.5 MB, free: 31.6 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/0.00342, allocations: 14.64 kB / 452.5 MB, free: 31.59 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.003422, allocations: 0 / 452.5 MB, free: 31.59 MB / 410.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.745e-05/0.00347, allocations: 45.92 kB / 452.5 MB, free: 31.55 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.003482, allocations: 6.125 kB / 452.5 MB, free: 31.55 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.003486, allocations: 0 / 452.5 MB, free: 31.55 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.003503, allocations: 3.938 kB / 452.5 MB, free: 31.54 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.49e-05/0.003547, allocations: 2.656 kB / 452.5 MB, free: 31.54 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.003553, allocations: 0 / 452.5 MB, free: 31.54 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.003567, allocations: 9.688 kB / 452.6 MB, free: 31.54 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.003572, allocations: 4 kB / 452.6 MB, free: 31.54 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.034e-05/0.003613, allocations: 112.7 kB / 452.7 MB, free: 31.42 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-06/0.003619, allocations: 0 / 452.7 MB, free: 31.42 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.296e-05/0.003702, allocations: 47.55 kB / 452.7 MB, free: 31.38 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.003704, allocations: 0 / 452.7 MB, free: 31.38 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.003708, allocations: 0 / 452.7 MB, free: 31.38 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.00371, allocations: 2.844 kB / 452.7 MB, free: 31.38 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.809e-05/0.003758, allocations: 98.47 kB / 452.8 MB, free: 31.25 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.00376, allocations: 2.781 kB / 452.8 MB, free: 31.25 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.003781, allocations: 10 kB / 452.8 MB, free: 31.25 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.003782, allocations: 0 / 452.8 MB, free: 31.25 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.003788, allocations: 0 / 452.8 MB, free: 31.25 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.003789, allocations: 4.031 kB / 452.8 MB, free: 31.25 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.003789, allocations: 0 / 452.8 MB, free: 31.25 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.819e-05/0.003847, allocations: 67.27 kB / 452.9 MB, free: 31.18 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-06/0.003851, allocations: 0 / 452.9 MB, free: 31.18 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.003861, allocations: 2.875 kB / 452.9 MB, free: 31.18 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.198e-05/0.003873, allocations: 0 / 452.9 MB, free: 31.18 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.003887, allocations: 0 / 452.9 MB, free: 31.18 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.00389, allocations: 2.906 kB / 452.9 MB, free: 31.18 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.228e-05/0.003902, allocations: 75.28 kB / 453 MB, free: 31.1 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003902, allocations: 0 / 453 MB, free: 31.1 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002214/0.004123, allocations: 6.875 kB / 453 MB, free: 31.1 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.000104/0.004227, allocations: 108.5 kB / 453.1 MB, free: 31 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.214e-05/0.0043, allocations: 9.562 kB / 453.1 MB, free: 31 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.004301, allocations: 0 / 453.1 MB, free: 31 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.634e-06/0.004309, allocations: 2.875 kB / 453.1 MB, free: 31 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.004447, allocations: 2.75 kB / 453.1 MB, free: 31 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001938/0.004641, allocations: 89.56 kB / 453.2 MB, free: 30.89 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.805e-05/0.004669, allocations: 57.19 kB / 453.2 MB, free: 30.82 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.97e-05/0.004689, allocations: 6.75 kB / 453.3 MB, free: 30.82 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.004719, allocations: 12.44 kB / 453.3 MB, free: 30.81 MB / 410.8 MB Notification: Performance of SimCode: time 4.11e-07/0.004719, allocations: 0 / 453.3 MB, free: 30.81 MB / 410.8 MB Notification: Performance of Templates: time 0.002459/0.007178, allocations: 310.4 kB / 453.6 MB, free: 30.75 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_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_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.825848670909181]