Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") translateModel(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001704, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.67/1.67, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8801/0.8801, allocations: 89.63 MB / 380.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004936, allocations: 9.719 kB / 460 MB, free: 24.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1627, allocations: 68.84 MB / 0.5165 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.5501/0.7129, allocations: 172.4 MB / 0.6848 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.05912/0.7721, allocations: 41.68 MB / 0.7255 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005306/0.7774, allocations: 35.81 kB / 0.7255 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.008035/0.7855, allocations: 1.713 MB / 0.7272 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01473/0.8003, allocations: 3.498 MB / 0.7306 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.021/0.8213, allocations: 5.565 MB / 0.736 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007783/0.8291, allocations: 4.403 MB / 0.7403 GB, free: 6.723 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/0.8312, allocations: 0.718 MB / 0.741 GB, free: 5.977 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0332/0.8645, allocations: 18.04 MB / 0.7587 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00337/0.8679, allocations: 1.4 MB / 0.76 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001176/0.8691, allocations: 100 kB / 0.7601 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02844/0.8975, allocations: 9.099 MB / 0.769 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.8988, allocations: 405.9 kB / 0.7694 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.9002, allocations: 0.5354 MB / 0.7699 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.915, allocations: 5.862 MB / 0.7756 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.915, allocations: 0 / 0.7756 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.988e-06/0.915, allocations: 0 / 0.7756 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000103/0.9152, allocations: 7.938 kB / 0.7757 GB, free: 2.484 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 602 * Number of variables: 602 Notification: Performance of Generate backend data structure: time 0.01381/0.929, allocations: 3.956 MB / 0.7795 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.929, allocations: 12.03 kB / 0.7795 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00348/0.9325, allocations: 0.5547 MB / 0.7801 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003887/0.9364, allocations: 1.234 MB / 0.7813 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/0.9367, allocations: 176.7 kB / 0.7814 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007673/0.9375, allocations: 251.7 kB / 0.7817 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008747/0.9462, allocations: 2.815 MB / 0.7844 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.39e-05/0.9463, allocations: 11.89 kB / 0.7844 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/0.9467, allocations: 92 kB / 0.7845 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.887e-05/0.9468, allocations: 60 kB / 0.7846 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006215/0.953, allocations: 2.369 MB / 0.7869 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01906/0.9721, allocations: 12.84 MB / 0.7994 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005346/0.9774, allocations: 2.116 MB / 0.8015 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.9795, allocations: 1.076 MB / 0.8026 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.464/1.444, allocations: 48.04 MB / 0.8495 GB, free: 192.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/1.444, allocations: 61.83 kB / 0.8495 GB, free: 192 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=208): time 1.233e-05/1.444, allocations: 0 / 0.8495 GB, free: 192 MB / 0.6075 GB Notification: Performance of matching and sorting (n=208): time 0.01668/1.46, allocations: 4.355 MB / 0.8538 GB, free: 190.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.461, allocations: 207.6 kB / 0.854 GB, free: 190 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003702/1.464, allocations: 1.443 MB / 0.8554 GB, free: 189.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003498/1.465, allocations: 61.61 kB / 0.8554 GB, free: 189.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008486/1.466, allocations: 0.9442 MB / 0.8564 GB, free: 188.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001066/1.467, allocations: 0.7042 MB / 0.8571 GB, free: 187.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002705/1.467, allocations: 35.88 kB / 0.8571 GB, free: 187.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.467, allocations: 377.7 kB / 0.8575 GB, free: 187.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/1.469, allocations: 0.6743 MB / 0.8581 GB, free: 187.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/1.471, allocations: 0.9478 MB / 0.859 GB, free: 186.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002364/1.474, allocations: 0.7953 MB / 0.8598 GB, free: 186.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.474, allocations: 0 / 0.8598 GB, free: 186.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.007498/1.481, allocations: 2.332 MB / 0.8621 GB, free: 184.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/1.481, allocations: 8.156 kB / 0.8621 GB, free: 184.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/1.481, allocations: 7.344 kB / 0.8621 GB, free: 184.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/1.483, allocations: 317.6 kB / 0.8624 GB, free: 184.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/1.486, allocations: 397.3 kB / 0.8628 GB, free: 184.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009201/1.495, allocations: 8.946 MB / 0.8715 GB, free: 175.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/1.498, allocations: 234 kB / 0.8717 GB, free: 175.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004366/1.499, allocations: 87.92 kB / 0.8718 GB, free: 175.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 24 (dynamicPressureInflow5.outlet.state.phase,dynamicPressureInflow4.outlet.state.phase,dynamicPressureInflow3.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,dynamicPressureInflow1.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,flowResistance5.outlet.state.phase,dynamicPressureOutflow5.outlet.state.phase,source5.outlet.state.phase,flowResistance4.outlet.state.phase,dynamicPressureOutflow4.outlet.state.phase,source4.outlet.state.phase,flowResistance3.outlet.state.phase,dynamicPressureOutflow3.outlet.state.phase,source3.outlet.state.phase,flowResistance2.outlet.state.phase,dynamicPressureOutflow2.outlet.state.phase,source2.outlet.state.phase,flowResistance1.outlet.state.phase,dynamicPressureOutflow1.outlet.state.phase,source1.outlet.state.phase,flowResistance.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase,source.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001577/1.5, allocations: 414.1 kB / 0.8722 GB, free: 174.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008806/1.501, allocations: 213.4 kB / 0.8724 GB, free: 174.7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/1.514, allocations: 6.485 MB / 0.8788 GB, free: 168.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.962e-05/1.514, allocations: 75.89 kB / 0.8788 GB, free: 168.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.024e-05/1.514, allocations: 12 kB / 0.8788 GB, free: 168.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.315e-05/1.514, allocations: 11.95 kB / 0.8789 GB, free: 168.1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02096/1.535, allocations: 10.01 MB / 0.8886 GB, free: 158.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.73e-05/1.536, allocations: 0 / 0.8886 GB, free: 158.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002621/1.538, allocations: 347.5 kB / 0.889 GB, free: 157.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/1.54, allocations: 332.7 kB / 0.8893 GB, free: 157.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003609/1.54, allocations: 67.86 kB / 0.8893 GB, free: 157.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009267/1.55, allocations: 8.934 MB / 0.8981 GB, free: 147.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/1.55, allocations: 7.938 kB / 0.8981 GB, free: 147.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/1.563, allocations: 5.711 MB / 0.9037 GB, free: 141.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/1.565, allocations: 0.5386 MB / 0.9042 GB, free: 141.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007266/1.566, allocations: 44 kB / 0.9042 GB, free: 141.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/1.568, allocations: 139.4 kB / 0.9044 GB, free: 141.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004655/1.569, allocations: 175.4 kB / 0.9045 GB, free: 140.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/1.569, allocations: 71.97 kB / 0.9046 GB, free: 140.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002806/1.572, allocations: 1.244 MB / 0.9058 GB, free: 139.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.11e-07/1.572, allocations: 0 / 0.9058 GB, free: 139.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007536/1.579, allocations: 1.77 MB / 0.9075 GB, free: 137.9 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (flowResistance5.inlet.m_flow,flowResistance4.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance1.inlet.m_flow,flowResistance.inlet.m_flow) * Number of discrete variables: 36 ($cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009345/1.589, allocations: 1.879 MB / 0.9094 GB, free: 136.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005599/1.594, allocations: 3.134 MB / 0.9124 GB, free: 133.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.594, allocations: 4 kB / 0.9124 GB, free: 133.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002806/1.597, allocations: 2.515 MB / 0.9149 GB, free: 130.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004979/1.602, allocations: 0.8323 MB / 0.9157 GB, free: 129.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/1.617, allocations: 8.02 MB / 0.9235 GB, free: 121.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001987/1.619, allocations: 1.904 MB / 0.9254 GB, free: 119.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002525/1.621, allocations: 0.8767 MB / 0.9262 GB, free: 118.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007817/1.622, allocations: 187.3 kB / 0.9264 GB, free: 118.6 MB / 0.6075 GB Notification: Performance of SimCode: time 2.044e-06/1.622, allocations: 0 / 0.9264 GB, free: 118.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.1072/1.729, allocations: 74.89 MB / 0.9996 GB, free: 44.18 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.DynamicBoundaries_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches