Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001804/0.001804, allocations: 110 kB / 19.7 MB, free: 2.25 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.002363/0.002363, allocations: 221.7 kB / 23.01 MB, free: 5.082 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7253/0.7253, allocations: 94.56 MB / 407.8 MB, free: 9.188 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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: translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") [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.002544/0.002544, allocations: 82.64 kB / 0.5562 GB, free: 38.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1203, allocations: 73.06 MB / 0.6275 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4343/0.5546, allocations: 141.1 MB / 0.7653 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003011/0.5576, allocations: 3.381 MB / 0.7686 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003636/0.558, allocations: 29.56 kB / 0.7687 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004895/0.5585, allocations: 131.8 kB / 0.7688 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005041/0.559, allocations: 209.6 kB / 0.769 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.5594, allocations: 208.2 kB / 0.7692 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.5598, allocations: 396.5 kB / 0.7696 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.5599, allocations: 36.66 kB / 0.7696 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.5604, allocations: 242.3 kB / 0.7698 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.5605, allocations: 124.7 kB / 0.7699 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.5606, allocations: 8.5 kB / 0.77 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004182/0.561, allocations: 268.9 kB / 0.7702 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.561, allocations: 32.08 kB / 0.7702 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.5611, allocations: 116.3 kB / 0.7703 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.5616, allocations: 341.1 kB / 0.7707 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5616, allocations: 0 / 0.7707 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5616, allocations: 0 / 0.7707 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.5616, allocations: 0 / 0.7707 GB, free: 2.266 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.0008322/0.5624, allocations: 0.5051 MB / 0.7712 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.5625, allocations: 11.16 kB / 0.7712 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.952e-05/0.5625, allocations: 39.06 kB / 0.7712 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.5631, allocations: 309.9 kB / 0.7715 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.5631, allocations: 9.797 kB / 0.7715 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.5631, allocations: 13.2 kB / 0.7715 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.5633, allocations: 152.5 kB / 0.7717 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.5633, allocations: 4 kB / 0.7717 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.5633, allocations: 3.125 kB / 0.7717 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5633, allocations: 3.406 kB / 0.7717 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.5634, allocations: 75.77 kB / 0.7718 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007277/0.5642, allocations: 0.7086 MB / 0.7725 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.923e-05/0.5643, allocations: 81.98 kB / 0.7725 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.126e-05/0.5643, allocations: 32.7 kB / 0.7726 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.125e-05/0.5644, allocations: 12.39 kB / 0.7726 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.5644, allocations: 37.19 kB / 0.7726 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.5644, allocations: 1.203 kB / 0.7726 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.000544/0.5649, allocations: 184.5 kB / 0.7728 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.565, allocations: 86.53 kB / 0.7729 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.5653, allocations: 325.1 kB / 0.7732 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.5653, allocations: 29.7 kB / 0.7732 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.5654, allocations: 172.2 kB / 0.7734 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.5654, allocations: 36.58 kB / 0.7734 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.5654, allocations: 20.94 kB / 0.7734 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5656, allocations: 347.2 kB / 0.7738 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.084e-05/0.5656, allocations: 16.5 kB / 0.7738 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.607e-05/0.5657, allocations: 50.34 kB / 0.7738 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.761e-05/0.5658, allocations: 76.73 kB / 0.7739 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5658, allocations: 0.5 kB / 0.7739 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002702/0.566, allocations: 153.3 kB / 0.774 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.566, allocations: 11.59 kB / 0.7741 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.566, allocations: 5.125 kB / 0.7741 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/0.5662, allocations: 40.83 kB / 0.7741 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.5663, allocations: 12.25 kB / 0.7741 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.5682, allocations: 2.552 MB / 0.7766 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.5683, allocations: 18.59 kB / 0.7766 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.5683, allocations: 4.469 kB / 0.7766 GB, free: 13.63 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.0001254/0.5684, allocations: 142.8 kB / 0.7768 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.5685, allocations: 34.53 kB / 0.7768 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.5688, allocations: 158.3 kB / 0.7769 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.5688, allocations: 1.094 kB / 0.7769 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5688, allocations: 1.125 kB / 0.7769 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5688, allocations: 1.094 kB / 0.7769 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.5694, allocations: 0.4961 MB / 0.7774 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5694, allocations: 5.031 kB / 0.7774 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.5694, allocations: 3.75 kB / 0.7774 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001442/0.5695, allocations: 52.98 kB / 0.7775 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.5695, allocations: 2.188 kB / 0.7775 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.5714, allocations: 2.562 MB / 0.78 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5714, allocations: 4.094 kB / 0.78 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.5718, allocations: 337.7 kB / 0.7803 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.5718, allocations: 27.81 kB / 0.7803 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.5719, allocations: 9.766 kB / 0.7804 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.572, allocations: 1.125 kB / 0.7804 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.572, allocations: 12.69 kB / 0.7804 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.572, allocations: 6.688 kB / 0.7804 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002944/0.5723, allocations: 244.5 kB / 0.7806 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5723, allocations: 0 / 0.7806 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004151/0.5727, allocations: 46.34 kB / 0.7807 GB, free: 10.19 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.0002442/0.573, allocations: 159.1 kB / 0.7808 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004339/0.5734, allocations: 284.5 kB / 0.7811 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5734, allocations: 0 / 0.7811 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.5736, allocations: 258 kB / 0.7813 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.5743, allocations: 59.7 kB / 0.7814 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.5753, allocations: 0.6142 MB / 0.782 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.5757, allocations: 0.7617 MB / 0.7827 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.5757, allocations: 20.09 kB / 0.7827 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.5757, allocations: 0 / 0.7827 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of Templates: time 0.009243/0.585, allocations: 5.992 MB / 0.7886 GB, free: 7.922 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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: 8.756046565948054]