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.00183/0.00183, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002046/0.002046, allocations: 210.8 kB / 22.25 MB, free: 5.086 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 8.02 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.7952/0.7952, allocations: 94.56 MB / 407 MB, free: 9.195 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.00287/0.00287, allocations: 84.06 kB / 0.5554 GB, free: 38.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1233, allocations: 73.07 MB / 0.6268 GB, free: 15.99 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.5049/0.6282, allocations: 141.1 MB / 0.7646 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003268/0.6315, allocations: 3.381 MB / 0.7679 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004187/0.6319, allocations: 29.34 kB / 0.7679 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005456/0.6325, allocations: 135.8 kB / 0.768 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005583/0.633, allocations: 207.8 kB / 0.7682 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.6336, allocations: 206.4 kB / 0.7684 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004625/0.634, allocations: 396.8 kB / 0.7688 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.6342, allocations: 38.66 kB / 0.7688 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006119/0.6348, allocations: 235.2 kB / 0.7691 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.635, allocations: 122.9 kB / 0.7692 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.635, allocations: 16.53 kB / 0.7692 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005125/0.6355, allocations: 267.6 kB / 0.7695 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.466e-05/0.6356, allocations: 37.42 kB / 0.7695 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.6357, allocations: 113.6 kB / 0.7696 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000579/0.6363, allocations: 335.3 kB / 0.7699 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6363, allocations: 3.25 kB / 0.7699 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6363, allocations: 0 / 0.7699 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.6363, allocations: 0 / 0.7699 GB, free: 2.301 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.0008673/0.6372, allocations: 0.5102 MB / 0.7704 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.6372, allocations: 7.875 kB / 0.7704 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.6373, allocations: 34.66 kB / 0.7705 GB, free: 17.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/0.6378, allocations: 308.8 kB / 0.7708 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.6378, allocations: 11.86 kB / 0.7708 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.6379, allocations: 14.27 kB / 0.7708 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.6381, allocations: 156 kB / 0.7709 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.6381, allocations: 0 / 0.7709 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.6381, allocations: 7.953 kB / 0.7709 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.6381, allocations: 3.984 kB / 0.7709 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.6382, allocations: 73 kB / 0.771 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.6391, allocations: 0.7001 MB / 0.7717 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.6392, allocations: 87.47 kB / 0.7718 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.6393, allocations: 32.89 kB / 0.7718 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.917e-05/0.6393, allocations: 12 kB / 0.7718 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.6394, allocations: 36.28 kB / 0.7719 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.6394, allocations: 0 / 0.7719 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0006301/0.64, allocations: 185 kB / 0.772 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.6401, allocations: 82.83 kB / 0.7721 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.6404, allocations: 331.2 kB / 0.7724 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.6404, allocations: 28.33 kB / 0.7725 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.6405, allocations: 165.9 kB / 0.7726 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.6405, allocations: 36.09 kB / 0.7726 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.6406, allocations: 26.81 kB / 0.7727 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.6407, allocations: 344.9 kB / 0.773 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.6408, allocations: 21.34 kB / 0.773 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.407e-05/0.6408, allocations: 44.34 kB / 0.7731 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.6409, allocations: 79.95 kB / 0.7731 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.641, allocations: 0.5625 kB / 0.7731 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003025/0.6413, allocations: 156.7 kB / 0.7733 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.6413, allocations: 9.406 kB / 0.7733 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6413, allocations: 1.156 kB / 0.7733 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/0.6415, allocations: 44.11 kB / 0.7733 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.6416, allocations: 8.969 kB / 0.7734 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.6438, allocations: 2.557 MB / 0.7759 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.6439, allocations: 19.03 kB / 0.7759 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.6439, allocations: 5.25 kB / 0.7759 GB, free: 13.66 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.0001524/0.6441, allocations: 130.3 kB / 0.776 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/0.6441, allocations: 34 kB / 0.776 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.6445, allocations: 163 kB / 0.7762 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.6445, allocations: 2.844 kB / 0.7762 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.6445, allocations: 1.125 kB / 0.7762 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6445, allocations: 3.438 kB / 0.7762 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006497/0.6451, allocations: 0.4949 MB / 0.7767 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6451, allocations: 5 kB / 0.7767 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.6452, allocations: 6.016 kB / 0.7767 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001504/0.6453, allocations: 43.39 kB / 0.7767 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.6453, allocations: 2.062 kB / 0.7767 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.6475, allocations: 2.569 MB / 0.7792 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6475, allocations: 3.984 kB / 0.7792 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.648, allocations: 336.6 kB / 0.7796 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/0.6481, allocations: 30.56 kB / 0.7796 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.6481, allocations: 9.203 kB / 0.7796 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.6482, allocations: 1.594 kB / 0.7796 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.6483, allocations: 13.55 kB / 0.7796 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.6483, allocations: 2.281 kB / 0.7796 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003724/0.6486, allocations: 241.3 kB / 0.7798 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6486, allocations: 0 / 0.7798 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004854/0.6491, allocations: 45.56 kB / 0.7799 GB, free: 10.23 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.000301/0.6494, allocations: 158.4 kB / 0.78 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00056/0.65, allocations: 286.5 kB / 0.7803 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.65, allocations: 0.5312 kB / 0.7803 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.6503, allocations: 265.5 kB / 0.7806 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.651, allocations: 66.08 kB / 0.7806 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.6522, allocations: 0.58 MB / 0.7812 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.6527, allocations: 0.7585 MB / 0.7819 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.6528, allocations: 35.89 kB / 0.782 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.6528, allocations: 24.73 kB / 0.782 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of SimCode: time 1.322e-06/0.6528, allocations: 1.203 kB / 0.782 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of Templates: time 0.009396/0.6622, allocations: 3.484 MB / 0.7854 GB, free: 8.234 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/jenkins/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: 6.31570398574695]