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.001708/0.001708, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002161/0.002161, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.726/1.726, allocations: 230.6 MB / 256 MB, free: 7.992 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.964/0.964, allocations: 100.3 MB / 412.7 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="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: 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.00376/0.00376, allocations: 83.69 kB / 0.5633 GB, free: 35.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.205, allocations: 74.46 MB / 0.636 GB, free: 7.66 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.6847/0.8897, allocations: 173.6 MB / 0.8055 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01504/0.9047, allocations: 11.57 MB / 0.8168 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002339/0.907, allocations: 101.6 kB / 0.8169 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.9093, allocations: 0.8962 MB / 0.8178 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005392/0.9147, allocations: 1.778 MB / 0.8195 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004219/0.9189, allocations: 1.358 MB / 0.8209 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004111/0.923, allocations: 2.604 MB / 0.8234 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005024/0.9235, allocations: 245.7 kB / 0.8236 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003282/0.9268, allocations: 1.484 MB / 0.8251 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.9286, allocations: 1.161 MB / 0.8262 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.9287, allocations: 113.4 kB / 0.8263 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004605/0.9334, allocations: 1.892 MB / 0.8282 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.9337, allocations: 343.6 kB / 0.8285 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009364/0.9346, allocations: 0.8054 MB / 0.8293 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004774/0.9394, allocations: 2.517 MB / 0.8317 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9394, allocations: 4 kB / 0.8318 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9394, allocations: 2.094 kB / 0.8318 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.239e-05/0.9395, allocations: 3.984 kB / 0.8318 GB, free: 4.676 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.00411/0.9436, allocations: 2.094 MB / 0.8338 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.9436, allocations: 10.5 kB / 0.8338 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/0.9438, allocations: 161.9 kB / 0.834 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005552/0.9444, allocations: 211.9 kB / 0.8342 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.9466, allocations: 1.134 MB / 0.8353 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.025e-05/0.9466, allocations: 83.91 kB / 0.8354 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.9468, allocations: 122.7 kB / 0.8355 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.9489, allocations: 1.182 MB / 0.8366 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/0.9489, allocations: 6.938 kB / 0.8366 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.197e-05/0.949, allocations: 43.84 kB / 0.8367 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.949, allocations: 27.94 kB / 0.8367 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.9507, allocations: 1.107 MB / 0.8378 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0071/0.9578, allocations: 5.13 MB / 0.8428 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.9592, allocations: 0.6834 MB / 0.8435 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000583/0.9598, allocations: 407.4 kB / 0.8438 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003569/0.9634, allocations: 1.788 MB / 0.8456 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.9634, allocations: 48.08 kB / 0.8456 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=108): time 4.568e-06/0.9634, allocations: 7.984 kB / 0.8456 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=108): time 0.003627/0.967, allocations: 1.465 MB / 0.8471 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.9671, allocations: 117.7 kB / 0.8472 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/0.9688, allocations: 1.297 MB / 0.8485 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.9689, allocations: 46.45 kB / 0.8485 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006969/0.9696, allocations: 0.631 MB / 0.8491 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.9699, allocations: 383.3 kB / 0.8495 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.9702, allocations: 198.7 kB / 0.8497 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.9704, allocations: 349.8 kB / 0.85 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/0.971, allocations: 298.6 kB / 0.8503 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/0.9717, allocations: 446.2 kB / 0.8507 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.9731, allocations: 0.7758 MB / 0.8515 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.998e-06/0.9731, allocations: 4.562 kB / 0.8515 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002577/0.9757, allocations: 1.158 MB / 0.8526 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.9757, allocations: 4 kB / 0.8526 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.9757, allocations: 4 kB / 0.8526 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005461/0.9763, allocations: 164.2 kB / 0.8528 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008204/0.9771, allocations: 203.7 kB / 0.853 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006431/0.9835, allocations: 6.76 MB / 0.8596 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.9848, allocations: 107.1 kB / 0.8597 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.985, allocations: 47.98 kB / 0.8597 GB, free: 13.3 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.0007124/0.9857, allocations: 315.9 kB / 0.86 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/0.986, allocations: 170.9 kB / 0.8602 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/0.9894, allocations: 1.712 MB / 0.8619 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.9894, allocations: 12 kB / 0.8619 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.9894, allocations: 4 kB / 0.8619 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.9894, allocations: 3.984 kB / 0.8619 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00437/0.9938, allocations: 2.372 MB / 0.8642 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.9938, allocations: 3.984 kB / 0.8642 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/0.9943, allocations: 127.8 kB / 0.8643 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004886/0.9948, allocations: 168.5 kB / 0.8645 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-05/0.9949, allocations: 27.98 kB / 0.8645 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006288/1.001, allocations: 6.742 MB / 0.8711 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.001, allocations: 4 kB / 0.8711 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/1.004, allocations: 1.588 MB / 0.8726 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006157/1.005, allocations: 270.5 kB / 0.8729 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/1.005, allocations: 35.84 kB / 0.8729 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006487/1.006, allocations: 23.98 kB / 0.873 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/1.006, allocations: 79.75 kB / 0.873 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/1.006, allocations: 39.97 kB / 0.8731 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001519/1.007, allocations: 0.9931 MB / 0.874 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.1e-08/1.007, allocations: 0 / 0.874 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00167/1.009, allocations: 463.3 kB / 0.8745 GB, free: 13.38 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.004812/1.014, allocations: 2.786 MB / 0.8772 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002402/1.016, allocations: 1.297 MB / 0.8785 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.016, allocations: 0 / 0.8785 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/1.018, allocations: 0.9194 MB / 0.8794 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/1.02, allocations: 488.3 kB / 0.8798 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/1.039, allocations: 10.99 MB / 0.8906 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009256/1.04, allocations: 1.217 MB / 0.8918 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001078/1.041, allocations: 308.9 kB / 0.892 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008125/1.042, allocations: 0.6086 MB / 0.8926 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of SimCode: time 8.42e-07/1.042, allocations: 0 / 0.8926 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/1.15, allocations: 40.38 MB / 0.9321 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.1/18.25, allocations: 2.656 kB / 0.9321 GB, free: 2.27 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: 22.648243916919455]