Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001863/0.001863, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00236/0.00236, allocations: 212.9 kB / 22.25 MB, free: 5.082 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8207/0.8207, allocations: 100.3 MB / 412.7 MB, free: 3.656 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_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.002628/0.002628, allocations: 84.45 kB / 0.5638 GB, free: 35.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1429, allocations: 74.46 MB / 0.6365 GB, free: 7.129 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04908/0.192, allocations: 40.1 MB / 0.6756 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01555/0.2076, allocations: 8.79 MB / 0.6842 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.2098, allocations: 47.56 kB / 0.6843 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.2118, allocations: 0.5394 MB / 0.6848 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004318/0.2161, allocations: 1.336 MB / 0.6861 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002967/0.2191, allocations: 0.9211 MB / 0.687 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003229/0.2223, allocations: 2.014 MB / 0.689 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004538/0.2227, allocations: 152.8 kB / 0.6891 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00287/0.2256, allocations: 1.202 MB / 0.6903 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.2271, allocations: 0.7427 MB / 0.691 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000356/0.2274, allocations: 96 kB / 0.6911 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/0.2304, allocations: 0.8855 MB / 0.692 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004625/0.2308, allocations: 254.9 kB / 0.6922 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.2319, allocations: 0.6256 MB / 0.6928 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004549/0.2365, allocations: 1.845 MB / 0.6946 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.2365, allocations: 0 / 0.6946 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2365, allocations: 0 / 0.6946 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.602e-05/0.2366, allocations: 0 / 0.6946 GB, free: 11.36 MB / 0.5294 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.004414/0.241, allocations: 1.628 MB / 0.6962 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.241, allocations: 12.02 kB / 0.6962 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004885/0.2415, allocations: 152 kB / 0.6964 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.2433, allocations: 0.7641 MB / 0.6971 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.2434, allocations: 117.4 kB / 0.6972 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.2436, allocations: 95.95 kB / 0.6973 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.2454, allocations: 1.003 MB / 0.6983 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.2454, allocations: 4 kB / 0.6983 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/0.2455, allocations: 39.98 kB / 0.6983 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.2456, allocations: 20 kB / 0.6984 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.2474, allocations: 0.9057 MB / 0.6993 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006989/0.2544, allocations: 4.566 MB / 0.7037 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.2566, allocations: 0.8684 MB / 0.7046 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008037/0.2574, allocations: 433.2 kB / 0.705 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003556/0.2609, allocations: 1.69 MB / 0.7066 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.261, allocations: 50.95 kB / 0.7067 GB, free: 14.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=99): time 2.785e-06/0.261, allocations: 0 / 0.7067 GB, free: 14.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=112): time 0.0102/0.2712, allocations: 3.751 MB / 0.7103 GB, free: 10.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/0.2713, allocations: 94.05 kB / 0.7104 GB, free: 10.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.2724, allocations: 0.7636 MB / 0.7112 GB, free: 9.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.2725, allocations: 45.7 kB / 0.7112 GB, free: 9.656 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.2729, allocations: 481.2 kB / 0.7117 GB, free: 9.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/0.2733, allocations: 408.5 kB / 0.7121 GB, free: 8.777 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/0.2736, allocations: 190.9 kB / 0.7122 GB, free: 8.582 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2738, allocations: 345.9 kB / 0.7126 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008755/0.2746, allocations: 382.5 kB / 0.7129 GB, free: 7.867 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.2757, allocations: 0.5405 MB / 0.7135 GB, free: 7.27 MB / 0.545 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.00207/0.2778, allocations: 0.9905 MB / 0.7144 GB, free: 6.227 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.2778, allocations: 0 / 0.7144 GB, free: 6.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003506/0.2813, allocations: 1.459 MB / 0.7159 GB, free: 4.734 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.2813, allocations: 8 kB / 0.7159 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.2813, allocations: 4 kB / 0.7159 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.2826, allocations: 343 kB / 0.7162 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008328/0.2834, allocations: 199.7 kB / 0.7164 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.2949, allocations: 11.78 MB / 0.7279 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.296, allocations: 39.98 kB / 0.7279 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.2961, allocations: 51.98 kB / 0.728 GB, free: 7.391 MB / 0.5606 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.0006658/0.2967, allocations: 255.8 kB / 0.7282 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/0.297, allocations: 123.2 kB / 0.7283 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003874/0.3009, allocations: 1.598 MB / 0.7299 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.3009, allocations: 8 kB / 0.7299 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.3009, allocations: 12 kB / 0.7299 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.3009, allocations: 3.984 kB / 0.7299 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005668/0.3066, allocations: 2.692 MB / 0.7326 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.3066, allocations: 4 kB / 0.7326 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008215/0.3074, allocations: 179.8 kB / 0.7327 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/0.3087, allocations: 350.6 kB / 0.7331 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.632e-05/0.3088, allocations: 39.97 kB / 0.7331 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/0.3212, allocations: 11.78 MB / 0.7446 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3212, allocations: 0 / 0.7446 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004764/0.3259, allocations: 2.096 MB / 0.7467 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.3263, allocations: 107.2 kB / 0.7468 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.3264, allocations: 20 kB / 0.7468 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008249/0.3273, allocations: 55.89 kB / 0.7468 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/0.3275, allocations: 100.8 kB / 0.7469 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.853e-05/0.3276, allocations: 47.97 kB / 0.747 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008059/0.3284, allocations: 0.5349 MB / 0.7475 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3284, allocations: 0 / 0.7475 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001713/0.3301, allocations: 475.3 kB / 0.7479 GB, free: 1.805 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.0008567/0.331, allocations: 470.2 kB / 0.7484 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2737/0.6047, allocations: 1.992 MB / 0.7503 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/0.6047, allocations: 0.8438 kB / 0.7503 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002707/0.6074, allocations: 1.563 MB / 0.7519 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/0.6095, allocations: 357.9 kB / 0.7522 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004944/0.6145, allocations: 2.601 MB / 0.7548 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008036/0.6153, allocations: 1.082 MB / 0.7558 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008998/0.6162, allocations: 212.5 kB / 0.756 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.6165, allocations: 100.5 kB / 0.7561 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.6165, allocations: 0 / 0.7561 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.04488/0.6614, allocations: 24.99 MB / 0.7805 GB, free: 94.96 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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.1062770071439445]