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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 107.5 kB / 18.67 MB, free: 3.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002168/0.002168, allocations: 192.2 kB / 21.92 MB, free: 5.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 250.6 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7804/0.7804, allocations: 94.6 MB / 400.4 MB, free: 15.78 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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 82.94 kB / 0.5464 GB, free: 42.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1423, allocations: 71.85 MB / 0.6166 GB, free: 8.598 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04547/0.1878, allocations: 40.04 MB / 0.6557 GB, free: 416 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.2005, allocations: 8.795 MB / 0.6643 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.2018, allocations: 35.75 kB / 0.6643 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.2033, allocations: 0.5278 MB / 0.6648 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003924/0.2073, allocations: 1.336 MB / 0.6661 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002816/0.2101, allocations: 0.8941 MB / 0.667 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00357/0.2137, allocations: 2 MB / 0.6689 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004556/0.2141, allocations: 156.3 kB / 0.6691 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.217, allocations: 1.163 MB / 0.6702 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.2182, allocations: 0.7349 MB / 0.6709 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.2183, allocations: 96 kB / 0.671 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003006/0.2213, allocations: 0.8738 MB / 0.6719 GB, free: 15.73 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0003865/0.2217, allocations: 262.8 kB / 0.6721 GB, free: 15.47 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0008487/0.2226, allocations: 0.6295 MB / 0.6727 GB, free: 14.84 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.003709/0.2263, allocations: 1.837 MB / 0.6745 GB, free: 12.99 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2263, allocations: 3.938 kB / 0.6745 GB, free: 12.99 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.464e-06/0.2263, allocations: 0 / 0.6745 GB, free: 12.99 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 2.446e-05/0.2263, allocations: 0 / 0.6745 GB, free: 12.99 MB / 0.5138 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.003897/0.2302, allocations: 1.707 MB / 0.6762 GB, free: 11.23 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.2303, allocations: 11.97 kB / 0.6762 GB, free: 11.21 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004955/0.2308, allocations: 156 kB / 0.6764 GB, free: 11.06 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.2324, allocations: 0.8363 MB / 0.6772 GB, free: 10.18 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.2325, allocations: 95.7 kB / 0.6773 GB, free: 10.08 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.2327, allocations: 91.98 kB / 0.6774 GB, free: 9.992 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.2346, allocations: 0.9956 MB / 0.6783 GB, free: 8.961 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.2346, allocations: 3.938 kB / 0.6783 GB, free: 8.957 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.336e-05/0.2347, allocations: 36 kB / 0.6784 GB, free: 8.922 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.2347, allocations: 20 kB / 0.6784 GB, free: 8.902 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.2365, allocations: 0.8861 MB / 0.6793 GB, free: 8.016 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007011/0.2435, allocations: 4.605 MB / 0.6838 GB, free: 3.02 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.2457, allocations: 0.9464 MB / 0.6847 GB, free: 2.043 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008917/0.2466, allocations: 430.1 kB / 0.6851 GB, free: 1.621 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004494/0.2511, allocations: 2.987 MB / 0.688 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.2512, allocations: 50.94 kB / 0.6881 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=99): time 2.945e-06/0.2512, allocations: 0 / 0.6881 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112): time 0.01018/0.2614, allocations: 4.263 MB / 0.6922 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.2614, allocations: 98.09 kB / 0.6923 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.2625, allocations: 0.7598 MB / 0.6931 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.668e-05/0.2626, allocations: 49.64 kB / 0.6931 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/0.263, allocations: 485.2 kB / 0.6936 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/0.2634, allocations: 408.4 kB / 0.694 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/0.2637, allocations: 190.9 kB / 0.6941 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.2639, allocations: 345.9 kB / 0.6945 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008904/0.2648, allocations: 382.4 kB / 0.6948 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.2658, allocations: 0.5443 MB / 0.6954 GB, free: 6.387 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.002128/0.2679, allocations: 1.061 MB / 0.6964 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2679, allocations: 0 / 0.6964 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003549/0.2715, allocations: 1.459 MB / 0.6978 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.2715, allocations: 6.062 kB / 0.6978 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.2715, allocations: 12 kB / 0.6978 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.2728, allocations: 346.5 kB / 0.6982 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/0.2736, allocations: 195.7 kB / 0.6984 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.2858, allocations: 12.6 MB / 0.7107 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/0.2868, allocations: 35.98 kB / 0.7107 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.2869, allocations: 47.98 kB / 0.7107 GB, free: 5.395 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: 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.0005736/0.2875, allocations: 257.6 kB / 0.711 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/0.2878, allocations: 123.2 kB / 0.7111 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003898/0.2916, allocations: 1.588 MB / 0.7127 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.2917, allocations: 3.984 kB / 0.7127 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.2917, allocations: 4 kB / 0.7127 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.292, allocations: 184.3 kB / 0.7128 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.2921, allocations: 31.92 kB / 0.7129 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/0.2928, allocations: 51.95 kB / 0.7129 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.293, allocations: 96.84 kB / 0.713 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004675/0.2977, allocations: 1.64 MB / 0.7146 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003576/0.3013, allocations: 1.881 MB / 0.7165 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001006/0.3023, allocations: 439.7 kB / 0.7169 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009052/0.3032, allocations: 0.5308 MB / 0.7174 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of Backend: time 6.31e-07/0.3032, allocations: 4 kB / 0.7174 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004948/0.3081, allocations: 2.116 MB / 0.7195 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of SimCode: time 0.005269/0.3134, allocations: 3.134 MB / 0.7225 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.5058/0.8192, allocations: 24.96 MB / 0.7469 GB, free: 232 kB / 0.5763 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_2/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.367872966977302]