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.001617/0.001617, allocations: 84.44 kB / 19.76 MB, free: 2.023 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.001477/0.001477, allocations: 154.5 kB / 23.01 MB, free: 4.961 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.403/1.403, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 179] 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.7169/0.7169, allocations: 74.91 MB / 334.7 MB, free: 15.52 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.002552/0.002552, allocations: 88.31 kB / 496.4 MB, free: 29.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1121, allocations: 73.02 MB / 0.5561 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04455/0.1566, allocations: 36.03 MB / 0.5912 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.1685, allocations: 7.989 MB / 0.599 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.1696, allocations: 51.56 kB / 0.5991 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.171, allocations: 488.6 kB / 0.5996 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003774/0.1748, allocations: 1.32 MB / 0.6008 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.1774, allocations: 0.914 MB / 0.6017 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00295/0.1803, allocations: 2.012 MB / 0.6037 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.1808, allocations: 152.9 kB / 0.6038 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/0.1834, allocations: 1.198 MB / 0.605 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.1845, allocations: 0.6842 MB / 0.6057 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002401/0.1848, allocations: 96 kB / 0.6058 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.187, allocations: 0.7451 MB / 0.6065 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003695/0.1873, allocations: 270.8 kB / 0.6068 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007058/0.188, allocations: 0.517 MB / 0.6073 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003332/0.1914, allocations: 1.817 MB / 0.609 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1914, allocations: 0 / 0.609 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1914, allocations: 0 / 0.609 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.588e-05/0.1914, allocations: 4 kB / 0.609 GB, free: 9.25 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.003563/0.195, allocations: 1.624 MB / 0.6106 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.195, allocations: 12.03 kB / 0.6106 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007799/0.1958, allocations: 200 kB / 0.6108 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.1974, allocations: 0.7564 MB / 0.6116 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.1976, allocations: 117.4 kB / 0.6117 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.1977, allocations: 99.89 kB / 0.6118 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.1998, allocations: 1.37 MB / 0.6131 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.1999, allocations: 7.984 kB / 0.6131 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.727e-05/0.2, allocations: 36 kB / 0.6132 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.2, allocations: 20 kB / 0.6132 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.2018, allocations: 0.9056 MB / 0.6141 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006008/0.2079, allocations: 3.025 MB / 0.617 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.2101, allocations: 0.8754 MB / 0.6179 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008672/0.211, allocations: 417 kB / 0.6183 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002886/0.2138, allocations: 1.336 MB / 0.6196 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.554e-05/0.2139, allocations: 55 kB / 0.6196 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=99): time 3.106e-06/0.2139, allocations: 0 / 0.6196 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112): time 0.01074/0.2246, allocations: 3.796 MB / 0.6233 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.2247, allocations: 90.11 kB / 0.6234 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.2257, allocations: 0.7318 MB / 0.6241 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.2259, allocations: 45.7 kB / 0.6242 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004028/0.2263, allocations: 481.2 kB / 0.6246 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003704/0.2266, allocations: 412.4 kB / 0.625 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003248/0.227, allocations: 190.9 kB / 0.6252 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2271, allocations: 341.9 kB / 0.6255 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008881/0.228, allocations: 394.4 kB / 0.6259 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.2291, allocations: 0.5469 MB / 0.6264 GB, free: 6.891 MB / 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.002135/0.2312, allocations: 1.002 MB / 0.6274 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.2312, allocations: 4 kB / 0.6274 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003649/0.2349, allocations: 1.467 MB / 0.6289 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.2349, allocations: 8.5 kB / 0.6289 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001628/0.2365, allocations: 0.6647 MB / 0.6295 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.2378, allocations: 346.5 kB / 0.6299 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008918/0.2387, allocations: 207.6 kB / 0.6301 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/0.2503, allocations: 11.55 MB / 0.6413 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009/0.2512, allocations: 43.97 kB / 0.6414 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/0.2514, allocations: 43.98 kB / 0.6414 GB, free: 6.637 MB / 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: 19 * 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 (111): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005589/0.2519, allocations: 259 kB / 0.6417 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.2522, allocations: 119.2 kB / 0.6418 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003965/0.2562, allocations: 1.589 MB / 0.6433 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.2562, allocations: 12 kB / 0.6433 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.2562, allocations: 4 kB / 0.6433 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.2562, allocations: 7.969 kB / 0.6433 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005436/0.2617, allocations: 2.406 MB / 0.6457 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001653/0.2633, allocations: 0.6847 MB / 0.6464 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008673/0.2642, allocations: 175.8 kB / 0.6465 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/0.2655, allocations: 362.7 kB / 0.6469 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.2656, allocations: 35.98 kB / 0.6469 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/0.277, allocations: 11.54 MB / 0.6582 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.277, allocations: 3.938 kB / 0.6582 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/0.2819, allocations: 2.093 MB / 0.6602 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.2822, allocations: 107.2 kB / 0.6603 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.2824, allocations: 20 kB / 0.6604 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008425/0.2832, allocations: 51.95 kB / 0.6604 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/0.2835, allocations: 104.9 kB / 0.6605 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.2836, allocations: 40.11 kB / 0.6605 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007731/0.2843, allocations: 0.5146 MB / 0.661 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2843, allocations: 0 / 0.661 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001624/0.286, allocations: 427.7 kB / 0.6614 GB, free: 1.078 MB / 0.5606 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 (92): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0007082/0.2867, allocations: 400.3 kB / 0.6618 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003873/0.2905, allocations: 1.985 MB / 0.6638 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.2906, allocations: 4 kB / 0.6638 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002751/0.2933, allocations: 1.527 MB / 0.6653 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.2952, allocations: 344.2 kB / 0.6656 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005221/0.3004, allocations: 2.602 MB / 0.6681 GB, free: 10 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/0.3011, allocations: 0.4926 MB / 0.6686 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008669/0.3019, allocations: 208.1 kB / 0.6688 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.3022, allocations: 100.5 kB / 0.6689 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/0.3022, allocations: 0 / 0.6689 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of Templates: time 0.0435/0.3457, allocations: 24.14 MB / 0.6925 GB, free: 1.375 MB / 0.5919 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 -s ida -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/jenkins1/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: 6.534612818039022]