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.002385/0.002385, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002561/0.002561, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.615/1.615, allocations: 230.6 MB / 256 MB, free: 8.035 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 0.765/0.765, allocations: 94.56 MB / 407 MB, free: 9.246 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.002514/0.002514, allocations: 89.25 kB / 0.555 GB, free: 38.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1417, allocations: 73.05 MB / 0.6263 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.6118/0.7536, allocations: 173.6 MB / 0.7959 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01398/0.7676, allocations: 11.56 MB / 0.8071 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00238/0.7699, allocations: 96.81 kB / 0.8072 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002897/0.7728, allocations: 0.8999 MB / 0.8081 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005851/0.7787, allocations: 1.773 MB / 0.8098 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004233/0.7829, allocations: 1.359 MB / 0.8112 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00457/0.7875, allocations: 2.616 MB / 0.8137 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008999/0.7884, allocations: 252.7 kB / 0.814 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003558/0.7919, allocations: 1.486 MB / 0.8154 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.794, allocations: 1.16 MB / 0.8166 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003187/0.7943, allocations: 109.6 kB / 0.8167 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00456/0.7988, allocations: 1.894 MB / 0.8185 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004434/0.7993, allocations: 347.6 kB / 0.8188 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.8009, allocations: 0.8059 MB / 0.8196 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006524/0.8075, allocations: 2.525 MB / 0.8221 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.8075, allocations: 0 / 0.8221 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.906e-06/0.8075, allocations: 0 / 0.8221 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001074/0.8076, allocations: 0 / 0.8221 GB, free: 13.97 MB / 0.5919 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.005008/0.8126, allocations: 2.103 MB / 0.8241 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.8126, allocations: 9.562 kB / 0.8242 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/0.8129, allocations: 162.3 kB / 0.8243 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/0.8132, allocations: 201.4 kB / 0.8245 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.8157, allocations: 1.137 MB / 0.8256 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-05/0.8158, allocations: 82.28 kB / 0.8257 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.8159, allocations: 117.3 kB / 0.8258 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.8179, allocations: 1.188 MB / 0.827 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.8179, allocations: 7.094 kB / 0.827 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.988e-05/0.818, allocations: 42.59 kB / 0.827 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.818, allocations: 27.84 kB / 0.827 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.8197, allocations: 1.104 MB / 0.8281 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007764/0.8275, allocations: 5.147 MB / 0.8331 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.829, allocations: 0.6879 MB / 0.8338 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006905/0.8296, allocations: 394.4 kB / 0.8342 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004082/0.8337, allocations: 1.786 MB / 0.8359 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.8338, allocations: 48.38 kB / 0.836 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 3.105e-06/0.8338, allocations: 0 / 0.836 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.003616/0.8374, allocations: 1.474 MB / 0.8374 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.674e-05/0.8375, allocations: 117.8 kB / 0.8375 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/0.8393, allocations: 1.299 MB / 0.8388 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.8394, allocations: 44.27 kB / 0.8388 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006269/0.84, allocations: 0.6243 MB / 0.8395 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003801/0.8404, allocations: 394.1 kB / 0.8398 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.8407, allocations: 202.8 kB / 0.84 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.8409, allocations: 348.2 kB / 0.8404 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/0.8414, allocations: 299.3 kB / 0.8406 GB, free: 388 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/0.8421, allocations: 444.1 kB / 0.8411 GB, free: 76 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.8435, allocations: 0.7679 MB / 0.8418 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.8435, allocations: 5.156 kB / 0.8418 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002736/0.8463, allocations: 1.16 MB / 0.8429 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.8463, allocations: 4.594 kB / 0.843 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.8463, allocations: 3.062 kB / 0.843 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/0.8469, allocations: 159.6 kB / 0.8431 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007648/0.8476, allocations: 208.9 kB / 0.8433 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005893/0.8535, allocations: 6.744 MB / 0.8499 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.8547, allocations: 107.1 kB / 0.85 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.8549, allocations: 51.98 kB / 0.85 GB, free: 7.469 MB / 0.6075 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.0006555/0.8556, allocations: 309.6 kB / 0.8503 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004385/0.856, allocations: 178.9 kB / 0.8505 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00311/0.8591, allocations: 1.705 MB / 0.8522 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.8591, allocations: 8 kB / 0.8522 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.8591, allocations: 4.141 kB / 0.8522 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.8591, allocations: 7.969 kB / 0.8522 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004485/0.8636, allocations: 2.368 MB / 0.8545 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.8636, allocations: 4 kB / 0.8545 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005068/0.8641, allocations: 131.8 kB / 0.8546 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000488/0.8646, allocations: 160.5 kB / 0.8548 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.8647, allocations: 31.97 kB / 0.8548 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005858/0.8706, allocations: 6.744 MB / 0.8614 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.8706, allocations: 4 kB / 0.8614 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.8735, allocations: 1.59 MB / 0.863 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008638/0.8743, allocations: 262.6 kB / 0.8632 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/0.8747, allocations: 43.91 kB / 0.8633 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008168/0.8755, allocations: 31.92 kB / 0.8633 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.8757, allocations: 71.81 kB / 0.8634 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/0.8758, allocations: 35.92 kB / 0.8634 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001756/0.8775, allocations: 0.997 MB / 0.8644 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8775, allocations: 0 / 0.8644 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00189/0.8794, allocations: 467.3 kB / 0.8648 GB, free: 7.547 MB / 0.6231 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.005304/0.8847, allocations: 2.787 MB / 0.8675 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002643/0.8873, allocations: 1.293 MB / 0.8688 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.8874, allocations: 3.938 kB / 0.8688 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.8888, allocations: 0.9155 MB / 0.8697 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003169/0.892, allocations: 490.9 kB / 0.8702 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/0.9135, allocations: 10.99 MB / 0.8809 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/0.9146, allocations: 1.214 MB / 0.8821 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001207/0.9159, allocations: 307.5 kB / 0.8824 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008664/0.9167, allocations: 0.6125 MB / 0.883 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of SimCode: time 9.82e-07/0.9167, allocations: 0 / 0.883 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/1.035, allocations: 40.37 MB / 0.9224 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.11/19.14, allocations: 8 kB / 0.9224 GB, free: 12.43 MB / 0.6856 GB " [Timeout remaining time 641] (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: 23.185858932090923]