Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.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.001403/0.001403, allocations: 109 kB / 17.54 MB, free: 4.746 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.00148/0.00148, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.362/1.362, allocations: 225.6 MB / 249.3 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5749/0.5749, allocations: 94.58 MB / 399 MB, free: 15.81 MB / 334.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 83.86 kB / 0.5442 GB, free: 12.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.352, allocations: 71.84 MB / 0.6144 GB, free: 3.867 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.1981/0.5501, allocations: 173.6 MB / 0.7839 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01478/0.5649, allocations: 11.44 MB / 0.795 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.5659, allocations: 71.5 kB / 0.7951 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.5678, allocations: 0.8855 MB / 0.796 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.5713, allocations: 1.729 MB / 0.7976 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.5742, allocations: 1.32 MB / 0.7989 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002941/0.5772, allocations: 2.55 MB / 0.8014 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004127/0.5776, allocations: 246.6 kB / 0.8017 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.5802, allocations: 1.459 MB / 0.8031 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.5817, allocations: 1.159 MB / 0.8042 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.5819, allocations: 108 kB / 0.8043 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.5858, allocations: 1.875 MB / 0.8061 GB, free: 16 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004254/0.5862, allocations: 346.4 kB / 0.8065 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007164/0.5869, allocations: 0.7962 MB / 0.8073 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003547/0.5905, allocations: 2.506 MB / 0.8097 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.5905, allocations: 0 / 0.8097 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.147e-06/0.5905, allocations: 4 kB / 0.8097 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.412e-05/0.5906, allocations: 0 / 0.8097 GB, free: 12.34 MB / 0.6387 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.003762/0.5943, allocations: 2.171 MB / 0.8118 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.5944, allocations: 12.03 kB / 0.8118 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001808/0.5945, allocations: 156.8 kB / 0.812 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003/0.5948, allocations: 203.7 kB / 0.8122 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.5969, allocations: 1.237 MB / 0.8134 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/0.5969, allocations: 82.22 kB / 0.8135 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.5971, allocations: 111.9 kB / 0.8136 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.5989, allocations: 1.179 MB / 0.8147 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.343e-05/0.5989, allocations: 4 kB / 0.8147 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/0.5991, allocations: 40 kB / 0.8148 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.5991, allocations: 28 kB / 0.8148 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.6008, allocations: 1.07 MB / 0.8158 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006751/0.6075, allocations: 5.273 MB / 0.821 GB, free: 216 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.6089, allocations: 0.6933 MB / 0.8217 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.6095, allocations: 400.1 kB / 0.822 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004415/0.614, allocations: 3.894 MB / 0.8259 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.894e-05/0.614, allocations: 55.05 kB / 0.8259 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=108): time 6.392e-06/0.614, allocations: 0 / 0.8259 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=108): time 0.003563/0.6176, allocations: 1.845 MB / 0.8277 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.6177, allocations: 119.4 kB / 0.8278 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.6192, allocations: 1.279 MB / 0.8291 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.6192, allocations: 45.7 kB / 0.8291 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/0.6198, allocations: 0.629 MB / 0.8297 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002789/0.6201, allocations: 392.6 kB / 0.8301 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.6204, allocations: 194.9 kB / 0.8303 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6205, allocations: 349.9 kB / 0.8306 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006052/0.6211, allocations: 298.5 kB / 0.8309 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007547/0.6219, allocations: 449.2 kB / 0.8313 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.6232, allocations: 0.7664 MB / 0.8321 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.6232, allocations: 4 kB / 0.8321 GB, free: 4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002061/0.6252, allocations: 1.166 MB / 0.8332 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.6252, allocations: 4 kB / 0.8332 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6252, allocations: 4 kB / 0.8332 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004787/0.6257, allocations: 160.1 kB / 0.8334 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007797/0.6265, allocations: 207.7 kB / 0.8336 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005782/0.6323, allocations: 7.248 MB / 0.8407 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005796/0.6329, allocations: 111.1 kB / 0.8408 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.903e-05/0.6329, allocations: 47.98 kB / 0.8408 GB, free: 10.33 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0005302/0.6335, allocations: 309.7 kB / 0.8411 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/0.6338, allocations: 178.9 kB / 0.8413 GB, free: 9.84 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.6367, allocations: 1.713 MB / 0.843 GB, free: 8.066 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.6367, allocations: 8 kB / 0.843 GB, free: 8.059 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.6367, allocations: 8 kB / 0.843 GB, free: 8.051 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.6367, allocations: 7.984 kB / 0.843 GB, free: 8.043 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003535/0.6403, allocations: 2.385 MB / 0.8453 GB, free: 5.543 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6403, allocations: 4 kB / 0.8453 GB, free: 5.539 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004691/0.6407, allocations: 127.8 kB / 0.8454 GB, free: 5.414 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005358/0.6413, allocations: 172.4 kB / 0.8456 GB, free: 5.23 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/0.6413, allocations: 27.98 kB / 0.8456 GB, free: 5.203 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005881/0.6472, allocations: 7.252 MB / 0.8527 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.6472, allocations: 8.094 kB / 0.8527 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.6496, allocations: 1.587 MB / 0.8543 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/0.6501, allocations: 351.6 kB / 0.8546 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.6502, allocations: 27.89 kB / 0.8546 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006062/0.6508, allocations: 20 kB / 0.8546 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.6509, allocations: 83.77 kB / 0.8547 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.651, allocations: 31.98 kB / 0.8547 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001276/0.6523, allocations: 0.9928 MB / 0.8557 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.6523, allocations: 0 / 0.8557 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001298/0.6536, allocations: 463.2 kB / 0.8562 GB, free: 9.625 MB / 0.6856 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 (74): * Single equations (assignments): 69 * 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.004441/0.658, allocations: 2.79 MB / 0.8589 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00211/0.6601, allocations: 1.297 MB / 0.8602 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6601, allocations: 4 kB / 0.8602 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.6615, allocations: 0.9115 MB / 0.861 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.6637, allocations: 492.4 kB / 0.8615 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2471/0.9108, allocations: 10.96 MB / 0.8722 GB, free: 226.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007563/0.9116, allocations: 1.211 MB / 0.8734 GB, free: 225.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007932/0.9124, allocations: 296.4 kB / 0.8737 GB, free: 225.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000581/0.913, allocations: 0.6085 MB / 0.8743 GB, free: 225.4 MB / 0.6856 GB Notification: Performance of SimCode: time 1.102e-06/0.913, allocations: 0 / 0.8743 GB, free: 225.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0826/0.9956, allocations: 39.77 MB / 0.9131 GB, free: 205.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.99, allocations: 7.875 kB / 0.9131 GB, free: 205.2 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 18.207941487002245]