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.002027/0.002027, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003123/0.003123, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.655/1.655, allocations: 230.6 MB / 256 MB, free: 7.789 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.9506/0.9506, allocations: 100.9 MB / 413.3 MB, free: 2.863 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.002604/0.002604, allocations: 94.19 kB / 0.5641 GB, free: 35.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1826, allocations: 74.61 MB / 0.6369 GB, free: 6.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.8189/1.001, allocations: 150.2 MB / 0.7836 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01918/1.021, allocations: 10.53 MB / 0.7939 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005067/1.026, allocations: 99.78 kB / 0.794 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005488/1.031, allocations: 0.8242 MB / 0.7948 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01161/1.043, allocations: 1.739 MB / 0.7965 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007112/1.05, allocations: 1.357 MB / 0.7978 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008328/1.058, allocations: 2.585 MB / 0.8003 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/1.059, allocations: 236 kB / 0.8006 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006593/1.066, allocations: 1.494 MB / 0.802 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003637/1.07, allocations: 1.092 MB / 0.8031 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000458/1.07, allocations: 109.5 kB / 0.8032 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00811/1.078, allocations: 1.551 MB / 0.8047 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000794/1.079, allocations: 343.6 kB / 0.805 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001939/1.081, allocations: 0.637 MB / 0.8057 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009094/1.09, allocations: 2.488 MB / 0.8081 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/1.09, allocations: 1.969 kB / 0.8081 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.966e-06/1.09, allocations: 0.9062 kB / 0.8081 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.966e-05/1.09, allocations: 0 / 0.8081 GB, free: 1.293 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.007304/1.097, allocations: 2.101 MB / 0.8101 GB, free: 16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/1.098, allocations: 10.12 kB / 0.8102 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002654/1.098, allocations: 159.2 kB / 0.8103 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000916/1.099, allocations: 227.5 kB / 0.8105 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/1.102, allocations: 1.138 MB / 0.8116 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/1.102, allocations: 82.97 kB / 0.8117 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002349/1.103, allocations: 115.4 kB / 0.8118 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/1.105, allocations: 1.231 MB / 0.813 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/1.105, allocations: 7 kB / 0.813 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.12e-05/1.106, allocations: 40.17 kB / 0.8131 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/1.106, allocations: 28.22 kB / 0.8131 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/1.107, allocations: 1.088 MB / 0.8142 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00728/1.115, allocations: 3.898 MB / 0.818 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/1.116, allocations: 0.7023 MB / 0.8187 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006457/1.117, allocations: 391 kB / 0.819 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003928/1.121, allocations: 1.508 MB / 0.8205 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/1.121, allocations: 47.25 kB / 0.8205 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 4.789e-06/1.121, allocations: 3.875 kB / 0.8205 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.003804/1.125, allocations: 1.46 MB / 0.822 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/1.125, allocations: 115.2 kB / 0.8221 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/1.127, allocations: 1.301 MB / 0.8234 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.339e-05/1.127, allocations: 48.11 kB / 0.8234 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006028/1.127, allocations: 0.6288 MB / 0.824 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004636/1.128, allocations: 384.9 kB / 0.8244 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003613/1.128, allocations: 200.1 kB / 0.8246 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002319/1.128, allocations: 348 kB / 0.8249 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005743/1.129, allocations: 297.7 kB / 0.8252 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008441/1.13, allocations: 0.5052 MB / 0.8257 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/1.131, allocations: 0.7991 MB / 0.8265 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/1.131, allocations: 3.375 kB / 0.8265 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002729/1.134, allocations: 1.165 MB / 0.8276 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/1.134, allocations: 10.28 kB / 0.8276 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/1.134, allocations: 5.688 kB / 0.8276 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007098/1.135, allocations: 163.5 kB / 0.8278 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007878/1.136, allocations: 215.2 kB / 0.828 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007544/1.143, allocations: 6.707 MB / 0.8345 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/1.145, allocations: 111 kB / 0.8346 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003905/1.145, allocations: 48.08 kB / 0.8347 GB, free: 15.46 MB / 0.6075 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.001268/1.147, allocations: 320.3 kB / 0.835 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008371/1.147, allocations: 173.7 kB / 0.8351 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004108/1.152, allocations: 1.68 MB / 0.8368 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/1.152, allocations: 8.5 kB / 0.8368 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.913e-05/1.152, allocations: 7.766 kB / 0.8368 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/1.152, allocations: 7.969 kB / 0.8368 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005244/1.157, allocations: 2.077 MB / 0.8388 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/1.157, allocations: 2.719 kB / 0.8388 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/1.157, allocations: 125.4 kB / 0.839 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005703/1.158, allocations: 164.6 kB / 0.8391 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/1.158, allocations: 33.88 kB / 0.8392 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007367/1.165, allocations: 6.723 MB / 0.8457 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.165, allocations: 3.25 kB / 0.8457 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/1.169, allocations: 1.542 MB / 0.8472 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.17, allocations: 264.2 kB / 0.8475 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005396/1.17, allocations: 35.66 kB / 0.8475 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/1.172, allocations: 24 kB / 0.8475 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/1.172, allocations: 74.61 kB / 0.8476 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.624e-05/1.172, allocations: 33.05 kB / 0.8476 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002385/1.174, allocations: 0.9929 MB / 0.8486 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.174, allocations: 4.344 kB / 0.8486 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002127/1.176, allocations: 441.8 kB / 0.849 GB, free: 3.781 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.006698/1.183, allocations: 2.754 MB / 0.8517 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003078/1.186, allocations: 1.277 MB / 0.853 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.186, allocations: 1.312 kB / 0.853 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/1.188, allocations: 0.9071 MB / 0.8539 GB, free: 428 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/1.192, allocations: 494.2 kB / 0.8543 GB, free: 12 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02491/1.217, allocations: 10.97 MB / 0.865 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/1.218, allocations: 0.6297 MB / 0.8657 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001377/1.219, allocations: 298.9 kB / 0.8659 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/1.22, allocations: 0.6203 MB / 0.8665 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of SimCode: time 2.214e-06/1.22, allocations: 0 / 0.8665 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1406/1.361, allocations: 41.65 MB / 0.9072 GB, free: 9.996 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/16.68, allocations: 4 kB / 0.9072 GB, free: 9.992 MB / 0.67 GB " [Timeout remaining time 643] (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.048325208947062]