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.001942/0.001942, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002415/0.002415, allocations: 220.9 kB / 22.26 MB, free: 5.125 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.977 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.8022/0.8022, allocations: 100.3 MB / 412.7 MB, free: 3.648 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.003892/0.003892, allocations: 84.48 kB / 0.5638 GB, free: 35.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1457, allocations: 74.46 MB / 0.6365 GB, free: 7.141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4867/0.6324, allocations: 141.1 MB / 0.7743 GB, free: 484 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003443/0.6359, allocations: 3.378 MB / 0.7776 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003988/0.6363, allocations: 32.03 kB / 0.7776 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000528/0.6368, allocations: 132.7 kB / 0.7777 GB, free: 156 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004754/0.6373, allocations: 210.2 kB / 0.7779 GB, free: 88 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.6377, allocations: 206.2 kB / 0.7781 GB, free: 52 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004758/0.6382, allocations: 401.1 kB / 0.7785 GB, free: 0 / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.6384, allocations: 38.16 kB / 0.7786 GB, free: 16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005868/0.639, allocations: 236 kB / 0.7788 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.6392, allocations: 128.3 kB / 0.7789 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.6392, allocations: 10.53 kB / 0.7789 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005209/0.6397, allocations: 275.1 kB / 0.7792 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.6398, allocations: 34 kB / 0.7792 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.6399, allocations: 109.9 kB / 0.7793 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006395/0.6406, allocations: 340.4 kB / 0.7796 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6406, allocations: 0.5 kB / 0.7796 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6406, allocations: 4 kB / 0.7796 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.6406, allocations: 0.5938 kB / 0.7796 GB, free: 15.91 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.0009478/0.6415, allocations: 0.5029 MB / 0.7801 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.6416, allocations: 11.91 kB / 0.7801 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.467e-05/0.6416, allocations: 35.77 kB / 0.7802 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007189/0.6424, allocations: 309.5 kB / 0.7805 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.6424, allocations: 8.859 kB / 0.7805 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.6424, allocations: 19.52 kB / 0.7805 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.6427, allocations: 153.4 kB / 0.7806 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.6427, allocations: 4.438 kB / 0.7807 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.6428, allocations: 5.672 kB / 0.7807 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.6428, allocations: 7.094 kB / 0.7807 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.6429, allocations: 71.03 kB / 0.7807 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.6439, allocations: 0.6996 MB / 0.7814 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.6441, allocations: 79.7 kB / 0.7815 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.387e-05/0.6442, allocations: 33.56 kB / 0.7815 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.276e-05/0.6443, allocations: 14.48 kB / 0.7815 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.6443, allocations: 31.66 kB / 0.7816 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.6443, allocations: 0.5 kB / 0.7816 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0007036/0.645, allocations: 191.6 kB / 0.7817 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.6451, allocations: 78.3 kB / 0.7818 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.6454, allocations: 333.9 kB / 0.7821 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.6455, allocations: 25.7 kB / 0.7822 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.6456, allocations: 173.9 kB / 0.7823 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.6456, allocations: 32.98 kB / 0.7824 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.6457, allocations: 24.42 kB / 0.7824 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.6458, allocations: 345.3 kB / 0.7827 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.6459, allocations: 20.86 kB / 0.7827 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.995e-05/0.6459, allocations: 46.44 kB / 0.7828 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.6461, allocations: 76.25 kB / 0.7829 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6461, allocations: 0 / 0.7829 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002798/0.6463, allocations: 156.4 kB / 0.783 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.6464, allocations: 13.16 kB / 0.783 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6464, allocations: 1.281 kB / 0.783 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/0.6466, allocations: 46.27 kB / 0.7831 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.6467, allocations: 11.39 kB / 0.7831 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.6489, allocations: 2.555 MB / 0.7856 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.6491, allocations: 15.59 kB / 0.7856 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.6491, allocations: 3.656 kB / 0.7856 GB, free: 11.2 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.000147/0.6492, allocations: 140.3 kB / 0.7857 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.6493, allocations: 34.16 kB / 0.7858 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.6496, allocations: 153.2 kB / 0.7859 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.6496, allocations: 1.062 kB / 0.7859 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.6496, allocations: 2.25 kB / 0.7859 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6496, allocations: 2.984 kB / 0.7859 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005952/0.6502, allocations: 0.5016 MB / 0.7864 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.6502, allocations: 5.25 kB / 0.7864 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.6502, allocations: 7.438 kB / 0.7864 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.6504, allocations: 43.72 kB / 0.7864 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.6504, allocations: 2.062 kB / 0.7864 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.6525, allocations: 2.569 MB / 0.789 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6525, allocations: 2.453 kB / 0.789 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.6529, allocations: 342.1 kB / 0.7893 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.653, allocations: 36.84 kB / 0.7893 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.653, allocations: 4.703 kB / 0.7893 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.6531, allocations: 1.219 kB / 0.7893 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.6532, allocations: 15.8 kB / 0.7893 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.6532, allocations: 2.188 kB / 0.7893 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003037/0.6535, allocations: 243.2 kB / 0.7896 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6535, allocations: 4.562 kB / 0.7896 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004371/0.6539, allocations: 42 kB / 0.7896 GB, free: 7.723 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.0002868/0.6542, allocations: 158 kB / 0.7898 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005065/0.6547, allocations: 282.7 kB / 0.79 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.6547, allocations: 8.406 kB / 0.79 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.655, allocations: 253 kB / 0.7903 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.6557, allocations: 65.2 kB / 0.7904 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.6569, allocations: 0.5818 MB / 0.7909 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.6574, allocations: 0.7598 MB / 0.7917 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.6575, allocations: 34.2 kB / 0.7917 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.6576, allocations: 22.06 kB / 0.7917 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of SimCode: time 6.12e-07/0.6576, allocations: 0 / 0.7917 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of Templates: time 0.009027/0.6666, allocations: 3.499 MB / 0.7951 GB, free: 5.703 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/jenkins/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: 6.2441019169054925]