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.001647/0.001647, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001821/0.001821, allocations: 220.6 kB / 23 MB, free: 4.918 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.8185/0.8185, allocations: 100.9 MB / 414.1 MB, free: 2.895 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.002522/0.002522, allocations: 88.44 kB / 0.5653 GB, free: 35.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1467, allocations: 74.62 MB / 0.6382 GB, free: 5.996 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04408/0.1908, allocations: 36.03 MB / 0.6734 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.2031, allocations: 8.012 MB / 0.6812 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.2045, allocations: 51.56 kB / 0.6812 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.2061, allocations: 488.6 kB / 0.6817 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004271/0.2104, allocations: 1.336 MB / 0.683 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.2132, allocations: 0.908 MB / 0.6839 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003137/0.2163, allocations: 2.028 MB / 0.6859 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/0.2167, allocations: 156.8 kB / 0.686 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002815/0.2195, allocations: 1.198 MB / 0.6872 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.2207, allocations: 0.6842 MB / 0.6879 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.2209, allocations: 96 kB / 0.6879 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.2231, allocations: 0.7451 MB / 0.6887 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003167/0.2234, allocations: 266.8 kB / 0.6889 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006601/0.2241, allocations: 0.517 MB / 0.6894 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003474/0.2275, allocations: 1.825 MB / 0.6912 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2275, allocations: 0 / 0.6912 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2275, allocations: 4 kB / 0.6912 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.426e-05/0.2276, allocations: 3.938 kB / 0.6912 GB, free: 15.46 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003524/0.2311, allocations: 1.628 MB / 0.6928 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.2311, allocations: 16.03 kB / 0.6928 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007413/0.2319, allocations: 196 kB / 0.693 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.2335, allocations: 0.7603 MB / 0.6938 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.2337, allocations: 117.4 kB / 0.6939 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.2338, allocations: 91.95 kB / 0.694 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.2359, allocations: 1.378 MB / 0.6953 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.2359, allocations: 3.938 kB / 0.6953 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/0.236, allocations: 36 kB / 0.6953 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.236, allocations: 20 kB / 0.6954 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.2378, allocations: 0.9134 MB / 0.6963 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005755/0.2436, allocations: 3.041 MB / 0.6992 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.2457, allocations: 0.8813 MB / 0.7001 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000816/0.2465, allocations: 418 kB / 0.7005 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002857/0.2494, allocations: 1.324 MB / 0.7018 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.2494, allocations: 62.88 kB / 0.7018 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=99): time 3.496e-06/0.2494, allocations: 0 / 0.7018 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112): time 0.01005/0.2595, allocations: 3.794 MB / 0.7055 GB, free: 396 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.2596, allocations: 97.92 kB / 0.7056 GB, free: 280 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.2606, allocations: 0.728 MB / 0.7063 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.887e-05/0.2607, allocations: 49.7 kB / 0.7064 GB, free: 15.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004234/0.2611, allocations: 493.1 kB / 0.7069 GB, free: 15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00036/0.2615, allocations: 408.4 kB / 0.7072 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003474/0.2618, allocations: 190.9 kB / 0.7074 GB, free: 14.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.262, allocations: 341.9 kB / 0.7078 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008425/0.2628, allocations: 394.4 kB / 0.7081 GB, free: 13.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.2638, allocations: 0.5513 MB / 0.7087 GB, free: 13.06 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.002095/0.2659, allocations: 1.014 MB / 0.7097 GB, free: 11.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2659, allocations: 0 / 0.7097 GB, free: 11.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003384/0.2693, allocations: 1.47 MB / 0.7111 GB, free: 10.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.2694, allocations: 4 kB / 0.7111 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001517/0.2709, allocations: 0.6727 MB / 0.7118 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.2721, allocations: 346.6 kB / 0.7121 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008532/0.273, allocations: 207.7 kB / 0.7123 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/0.2842, allocations: 11.55 MB / 0.7236 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009919/0.2852, allocations: 43.97 kB / 0.7236 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.2853, allocations: 43.98 kB / 0.7236 GB, free: 12.79 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: 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 (112): * Single equations (assignments): 104 * 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.0005488/0.2859, allocations: 245.7 kB / 0.7239 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003041/0.2862, allocations: 123.2 kB / 0.724 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0037/0.2899, allocations: 1.587 MB / 0.7256 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.2899, allocations: 12 kB / 0.7256 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.2899, allocations: 4 kB / 0.7256 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.2899, allocations: 3.984 kB / 0.7256 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005103/0.295, allocations: 2.404 MB / 0.7279 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001541/0.2966, allocations: 0.6962 MB / 0.7286 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007938/0.2973, allocations: 183.8 kB / 0.7288 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/0.2985, allocations: 358.4 kB / 0.7291 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-05/0.2986, allocations: 27.98 kB / 0.7291 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/0.31, allocations: 11.55 MB / 0.7404 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.31, allocations: 0 / 0.7404 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00459/0.3146, allocations: 2.093 MB / 0.7425 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.3149, allocations: 99.23 kB / 0.7426 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.3151, allocations: 27.94 kB / 0.7426 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007537/0.3158, allocations: 51.95 kB / 0.7426 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/0.3161, allocations: 104.8 kB / 0.7427 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.045e-05/0.3162, allocations: 39.97 kB / 0.7428 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007406/0.3169, allocations: 0.5107 MB / 0.7433 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3169, allocations: 4 kB / 0.7433 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001559/0.3185, allocations: 427.6 kB / 0.7437 GB, free: 7.238 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 (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.0007487/0.3192, allocations: 414.4 kB / 0.7441 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00373/0.3229, allocations: 1.984 MB / 0.746 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3229, allocations: 0 / 0.746 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002596/0.3255, allocations: 1.523 MB / 0.7475 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.3273, allocations: 347.8 kB / 0.7478 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005168/0.3324, allocations: 2.654 MB / 0.7504 GB, free: 84 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3002/0.6326, allocations: 496.2 kB / 0.7509 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005371/0.6332, allocations: 111.5 kB / 0.751 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.333e-06/0.6332, allocations: 0 / 0.751 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.05296/0.6861, allocations: 53.29 MB / 0.803 GB, free: 69.62 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/jenkins1/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: 13.126279904972762]