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.001608/0.001608, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001765/0.001765, allocations: 214.1 kB / 22.99 MB, free: 4.941 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.7695/0.7695, allocations: 100.9 MB / 414.1 MB, free: 2.871 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: translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_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.002565/0.002565, allocations: 84.61 kB / 0.5653 GB, free: 35.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.145, allocations: 74.62 MB / 0.6382 GB, free: 6.125 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.5204/0.6653, allocations: 121 MB / 0.7563 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00321/0.6686, allocations: 3.068 MB / 0.7593 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.6689, allocations: 27.28 kB / 0.7593 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005268/0.6694, allocations: 123.7 kB / 0.7594 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000486/0.6699, allocations: 203.6 kB / 0.7596 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005568/0.6705, allocations: 198.4 kB / 0.7598 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004714/0.6709, allocations: 398.8 kB / 0.7602 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.6711, allocations: 47.66 kB / 0.7602 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005476/0.6716, allocations: 230.9 kB / 0.7605 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.6718, allocations: 120.8 kB / 0.7606 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.6718, allocations: 10.91 kB / 0.7606 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004567/0.6723, allocations: 219.7 kB / 0.7608 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.633e-05/0.6724, allocations: 37.69 kB / 0.7608 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.6725, allocations: 83.5 kB / 0.7609 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005064/0.673, allocations: 332.4 kB / 0.7612 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.673, allocations: 1.781 kB / 0.7612 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.294e-06/0.673, allocations: 1.5 kB / 0.7612 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.673, allocations: 1.25 kB / 0.7612 GB, free: 3.43 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.0008506/0.6738, allocations: 0.5096 MB / 0.7617 GB, free: 19.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.6739, allocations: 11.66 kB / 0.7617 GB, free: 19.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.6739, allocations: 32.38 kB / 0.7618 GB, free: 19.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/0.6745, allocations: 301.9 kB / 0.7621 GB, free: 18.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.6745, allocations: 9.641 kB / 0.7621 GB, free: 18.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.6746, allocations: 13.59 kB / 0.7621 GB, free: 18.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.6748, allocations: 156.8 kB / 0.7622 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.6748, allocations: 4.562 kB / 0.7622 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.6748, allocations: 5.094 kB / 0.7622 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.6748, allocations: 4.062 kB / 0.7622 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.675, allocations: 71.48 kB / 0.7623 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007728/0.6757, allocations: 0.6449 MB / 0.7629 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.6759, allocations: 73.72 kB / 0.763 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.6759, allocations: 34.03 kB / 0.763 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.941e-05/0.676, allocations: 17.11 kB / 0.7631 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.676, allocations: 39.67 kB / 0.7631 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.676, allocations: 1.969 kB / 0.7631 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.000591/0.6766, allocations: 179.6 kB / 0.7633 GB, free: 18.15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.6767, allocations: 83.11 kB / 0.7633 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.677, allocations: 276.5 kB / 0.7636 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.677, allocations: 27.25 kB / 0.7636 GB, free: 17.92 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.6771, allocations: 173.8 kB / 0.7638 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.6771, allocations: 33.27 kB / 0.7638 GB, free: 17.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.6772, allocations: 23.73 kB / 0.7639 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6773, allocations: 342.2 kB / 0.7642 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.6774, allocations: 20.08 kB / 0.7642 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-05/0.6774, allocations: 52.89 kB / 0.7643 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.652e-05/0.6775, allocations: 72.89 kB / 0.7643 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6775, allocations: 0 / 0.7643 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002455/0.6778, allocations: 153.7 kB / 0.7645 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.6778, allocations: 7.844 kB / 0.7645 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.6778, allocations: 2.703 kB / 0.7645 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/0.678, allocations: 46.61 kB / 0.7645 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-05/0.6781, allocations: 12.41 kB / 0.7645 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.6801, allocations: 2.511 MB / 0.767 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.6801, allocations: 7.141 kB / 0.767 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.6802, allocations: 3.594 kB / 0.767 GB, free: 14.95 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.0001362/0.6803, allocations: 137.2 kB / 0.7671 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.6804, allocations: 28.56 kB / 0.7672 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.6807, allocations: 152.4 kB / 0.7673 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.6807, allocations: 1.625 kB / 0.7673 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6807, allocations: 3.047 kB / 0.7673 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6807, allocations: 1.781 kB / 0.7673 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.6812, allocations: 472.4 kB / 0.7678 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6813, allocations: 2.234 kB / 0.7678 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/0.6813, allocations: 4.859 kB / 0.7678 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/0.6814, allocations: 41 kB / 0.7678 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.6814, allocations: 6.688 kB / 0.7678 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.6834, allocations: 2.527 MB / 0.7703 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6834, allocations: 2.344 kB / 0.7703 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.6837, allocations: 336.5 kB / 0.7706 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.6837, allocations: 23.39 kB / 0.7706 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.6837, allocations: 7.484 kB / 0.7706 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.6838, allocations: 5.25 kB / 0.7706 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.6839, allocations: 9.094 kB / 0.7706 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.6839, allocations: 3.5 kB / 0.7706 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000218/0.6841, allocations: 210.2 kB / 0.7708 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6841, allocations: 0 / 0.7708 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003883/0.6845, allocations: 55.55 kB / 0.7709 GB, free: 11.63 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.0002333/0.6847, allocations: 154 kB / 0.771 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004239/0.6851, allocations: 282.1 kB / 0.7713 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6851, allocations: 2.156 kB / 0.7713 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.6854, allocations: 257.3 kB / 0.7716 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.6858, allocations: 38.05 kB / 0.7716 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009607/0.6868, allocations: 0.6079 MB / 0.7722 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.687, allocations: 153.8 kB / 0.7723 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.687, allocations: 19.7 kB / 0.7724 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.687, allocations: 0.875 kB / 0.7724 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of Templates: time 0.008858/0.6959, allocations: 5.68 MB / 0.7779 GB, free: 10.32 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (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 & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1200] 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: 9.41250641271472]