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.001893/0.001893, 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.001761/0.001761, allocations: 215.6 kB / 22.25 MB, free: 5.254 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.781 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.8034/0.8034, allocations: 100.9 MB / 413.3 MB, free: 2.852 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink",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.002701/0.002701, allocations: 90.64 kB / 0.5641 GB, free: 35.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1306, allocations: 74.61 MB / 0.6369 GB, free: 6.48 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4903/0.6208, allocations: 121 MB / 0.7551 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003058/0.6239, allocations: 3.07 MB / 0.7581 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.6242, allocations: 31.31 kB / 0.7581 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004576/0.6246, allocations: 120.3 kB / 0.7582 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000457/0.6251, allocations: 203.2 kB / 0.7584 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.6255, allocations: 202.3 kB / 0.7586 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.6259, allocations: 391.9 kB / 0.759 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.626, allocations: 39.67 kB / 0.759 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004877/0.6265, allocations: 244.3 kB / 0.7592 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.6267, allocations: 116.4 kB / 0.7594 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.6267, allocations: 10.84 kB / 0.7594 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.6271, allocations: 216.6 kB / 0.7596 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.6272, allocations: 37.53 kB / 0.7596 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.344e-05/0.6273, allocations: 87.73 kB / 0.7597 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004298/0.6277, allocations: 328.3 kB / 0.76 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6277, allocations: 0.875 kB / 0.76 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6277, allocations: 3.344 kB / 0.76 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.6277, allocations: 0.8125 kB / 0.76 GB, free: 3.172 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.0007871/0.6285, allocations: 0.5072 MB / 0.7605 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6285, allocations: 12.14 kB / 0.7605 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.6286, allocations: 46.19 kB / 0.7606 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.6286, allocations: 32.69 kB / 0.7606 GB, free: 18.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/0.6292, allocations: 311.7 kB / 0.7609 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.6292, allocations: 9.828 kB / 0.7609 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.6293, allocations: 13.19 kB / 0.7609 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.6295, allocations: 153.9 kB / 0.7611 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.6295, allocations: 4.156 kB / 0.7611 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.6295, allocations: 7.047 kB / 0.7611 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.6295, allocations: 2.969 kB / 0.7611 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.6296, allocations: 72.66 kB / 0.7611 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000756/0.6304, allocations: 0.6806 MB / 0.7618 GB, free: 17.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.6305, allocations: 77.78 kB / 0.7619 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.6306, allocations: 37.05 kB / 0.7619 GB, free: 17.92 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.168e-05/0.6306, allocations: 10.39 kB / 0.7619 GB, free: 17.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.6307, allocations: 40.3 kB / 0.762 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.6307, allocations: 3.094 kB / 0.762 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0005763/0.6312, allocations: 178.5 kB / 0.7621 GB, free: 17.81 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.6314, allocations: 81 kB / 0.7622 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.6317, allocations: 340 kB / 0.7625 GB, free: 17.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.6317, allocations: 27.7 kB / 0.7626 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.6318, allocations: 169.3 kB / 0.7627 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.6319, allocations: 31.42 kB / 0.7628 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.6319, allocations: 24.42 kB / 0.7628 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.6321, allocations: 339.7 kB / 0.7631 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.184e-05/0.6321, allocations: 22.98 kB / 0.7631 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.911e-05/0.6322, allocations: 48.06 kB / 0.7632 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.212e-05/0.6323, allocations: 76.17 kB / 0.7632 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6323, allocations: 1.203 kB / 0.7632 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002606/0.6325, allocations: 164.3 kB / 0.7634 GB, free: 17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.6325, allocations: 11.36 kB / 0.7634 GB, free: 17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.6325, allocations: 0.875 kB / 0.7634 GB, free: 17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002111/0.6328, allocations: 39.58 kB / 0.7634 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.6328, allocations: 9.938 kB / 0.7635 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.6348, allocations: 2.554 MB / 0.7659 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.372e-05/0.6349, allocations: 11.23 kB / 0.766 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.6349, allocations: 4.375 kB / 0.766 GB, free: 14.55 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.0001421/0.635, allocations: 132.4 kB / 0.7661 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.6351, allocations: 39.44 kB / 0.7661 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.6354, allocations: 157.5 kB / 0.7663 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6354, allocations: 1.156 kB / 0.7663 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6354, allocations: 2.875 kB / 0.7663 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.6354, allocations: 1.906 kB / 0.7663 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005561/0.636, allocations: 0.4919 MB / 0.7668 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.636, allocations: 2.688 kB / 0.7668 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.779e-05/0.636, allocations: 4.797 kB / 0.7668 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/0.6361, allocations: 41.27 kB / 0.7668 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.6361, allocations: 7.547 kB / 0.7668 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.6379, allocations: 2.56 MB / 0.7693 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.6379, allocations: 2.719 kB / 0.7693 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.6383, allocations: 340.7 kB / 0.7696 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.6383, allocations: 28.58 kB / 0.7697 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.6383, allocations: 4.469 kB / 0.7697 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.6385, allocations: 4.312 kB / 0.7697 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.6385, allocations: 15.45 kB / 0.7697 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.6385, allocations: 3.297 kB / 0.7697 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002288/0.6387, allocations: 246.2 kB / 0.7699 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6387, allocations: 1.375 kB / 0.7699 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003642/0.6391, allocations: 52.5 kB / 0.77 GB, free: 11.13 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.0007518/0.6398, allocations: 0.9252 MB / 0.7709 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004125/0.6402, allocations: 282.6 kB / 0.7712 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6402, allocations: 1.375 kB / 0.7712 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.6405, allocations: 253.4 kB / 0.7714 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.6411, allocations: 71 kB / 0.7715 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.644, allocations: 2.686 MB / 0.7741 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.6441, allocations: 150.7 kB / 0.7742 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.127e-05/0.6442, allocations: 31.45 kB / 0.7743 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.465e-05/0.6443, allocations: 88.86 kB / 0.7743 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6443, allocations: 0 / 0.7743 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04153/0.6858, allocations: 7.675 MB / 0.7818 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.1, allocations: 1.469 kB / 0.7818 GB, free: 7.059 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.69981172401458]