Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.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.001702/0.001702, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001936/0.001936, allocations: 217.5 kB / 22.25 MB, free: 5.121 MB / 14.72 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7852/0.7852, allocations: 94.55 MB / 407 MB, free: 9.188 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 89.41 kB / 0.5554 GB, free: 38.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1204, allocations: 73.05 MB / 0.6268 GB, free: 112 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04789/0.1683, allocations: 40.1 MB / 0.6659 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.1817, allocations: 8.794 MB / 0.6745 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.1831, allocations: 51.56 kB / 0.6746 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.1848, allocations: 0.5277 MB / 0.6751 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003976/0.1888, allocations: 1.344 MB / 0.6764 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.1914, allocations: 0.9133 MB / 0.6773 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002994/0.1944, allocations: 2.019 MB / 0.6793 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004247/0.1948, allocations: 152.8 kB / 0.6794 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/0.1977, allocations: 1.191 MB / 0.6806 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.1991, allocations: 0.7466 MB / 0.6813 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003034/0.1994, allocations: 96 kB / 0.6814 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.202, allocations: 0.8777 MB / 0.6822 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000397/0.2024, allocations: 270.8 kB / 0.6825 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.2034, allocations: 0.6255 MB / 0.6831 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003541/0.2069, allocations: 1.841 MB / 0.6849 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.207, allocations: 0 / 0.6849 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.207, allocations: 0 / 0.6849 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.86e-05/0.207, allocations: 0 / 0.6849 GB, free: 4.352 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003922/0.2109, allocations: 1.628 MB / 0.6865 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.211, allocations: 12.03 kB / 0.6865 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004465/0.2114, allocations: 148 kB / 0.6867 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.2131, allocations: 0.7681 MB / 0.6874 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.2133, allocations: 117.4 kB / 0.6875 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.2135, allocations: 87.95 kB / 0.6876 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.2154, allocations: 1.015 MB / 0.6886 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.2154, allocations: 3.938 kB / 0.6886 GB, free: 472 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.219e-05/0.2155, allocations: 32 kB / 0.6886 GB, free: 440 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.2156, allocations: 24 kB / 0.6887 GB, free: 416 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.2175, allocations: 0.9057 MB / 0.6895 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007244/0.2247, allocations: 4.563 MB / 0.694 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/0.227, allocations: 0.8676 MB / 0.6948 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008788/0.2279, allocations: 425.9 kB / 0.6952 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003688/0.2316, allocations: 1.706 MB / 0.6969 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.2316, allocations: 46.94 kB / 0.697 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=99): time 2.865e-06/0.2316, allocations: 7.875 kB / 0.697 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112): time 0.01068/0.2423, allocations: 3.748 MB / 0.7006 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.2424, allocations: 90.05 kB / 0.7007 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.2435, allocations: 0.7598 MB / 0.7015 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.2436, allocations: 57.62 kB / 0.7015 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.244, allocations: 489.2 kB / 0.702 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003927/0.2444, allocations: 404.5 kB / 0.7024 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003365/0.2448, allocations: 182.9 kB / 0.7025 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.2449, allocations: 349.9 kB / 0.7029 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009034/0.2458, allocations: 382.5 kB / 0.7032 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.2469, allocations: 0.5405 MB / 0.7038 GB, free: 256 kB / 0.5294 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/0.249, allocations: 0.9818 MB / 0.7047 GB, free: 15.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.249, allocations: 0 / 0.7047 GB, free: 15.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003639/0.2526, allocations: 1.459 MB / 0.7061 GB, free: 13.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.2527, allocations: 10.19 kB / 0.7062 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.2527, allocations: 7.984 kB / 0.7062 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.254, allocations: 347 kB / 0.7065 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008366/0.2548, allocations: 195.7 kB / 0.7067 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.2666, allocations: 11.78 MB / 0.7182 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009283/0.2675, allocations: 44.05 kB / 0.7182 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.2676, allocations: 48.05 kB / 0.7183 GB, free: 388 kB / 0.545 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (110): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,6,100.0%), (1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005203/0.2681, allocations: 247.8 kB / 0.7185 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.2684, allocations: 127.2 kB / 0.7186 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/0.2724, allocations: 1.595 MB / 0.7202 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.2724, allocations: 19.94 kB / 0.7202 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.2724, allocations: 4 kB / 0.7202 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.2724, allocations: 3.984 kB / 0.7202 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005678/0.2781, allocations: 2.696 MB / 0.7228 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.2781, allocations: 0 / 0.7228 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008276/0.279, allocations: 179.8 kB / 0.723 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.2802, allocations: 354.6 kB / 0.7234 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.2804, allocations: 31.98 kB / 0.7234 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/0.2919, allocations: 11.78 MB / 0.7349 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.2919, allocations: 8.031 kB / 0.7349 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004787/0.2967, allocations: 2.1 MB / 0.7369 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/0.2971, allocations: 107.2 kB / 0.737 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.2973, allocations: 24 kB / 0.7371 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007973/0.2981, allocations: 55.89 kB / 0.7371 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/0.2984, allocations: 100.8 kB / 0.7372 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.2985, allocations: 51.91 kB / 0.7373 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000832/0.2993, allocations: 0.531 MB / 0.7378 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2993, allocations: 0 / 0.7378 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00168/0.301, allocations: 479.3 kB / 0.7382 GB, free: 10.79 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (reservoir1.M,reservoir1.U_med,pump.m_flow,conductionElement.h,reservoir.M,reservoir.U_med,flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow) * 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 (91): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,6,100.0%), (1,4,100.0%), (1,1,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007953/0.3018, allocations: 455 kB / 0.7387 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004068/0.3059, allocations: 2.006 MB / 0.7406 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.3059, allocations: 8 kB / 0.7406 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002617/0.3085, allocations: 1.548 MB / 0.7422 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.3103, allocations: 359.6 kB / 0.7425 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/0.3153, allocations: 2.597 MB / 0.745 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008655/0.3162, allocations: 1.087 MB / 0.7461 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008035/0.317, allocations: 200.5 kB / 0.7463 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.3173, allocations: 107.4 kB / 0.7464 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of SimCode: time 8.22e-07/0.3173, allocations: 0 / 0.7464 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of Templates: time 0.2962/0.6135, allocations: 24.98 MB / 0.7708 GB, free: 106 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.Reservoir_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.238680026028305]