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.001541/0.001541, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.001762/0.001762, allocations: 162.5 kB / 22.46 MB, free: 5.375 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.392/1.392, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7259/0.7259, allocations: 80.2 MB / 339.4 MB, free: 10.87 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.4929 GB, free: 25.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.263e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1435/0.1435, allocations: 122.7 MB / 0.6127 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1455, allocations: 1.441 MB / 0.6141 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.1456, allocations: 31.69 kB / 0.6141 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.1461, allocations: 127 kB / 0.6143 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000477/0.1466, allocations: 222.6 kB / 0.6145 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.147, allocations: 199.1 kB / 0.6147 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004662/0.1475, allocations: 430 kB / 0.6151 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1476, allocations: 40.92 kB / 0.6151 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005801/0.1482, allocations: 298.8 kB / 0.6154 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.1484, allocations: 111.7 kB / 0.6155 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.1484, allocations: 12 kB / 0.6155 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.1488, allocations: 219.5 kB / 0.6157 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.1489, allocations: 39.78 kB / 0.6158 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.48e-05/0.149, allocations: 63.8 kB / 0.6158 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004774/0.1494, allocations: 326.9 kB / 0.6161 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1494, allocations: 0 / 0.6161 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.52e-07/0.1494, allocations: 0 / 0.6161 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.1494, allocations: 0 / 0.6161 GB, free: 0.9453 MB / 0.5137 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.0007603/0.1502, allocations: 0.5085 MB / 0.6166 GB, free: 412 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1502, allocations: 13.47 kB / 0.6166 GB, free: 400 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.1503, allocations: 28.75 kB / 0.6167 GB, free: 372 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006048/0.1509, allocations: 312.2 kB / 0.617 GB, free: 32 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.1509, allocations: 8.609 kB / 0.617 GB, free: 24 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.1509, allocations: 16.33 kB / 0.617 GB, free: 8 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.1512, allocations: 152.9 kB / 0.6171 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1512, allocations: 192 / 0.6171 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.1513, allocations: 8.125 kB / 0.6172 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1513, allocations: 4 kB / 0.6172 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.1514, allocations: 71.91 kB / 0.6172 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007761/0.1522, allocations: 0.6449 MB / 0.6179 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.1523, allocations: 73.22 kB / 0.6179 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.015e-05/0.1524, allocations: 33.72 kB / 0.618 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.759e-05/0.1524, allocations: 12.08 kB / 0.618 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.1525, allocations: 38.5 kB / 0.618 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.1525, allocations: 0 / 0.618 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0006224/0.1531, allocations: 183 kB / 0.6182 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1532, allocations: 81.11 kB / 0.6183 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.1535, allocations: 276.6 kB / 0.6185 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1535, allocations: 29.7 kB / 0.6185 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.1536, allocations: 168 kB / 0.6187 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.1536, allocations: 31.73 kB / 0.6187 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.1537, allocations: 25.7 kB / 0.6188 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1538, allocations: 346.8 kB / 0.6191 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.1539, allocations: 23.88 kB / 0.6191 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.154, allocations: 51.36 kB / 0.6192 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.1541, allocations: 71.36 kB / 0.6192 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1541, allocations: 0 / 0.6192 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002759/0.1543, allocations: 155.1 kB / 0.6194 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1544, allocations: 7.938 kB / 0.6194 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1544, allocations: 4.062 kB / 0.6194 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002057/0.1546, allocations: 37.7 kB / 0.6194 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.1546, allocations: 15.98 kB / 0.6194 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.1567, allocations: 2.51 MB / 0.6219 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.1568, allocations: 7.875 kB / 0.6219 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1568, allocations: 4 kB / 0.6219 GB, free: 10.57 MB / 0.5294 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.0001315/0.1569, allocations: 129.8 kB / 0.622 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-05/0.157, allocations: 31.8 kB / 0.6221 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.1573, allocations: 155 kB / 0.6222 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1573, allocations: 0 / 0.6222 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1573, allocations: 4 kB / 0.6222 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1573, allocations: 0 / 0.6222 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.1578, allocations: 472.7 kB / 0.6227 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1578, allocations: 0 / 0.6227 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/0.1578, allocations: 7.938 kB / 0.6227 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001301/0.158, allocations: 45.81 kB / 0.6227 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.158, allocations: 0 / 0.6227 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.16, allocations: 2.532 MB / 0.6252 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.16, allocations: 4 kB / 0.6252 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.1603, allocations: 330 kB / 0.6255 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.1603, allocations: 23.84 kB / 0.6255 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.1604, allocations: 11.98 kB / 0.6255 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1605, allocations: 3.938 kB / 0.6255 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.1605, allocations: 4 kB / 0.6255 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.1605, allocations: 7.984 kB / 0.6256 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002021/0.1607, allocations: 207.1 kB / 0.6258 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1607, allocations: 4.344 kB / 0.6258 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000382/0.1611, allocations: 51.89 kB / 0.6258 GB, free: 6.262 MB / 0.5294 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.0002241/0.1613, allocations: 159 kB / 0.626 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004394/0.1618, allocations: 281.2 kB / 0.6262 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1618, allocations: 4.125 kB / 0.6262 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002695/0.162, allocations: 249.3 kB / 0.6265 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.1626, allocations: 61.7 kB / 0.6265 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009242/0.1635, allocations: 0.5399 MB / 0.6271 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.1637, allocations: 155.5 kB / 0.6272 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.867e-05/0.1638, allocations: 18.3 kB / 0.6272 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.1638, allocations: 24.5 kB / 0.6272 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1638, allocations: 0 / 0.6272 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of Templates: time 0.008139/0.1719, allocations: 3.438 MB / 0.6306 GB, free: 1.309 MB / 0.5294 GB " [Timeout remaining time 660] 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: 5.137586276978254]