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.001505/0.001505, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.00138/0.00138, allocations: 174.4 kB / 22.46 MB, free: 5.355 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.354/1.354, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7372/0.7372, allocations: 80.19 MB / 339.4 MB, free: 10.87 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.4929 GB, free: 25.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.153e-05, allocations: 6.219 kB / 0.4929 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.03149/0.03151, allocations: 37.75 MB / 0.5297 GB, free: 416 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.04201, allocations: 6.907 MB / 0.5365 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.0433, allocations: 54.72 kB / 0.5365 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.04493, allocations: 0.494 MB / 0.537 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004225/0.04915, allocations: 1.452 MB / 0.5384 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002828/0.05198, allocations: 0.9501 MB / 0.5394 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003194/0.05518, allocations: 2.236 MB / 0.5415 GB, free: 8.891 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004433/0.05562, allocations: 149.3 kB / 0.5417 GB, free: 8.809 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/0.05939, allocations: 1.554 MB / 0.5432 GB, free: 8.152 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.06082, allocations: 0.615 MB / 0.5438 GB, free: 7.957 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002983/0.06112, allocations: 100.1 kB / 0.5439 GB, free: 7.953 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.06365, allocations: 0.7531 MB / 0.5446 GB, free: 7.715 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004158/0.06406, allocations: 273.8 kB / 0.5449 GB, free: 7.484 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.06509, allocations: 472.9 kB / 0.5454 GB, free: 7.266 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00378/0.06887, allocations: 1.906 MB / 0.5472 GB, free: 6.098 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.06888, allocations: 0 / 0.5472 GB, free: 6.098 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.06888, allocations: 4 kB / 0.5472 GB, free: 6.094 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.143e-05/0.0689, allocations: 0 / 0.5472 GB, free: 6.094 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003463/0.07236, allocations: 1.659 MB / 0.5488 GB, free: 4.875 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.0724, allocations: 8.781 kB / 0.5488 GB, free: 4.875 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007776/0.07317, allocations: 216.1 kB / 0.5491 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.07474, allocations: 0.7835 MB / 0.5498 GB, free: 4.168 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.07486, allocations: 127.9 kB / 0.5499 GB, free: 4.066 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.075, allocations: 88.98 kB / 0.55 GB, free: 4.035 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.07703, allocations: 1.397 MB / 0.5514 GB, free: 2.934 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.07705, allocations: 5.062 kB / 0.5514 GB, free: 2.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.169e-05/0.07715, allocations: 38.19 kB / 0.5514 GB, free: 2.902 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.07716, allocations: 22.06 kB / 0.5514 GB, free: 2.902 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.07894, allocations: 0.921 MB / 0.5523 GB, free: 2.332 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005829/0.08477, allocations: 3.326 MB / 0.5556 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.08682, allocations: 0.8791 MB / 0.5565 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007996/0.08762, allocations: 421.9 kB / 0.5569 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002724/0.09034, allocations: 1.331 MB / 0.5582 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.09038, allocations: 51 kB / 0.5582 GB, free: 12.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=99): time 3.206e-06/0.09038, allocations: 0 / 0.5582 GB, free: 12.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01023/0.1006, allocations: 3.822 MB / 0.5619 GB, free: 8.281 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.1007, allocations: 94.05 kB / 0.562 GB, free: 8.172 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.1017, allocations: 0.772 MB / 0.5628 GB, free: 7.375 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.963e-05/0.1018, allocations: 45.7 kB / 0.5628 GB, free: 7.324 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.1022, allocations: 0.5011 MB / 0.5633 GB, free: 6.816 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003507/0.1026, allocations: 412.5 kB / 0.5637 GB, free: 6.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/0.1029, allocations: 186.9 kB / 0.5639 GB, free: 6.223 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.103, allocations: 349.9 kB / 0.5642 GB, free: 5.875 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008518/0.1039, allocations: 394.4 kB / 0.5646 GB, free: 5.488 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.1049, allocations: 0.5673 MB / 0.5652 GB, free: 4.852 MB / 478.1 MB 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.002019/0.1069, allocations: 1.033 MB / 0.5662 GB, free: 3.758 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.1069, allocations: 4 kB / 0.5662 GB, free: 3.754 MB / 478.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003452/0.1104, allocations: 1.487 MB / 0.5676 GB, free: 2.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1104, allocations: 8 kB / 0.5676 GB, free: 2.223 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001562/0.1119, allocations: 0.6728 MB / 0.5683 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.1133, allocations: 350.6 kB / 0.5686 GB, free: 1.168 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009163/0.1142, allocations: 207.6 kB / 0.5688 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.1248, allocations: 11.54 MB / 0.5801 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009987/0.1258, allocations: 44.03 kB / 0.5801 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.1259, allocations: 51.98 kB / 0.5802 GB, free: 4.516 MB / 494.1 MB 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: 22 * 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 (115): * Single equations (assignments): 107 * 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.0005231/0.1265, allocations: 253.6 kB / 0.5804 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.1268, allocations: 131.1 kB / 0.5805 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003749/0.1305, allocations: 1.59 MB / 0.5821 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.1305, allocations: 16 kB / 0.5821 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1305, allocations: 4 kB / 0.5821 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.1305, allocations: 11.91 kB / 0.5821 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00499/0.1355, allocations: 2.414 MB / 0.5845 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001533/0.1371, allocations: 0.6846 MB / 0.5851 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008203/0.1379, allocations: 183.8 kB / 0.5853 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.1391, allocations: 362.4 kB / 0.5857 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.701e-05/0.1392, allocations: 28.05 kB / 0.5857 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/0.15, allocations: 11.55 MB / 0.597 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.15, allocations: 128 / 0.597 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004711/0.1547, allocations: 2.097 MB / 0.599 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/0.155, allocations: 103.2 kB / 0.5991 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.1553, allocations: 28 kB / 0.5991 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008936/0.1562, allocations: 55.89 kB / 0.5992 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.1564, allocations: 104.9 kB / 0.5993 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.1566, allocations: 39.98 kB / 0.5993 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007974/0.1573, allocations: 0.5312 MB / 0.5999 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1573, allocations: 0 / 0.5999 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00175/0.1591, allocations: 451.6 kB / 0.6003 GB, free: 14.89 MB / 0.5137 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.0008049/0.1599, allocations: 418.5 kB / 0.6007 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003652/0.1636, allocations: 1.985 MB / 0.6026 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.1636, allocations: 3.953 kB / 0.6026 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002532/0.1661, allocations: 1.531 MB / 0.6041 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/0.1688, allocations: 0.506 MB / 0.6046 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00538/0.1741, allocations: 2.497 MB / 0.6071 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/0.1747, allocations: 0.5056 MB / 0.6075 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008723/0.1756, allocations: 216.8 kB / 0.6078 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.1759, allocations: 104.5 kB / 0.6079 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/0.1759, allocations: 0 / 0.6079 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of Templates: time 0.0469/0.2228, allocations: 27.53 MB / 0.6347 GB, free: 11.74 MB / 0.545 GB " [Timeout remaining time 660] 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 -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/jenkins/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.164251357316971]