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.001603/0.001603, 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.001869/0.001869, allocations: 217.3 kB / 22.99 MB, free: 4.945 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.7228/0.7228, allocations: 94.63 MB / 407.8 MB, free: 8.836 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.002515/0.002515, allocations: 88.89 kB / 0.5562 GB, free: 38.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1105, allocations: 73.05 MB / 0.6275 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.152/0.2626, allocations: 121 MB / 0.7456 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003914/0.2665, allocations: 3.074 MB / 0.7486 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002712/0.2668, allocations: 27.75 kB / 0.7487 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.2673, allocations: 127 kB / 0.7488 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005392/0.2678, allocations: 198.8 kB / 0.749 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.2683, allocations: 199.3 kB / 0.7492 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005001/0.2688, allocations: 398.4 kB / 0.7496 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.2689, allocations: 36.91 kB / 0.7496 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005408/0.2695, allocations: 234.9 kB / 0.7498 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.2697, allocations: 115.3 kB / 0.7499 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.2697, allocations: 11.94 kB / 0.7499 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004244/0.2701, allocations: 227.6 kB / 0.7502 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.431e-05/0.2702, allocations: 35.8 kB / 0.7502 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.2703, allocations: 83.41 kB / 0.7503 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.2708, allocations: 326.7 kB / 0.7506 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2708, allocations: 3.938 kB / 0.7506 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2708, allocations: 0 / 0.7506 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2708, allocations: 3.938 kB / 0.7506 GB, free: 1.129 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.000779/0.2716, allocations: 0.4969 MB / 0.7511 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2716, allocations: 12.03 kB / 0.7511 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.2717, allocations: 36.75 kB / 0.7511 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005917/0.2723, allocations: 309 kB / 0.7514 GB, free: 228 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.2723, allocations: 8.609 kB / 0.7514 GB, free: 220 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.2723, allocations: 12.38 kB / 0.7514 GB, free: 208 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.2726, allocations: 148.2 kB / 0.7516 GB, free: 44 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.2726, allocations: 4 kB / 0.7516 GB, free: 40 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.2726, allocations: 8 kB / 0.7516 GB, free: 32 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2726, allocations: 4 kB / 0.7516 GB, free: 28 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2445/0.5171, allocations: 72.03 kB / 0.7517 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00074/0.5178, allocations: 0.6329 MB / 0.7523 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.5179, allocations: 75.8 kB / 0.7523 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/0.518, allocations: 32 kB / 0.7524 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-05/0.5181, allocations: 11.94 kB / 0.7524 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.5181, allocations: 33.38 kB / 0.7524 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 2.605e-06/0.5181, allocations: 1.219 kB / 0.7524 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0006005/0.5187, allocations: 186.2 kB / 0.7526 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.5187, allocations: 79.42 kB / 0.7527 GB, free: 128 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.519, allocations: 281.5 kB / 0.7529 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.519, allocations: 26.55 kB / 0.753 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.586e-05/0.519, allocations: 175.1 kB / 0.7531 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.5191, allocations: 34.05 kB / 0.7532 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.5191, allocations: 21.16 kB / 0.7532 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.412e-05/0.5192, allocations: 342.2 kB / 0.7535 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.026e-05/0.5192, allocations: 20.97 kB / 0.7535 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.006e-05/0.5193, allocations: 46.97 kB / 0.7536 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.354e-05/0.5193, allocations: 78.3 kB / 0.7537 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5194, allocations: 0 / 0.7537 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000231/0.5196, allocations: 155.3 kB / 0.7538 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.5196, allocations: 6 kB / 0.7538 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5196, allocations: 1.062 kB / 0.7538 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.5198, allocations: 42.05 kB / 0.7538 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.899e-05/0.5198, allocations: 10.97 kB / 0.7539 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.5211, allocations: 2.516 MB / 0.7563 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.5211, allocations: 6.547 kB / 0.7563 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.5211, allocations: 7.094 kB / 0.7563 GB, free: 124.9 MB / 0.5762 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 8.989e-05/0.5212, allocations: 136.7 kB / 0.7565 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.5213, allocations: 29.06 kB / 0.7565 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.5215, allocations: 156.1 kB / 0.7566 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.5215, allocations: 1 kB / 0.7566 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5215, allocations: 4.531 kB / 0.7566 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5215, allocations: 2.109 kB / 0.7566 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.5219, allocations: 478.4 kB / 0.7571 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5219, allocations: 3.938 kB / 0.7571 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.722e-05/0.522, allocations: 5.188 kB / 0.7571 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/0.5221, allocations: 40.19 kB / 0.7571 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.5221, allocations: 3.203 kB / 0.7571 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.5232, allocations: 2.519 MB / 0.7596 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5232, allocations: 2.156 kB / 0.7596 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.5234, allocations: 332.5 kB / 0.7599 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.177e-05/0.5234, allocations: 24.98 kB / 0.76 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.5234, allocations: 11.11 kB / 0.76 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.5236, allocations: 5.25 kB / 0.76 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.5236, allocations: 7.594 kB / 0.76 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.5236, allocations: 7.625 kB / 0.76 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001689/0.5238, allocations: 203.9 kB / 0.7602 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.5238, allocations: 0 / 0.7602 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003693/0.5241, allocations: 57.31 kB / 0.7602 GB, free: 121.4 MB / 0.5762 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.0001738/0.5243, allocations: 155.2 kB / 0.7604 GB, free: 121.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.5246, allocations: 279.8 kB / 0.7606 GB, free: 121 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5246, allocations: 1.5 kB / 0.7606 GB, free: 121 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.5248, allocations: 257.5 kB / 0.7609 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.5252, allocations: 32.84 kB / 0.7609 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007988/0.526, allocations: 0.6137 MB / 0.7615 GB, free: 120.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.5262, allocations: 154.5 kB / 0.7617 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.5262, allocations: 20.25 kB / 0.7617 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.5262, allocations: 0 / 0.7617 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.007273/0.5335, allocations: 5.676 MB / 0.7672 GB, free: 118.9 MB / 0.5762 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.78281576000154]