Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.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.001536/0.001536, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001904/0.001904, allocations: 214.1 kB / 22.25 MB, free: 5.25 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.687/1.687, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.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 1.039/1.039, allocations: 94.62 MB / 407 MB, free: 8.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 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: "" <> buildModelFMU(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) [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.002821/0.002821, allocations: 86.59 kB / 0.555 GB, free: 38.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2581, allocations: 73.05 MB / 0.6263 GB, free: 196 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 1.008/1.267, allocations: 150.2 MB / 0.773 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01986/1.286, allocations: 10.51 MB / 0.7832 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003616/1.29, allocations: 100.5 kB / 0.7833 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004411/1.294, allocations: 0.8372 MB / 0.7842 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008991/1.303, allocations: 1.731 MB / 0.7858 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006204/1.31, allocations: 1.356 MB / 0.7872 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007403/1.317, allocations: 2.592 MB / 0.7897 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/1.318, allocations: 233.2 kB / 0.7899 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006883/1.325, allocations: 1.492 MB / 0.7914 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004044/1.329, allocations: 1.085 MB / 0.7924 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004292/1.329, allocations: 107.8 kB / 0.7925 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0071/1.337, allocations: 1.559 MB / 0.7941 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007172/1.337, allocations: 338.5 kB / 0.7944 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002304/1.34, allocations: 0.6466 MB / 0.795 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009133/1.349, allocations: 2.487 MB / 0.7975 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/1.349, allocations: 0.875 kB / 0.7975 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.835e-06/1.349, allocations: 0 / 0.7975 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.125e-05/1.349, allocations: 0 / 0.7975 GB, free: 1.871 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.006281/1.355, allocations: 2.092 MB / 0.7995 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.866e-05/1.355, allocations: 11.5 kB / 0.7995 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002401/1.355, allocations: 160.5 kB / 0.7997 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008179/1.356, allocations: 228.9 kB / 0.7999 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/1.359, allocations: 1.133 MB / 0.801 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.335e-05/1.359, allocations: 81.56 kB / 0.8011 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/1.359, allocations: 117.4 kB / 0.8012 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/1.362, allocations: 1.231 MB / 0.8024 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/1.362, allocations: 0 / 0.8024 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/1.362, allocations: 46.69 kB / 0.8024 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.848e-05/1.362, allocations: 31.11 kB / 0.8025 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/1.364, allocations: 1.085 MB / 0.8035 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008355/1.372, allocations: 3.887 MB / 0.8073 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/1.374, allocations: 0.7013 MB / 0.808 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008224/1.375, allocations: 390.6 kB / 0.8084 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00468/1.379, allocations: 1.527 MB / 0.8099 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.017e-05/1.38, allocations: 44.28 kB / 0.8099 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 5.32e-06/1.38, allocations: 0.9062 kB / 0.8099 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.004174/1.384, allocations: 1.451 MB / 0.8113 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001706/1.384, allocations: 118.8 kB / 0.8114 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/1.387, allocations: 1.299 MB / 0.8127 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/1.387, allocations: 44.95 kB / 0.8127 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009732/1.388, allocations: 0.6323 MB / 0.8134 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006111/1.389, allocations: 390.1 kB / 0.8137 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000439/1.389, allocations: 196 kB / 0.8139 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003058/1.389, allocations: 347.9 kB / 0.8142 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/1.39, allocations: 298.5 kB / 0.8145 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/1.391, allocations: 0.507 MB / 0.815 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/1.393, allocations: 0.7984 MB / 0.8158 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.393, allocations: 0 / 0.8158 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003055/1.396, allocations: 1.173 MB / 0.817 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/1.396, allocations: 5.656 kB / 0.817 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.396, allocations: 3.812 kB / 0.817 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006629/1.396, allocations: 164.9 kB / 0.8171 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008376/1.397, allocations: 210.9 kB / 0.8173 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008046/1.405, allocations: 6.716 MB / 0.8239 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/1.407, allocations: 104.7 kB / 0.824 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/1.407, allocations: 55.7 kB / 0.824 GB, free: 2.848 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (117): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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.001211/1.408, allocations: 309.6 kB / 0.8243 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006664/1.409, allocations: 176.9 kB / 0.8245 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003635/1.413, allocations: 1.687 MB / 0.8261 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/1.413, allocations: 9.219 kB / 0.8262 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/1.413, allocations: 3.344 kB / 0.8262 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/1.413, allocations: 8.5 kB / 0.8262 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004657/1.417, allocations: 2.074 MB / 0.8282 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.417, allocations: 4.531 kB / 0.8282 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/1.418, allocations: 126.3 kB / 0.8283 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005993/1.419, allocations: 167.1 kB / 0.8285 GB, free: 456 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.762e-05/1.419, allocations: 27.12 kB / 0.8285 GB, free: 444 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008387/1.427, allocations: 6.713 MB / 0.8351 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.427, allocations: 6.562 kB / 0.8351 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003551/1.431, allocations: 1.557 MB / 0.8366 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.432, allocations: 263.1 kB / 0.8368 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002936/1.432, allocations: 37.09 kB / 0.8369 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006907/1.433, allocations: 21.09 kB / 0.8369 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/1.433, allocations: 76.86 kB / 0.837 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.475e-05/1.433, allocations: 36.72 kB / 0.837 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002047/1.435, allocations: 0.9947 MB / 0.838 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/1.435, allocations: 0.9688 kB / 0.838 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002092/1.437, allocations: 445.9 kB / 0.8384 GB, free: 8.148 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 5 (flowResistance1.m_flow,flowResistance.m_flow,basicControlValve.m_flow,specificValveType.m_flow,tanValve.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 (70): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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 Backend phase and start with SimCode phase: time 0.006843/1.444, allocations: 2.742 MB / 0.8411 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003851/1.448, allocations: 1.283 MB / 0.8423 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/1.448, allocations: 0 / 0.8423 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001722/1.45, allocations: 0.9127 MB / 0.8432 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003655/1.453, allocations: 489.2 kB / 0.8437 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02631/1.48, allocations: 10.97 MB / 0.8544 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/1.481, allocations: 0.6362 MB / 0.855 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001552/1.482, allocations: 283.5 kB / 0.8553 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.483, allocations: 0.6203 MB / 0.8559 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of SimCode: time 2.204e-06/1.483, allocations: 0 / 0.8559 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1491/1.632, allocations: 41.65 MB / 0.8966 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.24/19.87, allocations: 3.859 kB / 0.8966 GB, free: 0.5 MB / 0.6544 GB " [Timeout remaining time 640] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping.fmu > ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.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: 24.77443396113813]