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.001726/0.001726, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002205/0.002205, allocations: 218 kB / 23.04 MB, free: 5.074 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.429/1.429, allocations: 230.6 MB / 256.8 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.7607/0.7607, allocations: 100.3 MB / 413.5 MB, free: 3.66 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.003301/0.003301, allocations: 84.73 kB / 0.564 GB, free: 35.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1162, allocations: 74.46 MB / 0.6367 GB, free: 7.668 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4424/0.5586, allocations: 141.1 MB / 0.7745 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002826/0.5614, allocations: 3.381 MB / 0.7778 GB, free: 288 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.5617, allocations: 28.12 kB / 0.7779 GB, free: 272 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.5621, allocations: 136.6 kB / 0.778 GB, free: 220 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003836/0.5625, allocations: 206 kB / 0.7782 GB, free: 152 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.5629, allocations: 214.4 kB / 0.7784 GB, free: 116 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000334/0.5632, allocations: 392.2 kB / 0.7788 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.5633, allocations: 38.25 kB / 0.7788 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00044/0.5638, allocations: 235.7 kB / 0.779 GB, free: 8 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.5639, allocations: 128.2 kB / 0.7791 GB, free: 4 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.564, allocations: 10.38 kB / 0.7792 GB, free: 4 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004937/0.5645, allocations: 265.7 kB / 0.7794 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.5645, allocations: 36.12 kB / 0.7794 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.5646, allocations: 112.4 kB / 0.7796 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005256/0.5651, allocations: 342.1 kB / 0.7799 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5651, allocations: 0.7188 kB / 0.7799 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5652, allocations: 4 kB / 0.7799 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.5652, allocations: 2.578 kB / 0.7799 GB, free: 15.95 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007868/0.5659, allocations: 0.5031 MB / 0.7804 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.566, allocations: 9.875 kB / 0.7804 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.511e-05/0.566, allocations: 3.359 kB / 0.7804 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.566, allocations: 44.05 kB / 0.7804 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.5661, allocations: 37.73 kB / 0.7805 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005946/0.5667, allocations: 310.2 kB / 0.7808 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.5667, allocations: 8.578 kB / 0.7808 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.5668, allocations: 16.88 kB / 0.7808 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.567, allocations: 160.8 kB / 0.7809 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.567, allocations: 4.531 kB / 0.7809 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.567, allocations: 4.781 kB / 0.781 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.567, allocations: 3.344 kB / 0.781 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.5672, allocations: 75.36 kB / 0.781 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000861/0.568, allocations: 0.7146 MB / 0.7817 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.5682, allocations: 70.73 kB / 0.7818 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.254e-05/0.5682, allocations: 34.39 kB / 0.7818 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.069e-05/0.5683, allocations: 13.3 kB / 0.7818 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.5683, allocations: 40.03 kB / 0.7819 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.5683, allocations: 2.578 kB / 0.7819 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0006034/0.5689, allocations: 181.4 kB / 0.7821 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.569, allocations: 79.48 kB / 0.7821 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.5693, allocations: 338.6 kB / 0.7825 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.5693, allocations: 25.7 kB / 0.7825 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.239e-05/0.5694, allocations: 167.7 kB / 0.7826 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.5695, allocations: 33.58 kB / 0.7827 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.5695, allocations: 21.3 kB / 0.7827 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5696, allocations: 342.9 kB / 0.783 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.799e-05/0.5697, allocations: 17.03 kB / 0.783 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.812e-05/0.5697, allocations: 55.02 kB / 0.7831 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.704e-05/0.5698, allocations: 73.83 kB / 0.7832 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5698, allocations: 3.938 kB / 0.7832 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002607/0.5701, allocations: 156.8 kB / 0.7833 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.5701, allocations: 9.25 kB / 0.7833 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.5701, allocations: 1.219 kB / 0.7833 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/0.5703, allocations: 44.69 kB / 0.7834 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.854e-05/0.5704, allocations: 8.812 kB / 0.7834 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.5723, allocations: 2.562 MB / 0.7859 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.042e-05/0.5724, allocations: 11.23 kB / 0.7859 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.5724, allocations: 2.906 kB / 0.7859 GB, free: 11.21 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.000123/0.5725, allocations: 138.6 kB / 0.786 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.433e-05/0.5726, allocations: 34.25 kB / 0.786 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.5729, allocations: 153.9 kB / 0.7862 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5729, allocations: 1.094 kB / 0.7862 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.5729, allocations: 1.156 kB / 0.7862 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5729, allocations: 6.578 kB / 0.7862 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005391/0.5734, allocations: 0.5052 MB / 0.7867 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5734, allocations: 1.062 kB / 0.7867 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.877e-05/0.5735, allocations: 9.844 kB / 0.7867 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001224/0.5736, allocations: 43.97 kB / 0.7867 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.5736, allocations: 4.188 kB / 0.7868 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.5754, allocations: 2.562 MB / 0.7893 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5754, allocations: 1 kB / 0.7893 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.5758, allocations: 343.2 kB / 0.7896 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.5758, allocations: 30.38 kB / 0.7896 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.5759, allocations: 5.562 kB / 0.7896 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.576, allocations: 1.062 kB / 0.7896 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.576, allocations: 16.3 kB / 0.7896 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.576, allocations: 6.969 kB / 0.7896 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002722/0.5763, allocations: 240.3 kB / 0.7899 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5763, allocations: 0 / 0.7899 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004026/0.5767, allocations: 48.91 kB / 0.7899 GB, free: 7.727 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.0007591/0.5775, allocations: 0.9316 MB / 0.7908 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.5779, allocations: 287.5 kB / 0.7911 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5779, allocations: 0 / 0.7911 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.5782, allocations: 253.1 kB / 0.7913 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.5788, allocations: 65.42 kB / 0.7914 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.5818, allocations: 2.683 MB / 0.794 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.5822, allocations: 0.759 MB / 0.7948 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.142e-05/0.5823, allocations: 33.19 kB / 0.7948 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.093e-05/0.5824, allocations: 90.58 kB / 0.7949 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.5824, allocations: 0 / 0.7949 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/0.6155, allocations: 7.014 MB / 0.8017 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.44, allocations: 13.52 kB / 0.8017 GB, free: 3.176 MB / 0.5919 GB " [Timeout remaining time 647] (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.93889498792123]