Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.001823/0.001823, allocations: 77.7 kB / 19.76 MB, free: 2.035 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.001837/0.001837, allocations: 157.8 kB / 23.01 MB, free: 4.945 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.522/1.522, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.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.7671/0.7671, allocations: 74.91 MB / 334.7 MB, free: 15.53 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.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.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.0027/0.0027, allocations: 85.53 kB / 496.4 MB, free: 29.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1363, allocations: 73.02 MB / 0.5561 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.05089/0.1872, allocations: 37.59 MB / 0.5928 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009944/0.1971, allocations: 4.961 MB / 0.5976 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.1987, allocations: 55.5 kB / 0.5977 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.2007, allocations: 0.5004 MB / 0.5982 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004906/0.2056, allocations: 1.363 MB / 0.5995 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003141/0.2088, allocations: 0.9025 MB / 0.6004 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003905/0.2127, allocations: 2.176 MB / 0.6025 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005502/0.2132, allocations: 153.4 kB / 0.6026 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003821/0.217, allocations: 1.381 MB / 0.604 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.2187, allocations: 0.7309 MB / 0.6047 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003427/0.219, allocations: 100 kB / 0.6048 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002543/0.2216, allocations: 0.671 MB / 0.6055 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004237/0.222, allocations: 274.8 kB / 0.6057 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009944/0.223, allocations: 0.5403 MB / 0.6062 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0044/0.2274, allocations: 1.848 MB / 0.608 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/0.2274, allocations: 8 kB / 0.6081 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2274, allocations: 0 / 0.6081 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.188e-05/0.2275, allocations: 0 / 0.6081 GB, free: 10.12 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004027/0.2315, allocations: 1.617 MB / 0.6096 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.2315, allocations: 12.03 kB / 0.6096 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000811/0.2324, allocations: 184 kB / 0.6098 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.2344, allocations: 0.7847 MB / 0.6106 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-05/0.2345, allocations: 74.12 kB / 0.6107 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.2347, allocations: 95.95 kB / 0.6107 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.2372, allocations: 1.332 MB / 0.6121 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.2372, allocations: 0 / 0.6121 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.2373, allocations: 36 kB / 0.6121 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.2374, allocations: 24 kB / 0.6121 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.2394, allocations: 1.004 MB / 0.6131 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006384/0.2458, allocations: 2.91 MB / 0.6159 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.2479, allocations: 0.8567 MB / 0.6168 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009257/0.2488, allocations: 451.4 kB / 0.6172 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003574/0.2524, allocations: 1.334 MB / 0.6185 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.2524, allocations: 43.22 kB / 0.6185 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=108): time 3.236e-06/0.2524, allocations: 0 / 0.6185 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122): time 0.01222/0.2646, allocations: 4.028 MB / 0.6225 GB, free: 11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.2647, allocations: 94.27 kB / 0.6226 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.2658, allocations: 0.7043 MB / 0.6233 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.266, allocations: 45.7 kB / 0.6233 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.2664, allocations: 481.4 kB / 0.6238 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004801/0.2669, allocations: 448.1 kB / 0.6242 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003409/0.2672, allocations: 198.9 kB / 0.6244 GB, free: 9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2674, allocations: 349.9 kB / 0.6247 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.2684, allocations: 410.4 kB / 0.6251 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.2696, allocations: 0.5725 MB / 0.6257 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002283/0.2718, allocations: 1.046 MB / 0.6267 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.2718, allocations: 4 kB / 0.6267 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003899/0.2757, allocations: 1.479 MB / 0.6281 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.2758, allocations: 8 kB / 0.6281 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.2758, allocations: 4 kB / 0.6281 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.277, allocations: 310.9 kB / 0.6284 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.2781, allocations: 231.7 kB / 0.6287 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/0.2902, allocations: 11.09 MB / 0.6395 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.2913, allocations: 52.16 kB / 0.6395 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/0.2916, allocations: 47.98 kB / 0.6396 GB, free: 8.422 MB / 0.545 GB 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 (124): * Single equations (assignments): 116 * 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%), (1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007721/0.2923, allocations: 249.7 kB / 0.6398 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004403/0.2928, allocations: 119.2 kB / 0.6399 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004732/0.2975, allocations: 1.787 MB / 0.6417 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.2975, allocations: 19.94 kB / 0.6417 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.2975, allocations: 8 kB / 0.6417 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/0.2976, allocations: 7.969 kB / 0.6417 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006397/0.3039, allocations: 2.447 MB / 0.6441 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.304, allocations: 4 kB / 0.6441 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.305, allocations: 207.7 kB / 0.6443 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/0.3062, allocations: 310.8 kB / 0.6446 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002041/0.3064, allocations: 35.98 kB / 0.6446 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/0.3189, allocations: 11.11 MB / 0.6555 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.3189, allocations: 192 / 0.6555 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005412/0.3244, allocations: 2.098 MB / 0.6575 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/0.3249, allocations: 107.2 kB / 0.6576 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/0.3253, allocations: 27.94 kB / 0.6577 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.3264, allocations: 55.94 kB / 0.6577 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004012/0.3268, allocations: 104.9 kB / 0.6578 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002266/0.327, allocations: 43.97 kB / 0.6579 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001189/0.3282, allocations: 0.5185 MB / 0.6584 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3282, allocations: 0 / 0.6584 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002333/0.3305, allocations: 399.7 kB / 0.6588 GB, free: 3.773 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (reservoir.M,reservoir.U_med,flowResistance1.rear.m_flow,flowResistance2.rear.m_flow,reservoir2.M,reservoir2.U_med,flowResistance4.inlet.m_flow,flowResistance5.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 (98): * Single equations (assignments): 90 * 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,2,100.0%), (1,2,100.0%), (1,2,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.0009679/0.3315, allocations: 371.3 kB / 0.6591 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00472/0.3362, allocations: 1.993 MB / 0.6611 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.3362, allocations: 0 / 0.6611 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003367/0.3396, allocations: 1.535 MB / 0.6625 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/0.3419, allocations: 305.5 kB / 0.6628 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/0.3485, allocations: 2.647 MB / 0.6654 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/0.3493, allocations: 0.4972 MB / 0.6659 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001078/0.3504, allocations: 210.2 kB / 0.6661 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004414/0.3509, allocations: 108.5 kB / 0.6662 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of SimCode: time 1.233e-06/0.3509, allocations: 0 / 0.6662 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of Templates: time 0.04856/0.3994, allocations: 23.16 MB / 0.6888 GB, free: 5.043 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.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.946649293066002]