Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.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.001675/0.001675, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002032/0.002032, allocations: 219 kB / 23.03 MB, free: 4.922 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.7724/0.7724, allocations: 100.3 MB / 413.5 MB, free: 3.406 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.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink",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.002338/0.002338, allocations: 80.44 kB / 0.564 GB, free: 35.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1247, allocations: 74.46 MB / 0.6367 GB, free: 7.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4689/0.5936, allocations: 120.9 MB / 0.7548 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003169/0.5968, allocations: 3.066 MB / 0.7578 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.5971, allocations: 30.72 kB / 0.7578 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.5976, allocations: 121.9 kB / 0.7579 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000464/0.5981, allocations: 203.8 kB / 0.7581 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.5985, allocations: 202.8 kB / 0.7583 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.599, allocations: 391.6 kB / 0.7587 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.5991, allocations: 40.42 kB / 0.7587 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.5995, allocations: 239.5 kB / 0.7589 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.5997, allocations: 125.1 kB / 0.7591 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.5998, allocations: 10.69 kB / 0.7591 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.6002, allocations: 218.1 kB / 0.7593 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.6002, allocations: 35.8 kB / 0.7593 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.574e-05/0.6003, allocations: 86.94 kB / 0.7594 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.6008, allocations: 336.1 kB / 0.7597 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6008, allocations: 2.172 kB / 0.7597 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6008, allocations: 0.875 kB / 0.7597 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.6008, allocations: 1.406 kB / 0.7597 GB, free: 3.242 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008586/0.6017, allocations: 0.5044 MB / 0.7602 GB, free: 18.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.6017, allocations: 10.56 kB / 0.7602 GB, free: 18.86 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.944e-05/0.6018, allocations: 4.266 kB / 0.7602 GB, free: 18.86 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.6018, allocations: 44.23 kB / 0.7603 GB, free: 18.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.6018, allocations: 34.55 kB / 0.7603 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/0.6024, allocations: 313.1 kB / 0.7606 GB, free: 18.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.6024, allocations: 10.42 kB / 0.7606 GB, free: 18.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.6025, allocations: 11.53 kB / 0.7606 GB, free: 18.63 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.6027, allocations: 158.5 kB / 0.7608 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6027, allocations: 0 / 0.7608 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.6028, allocations: 6.688 kB / 0.7608 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.6028, allocations: 3.562 kB / 0.7608 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.6029, allocations: 71.09 kB / 0.7608 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008241/0.6037, allocations: 0.6887 MB / 0.7615 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.6038, allocations: 74.95 kB / 0.7616 GB, free: 18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.6039, allocations: 35.31 kB / 0.7616 GB, free: 17.99 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.281e-05/0.604, allocations: 13.44 kB / 0.7616 GB, free: 17.99 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.604, allocations: 35.81 kB / 0.7617 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.604, allocations: 2.125 kB / 0.7617 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0006132/0.6046, allocations: 183 kB / 0.7618 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.6047, allocations: 78.98 kB / 0.7619 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.605, allocations: 339.4 kB / 0.7622 GB, free: 17.67 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.605, allocations: 26.67 kB / 0.7623 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.825e-05/0.6051, allocations: 169.6 kB / 0.7624 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.6051, allocations: 32.73 kB / 0.7625 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.6052, allocations: 22.58 kB / 0.7625 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6053, allocations: 343.7 kB / 0.7628 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-05/0.6054, allocations: 21.28 kB / 0.7628 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.853e-05/0.6054, allocations: 44.73 kB / 0.7629 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.6055, allocations: 78.81 kB / 0.7629 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6055, allocations: 0 / 0.7629 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002634/0.6058, allocations: 165.4 kB / 0.7631 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.6058, allocations: 7.938 kB / 0.7631 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6058, allocations: 1.031 kB / 0.7631 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.606, allocations: 44.11 kB / 0.7632 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.942e-05/0.6061, allocations: 10.25 kB / 0.7632 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.6081, allocations: 2.556 MB / 0.7657 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.681e-05/0.6082, allocations: 17.08 kB / 0.7657 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.6082, allocations: 2.906 kB / 0.7657 GB, free: 14.62 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.6083, allocations: 130.7 kB / 0.7658 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.6084, allocations: 39.17 kB / 0.7658 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.6087, allocations: 153.5 kB / 0.766 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.6087, allocations: 2.219 kB / 0.766 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.6087, allocations: 1.719 kB / 0.766 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6087, allocations: 1.891 kB / 0.766 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.6092, allocations: 0.4929 MB / 0.7665 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.6092, allocations: 2.344 kB / 0.7665 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.6093, allocations: 4.406 kB / 0.7665 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.6094, allocations: 42.58 kB / 0.7665 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.6094, allocations: 4.297 kB / 0.7665 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.6114, allocations: 2.562 MB / 0.769 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6114, allocations: 3.172 kB / 0.769 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.6117, allocations: 335.8 kB / 0.7694 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.6118, allocations: 34.22 kB / 0.7694 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.6118, allocations: 5.828 kB / 0.7694 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.6119, allocations: 5.312 kB / 0.7694 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.612, allocations: 12.7 kB / 0.7694 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.612, allocations: 3.188 kB / 0.7694 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003064/0.6123, allocations: 244 kB / 0.7696 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6123, allocations: 0.5625 kB / 0.7696 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004185/0.6127, allocations: 50.36 kB / 0.7697 GB, free: 11.21 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.inlet.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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007738/0.6135, allocations: 0.9221 MB / 0.7706 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004373/0.6139, allocations: 286.5 kB / 0.7709 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6139, allocations: 0 / 0.7709 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.6142, allocations: 253.7 kB / 0.7711 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.6148, allocations: 64.27 kB / 0.7712 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/0.6179, allocations: 2.691 MB / 0.7738 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.6181, allocations: 154.1 kB / 0.7739 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.6182, allocations: 34.02 kB / 0.774 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.6183, allocations: 87.77 kB / 0.7741 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.6183, allocations: 2.234 kB / 0.7741 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03433/0.6527, allocations: 7.316 MB / 0.7812 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.29, allocations: 12.02 kB / 0.7812 GB, free: 7.531 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.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: 15.833878427976742]