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.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.001556/0.001556, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001828/0.001828, allocations: 219.2 kB / 23.04 MB, free: 5.078 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7814/0.7814, allocations: 100.3 MB / 413.5 MB, free: 3.688 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",fmuType="cs",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="cs",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.002367/0.002367, allocations: 89.55 kB / 0.564 GB, free: 35.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1228, allocations: 74.44 MB / 0.6367 GB, free: 7.691 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.5376/0.6604, allocations: 173.6 MB / 0.8063 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01265/0.6731, allocations: 11.57 MB / 0.8176 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.6755, allocations: 95.31 kB / 0.8177 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0023/0.6778, allocations: 0.8918 MB / 0.8186 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00588/0.6836, allocations: 1.78 MB / 0.8203 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004063/0.6877, allocations: 1.367 MB / 0.8216 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004384/0.6921, allocations: 2.597 MB / 0.8242 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005944/0.6927, allocations: 250 kB / 0.8244 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003223/0.6959, allocations: 1.48 MB / 0.8259 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.6975, allocations: 1.16 MB / 0.827 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.6977, allocations: 109.6 kB / 0.8271 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004198/0.7019, allocations: 1.9 MB / 0.8289 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000331/0.7022, allocations: 339.7 kB / 0.8293 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008595/0.703, allocations: 0.8121 MB / 0.8301 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00413/0.7072, allocations: 2.511 MB / 0.8325 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.7072, allocations: 7.984 kB / 0.8325 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7072, allocations: 0 / 0.8325 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.216e-05/0.7072, allocations: 0 / 0.8325 GB, free: 4.668 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.003844/0.7111, allocations: 2.096 MB / 0.8346 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.7111, allocations: 14.5 kB / 0.8346 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.14e-05/0.7111, allocations: 29.25 kB / 0.8346 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.7113, allocations: 160.1 kB / 0.8348 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003084/0.7116, allocations: 201.9 kB / 0.835 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.7137, allocations: 1.141 MB / 0.8361 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.62e-05/0.7138, allocations: 80.88 kB / 0.8361 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.7139, allocations: 114.7 kB / 0.8363 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.7157, allocations: 1.193 MB / 0.8374 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.7157, allocations: 0 / 0.8374 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.872e-05/0.7158, allocations: 46.12 kB / 0.8375 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.7158, allocations: 25.34 kB / 0.8375 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.7174, allocations: 1.103 MB / 0.8386 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006512/0.7239, allocations: 5.148 MB / 0.8436 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.7252, allocations: 0.69 MB / 0.8443 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005946/0.7258, allocations: 398.6 kB / 0.8446 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003359/0.7292, allocations: 1.784 MB / 0.8464 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.7292, allocations: 56.42 kB / 0.8464 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=108): time 2.715e-06/0.7292, allocations: 0 / 0.8464 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=108): time 0.003395/0.7326, allocations: 1.464 MB / 0.8479 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.765e-05/0.7327, allocations: 113.6 kB / 0.848 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.7342, allocations: 1.298 MB / 0.8492 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/0.7343, allocations: 46.11 kB / 0.8493 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005411/0.7348, allocations: 0.6344 MB / 0.8499 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.7352, allocations: 384.3 kB / 0.8503 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004106/0.7356, allocations: 198.8 kB / 0.8505 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.7357, allocations: 344.7 kB / 0.8508 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/0.7363, allocations: 299 kB / 0.8511 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006982/0.737, allocations: 454.8 kB / 0.8515 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.7382, allocations: 0.7697 MB / 0.8523 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.7383, allocations: 0 / 0.8523 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002364/0.7406, allocations: 1.158 MB / 0.8534 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.7406, allocations: 8 kB / 0.8534 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.7407, allocations: 5.156 kB / 0.8534 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005392/0.7412, allocations: 164.3 kB / 0.8536 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007821/0.742, allocations: 207.7 kB / 0.8538 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006139/0.7481, allocations: 6.755 MB / 0.8604 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008824/0.749, allocations: 107.1 kB / 0.8605 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.7492, allocations: 47.98 kB / 0.8605 GB, free: 13.28 MB / 0.6231 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.0006402/0.7498, allocations: 313.6 kB / 0.8608 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004721/0.7503, allocations: 174.9 kB / 0.861 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003191/0.7535, allocations: 1.706 MB / 0.8626 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.7535, allocations: 15.94 kB / 0.8627 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.7535, allocations: 0 / 0.8627 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.7535, allocations: 7.984 kB / 0.8627 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004511/0.758, allocations: 2.366 MB / 0.865 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.758, allocations: 4.141 kB / 0.865 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005152/0.7585, allocations: 123.8 kB / 0.8651 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005275/0.7591, allocations: 176.4 kB / 0.8653 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.752e-05/0.7591, allocations: 27.98 kB / 0.8653 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005712/0.7648, allocations: 6.743 MB / 0.8719 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7649, allocations: 0 / 0.8719 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002751/0.7676, allocations: 1.592 MB / 0.8734 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007335/0.7683, allocations: 270.5 kB / 0.8737 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003508/0.7687, allocations: 43.83 kB / 0.8737 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007305/0.7694, allocations: 16 kB / 0.8737 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.7696, allocations: 75.75 kB / 0.8738 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.241e-05/0.7696, allocations: 39.97 kB / 0.8739 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001566/0.7712, allocations: 0.9931 MB / 0.8748 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7712, allocations: 4 kB / 0.8748 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001622/0.7728, allocations: 463.3 kB / 0.8753 GB, free: 13.36 MB / 0.6387 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.00473/0.7776, allocations: 2.798 MB / 0.878 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002292/0.7799, allocations: 1.289 MB / 0.8793 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7799, allocations: 0 / 0.8793 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.7812, allocations: 0.9225 MB / 0.8802 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/0.7839, allocations: 487.5 kB / 0.8806 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/0.8045, allocations: 11 MB / 0.8914 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.8058, allocations: 1.206 MB / 0.8925 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001161/0.8069, allocations: 308.1 kB / 0.8928 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009344/0.8079, allocations: 0.6125 MB / 0.8934 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.683e-06/0.8079, allocations: 0 / 0.8934 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/0.908, allocations: 40.42 MB / 0.9329 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.47/17.38, allocations: 4 kB / 0.9329 GB, free: 2.215 MB / 0.6856 GB " [Timeout remaining time 642] (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 --stepSize=0.001 --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: 21.188458218006417]