Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.001099/0.001099, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001654/0.001654, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.046/1.046, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 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.6144/0.6144, allocations: 80.17 MB / 339.4 MB, free: 7.543 MB / 314.7 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: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 0.4924 GB, free: 6.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.145e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1359/0.1359, allocations: 127 MB / 0.6164 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00293/0.1389, allocations: 2.902 MB / 0.6192 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002723/0.1391, allocations: 39.62 kB / 0.6193 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006915/0.1398, allocations: 222.4 kB / 0.6195 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006192/0.1404, allocations: 413.2 kB / 0.6199 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.1415, allocations: 477.9 kB / 0.6203 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006354/0.1421, allocations: 0.7541 MB / 0.6211 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.1424, allocations: 93.58 kB / 0.6212 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009781/0.1434, allocations: 0.611 MB / 0.6218 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.1437, allocations: 275.2 kB / 0.622 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.1437, allocations: 28 kB / 0.6221 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007214/0.1444, allocations: 463 kB / 0.6225 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.513e-05/0.1445, allocations: 79.56 kB / 0.6226 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.1446, allocations: 135.6 kB / 0.6227 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006305/0.1452, allocations: 0.6852 MB / 0.6234 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1453, allocations: 4 kB / 0.6234 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1453, allocations: 0 / 0.6234 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.1453, allocations: 0 / 0.6234 GB, free: 1.824 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001194/0.1465, allocations: 0.7301 MB / 0.6241 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.1465, allocations: 9.469 kB / 0.6241 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.513e-05/0.1466, allocations: 58.73 kB / 0.6242 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.925e-05/0.1466, allocations: 60.59 kB / 0.6242 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005837/0.1472, allocations: 411.4 kB / 0.6246 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.1472, allocations: 21.03 kB / 0.6246 GB, free: 492 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.1473, allocations: 28.38 kB / 0.6247 GB, free: 464 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.1477, allocations: 330.4 kB / 0.625 GB, free: 100 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1477, allocations: 0 / 0.625 GB, free: 100 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.1478, allocations: 12 kB / 0.625 GB, free: 88 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1478, allocations: 8 kB / 0.625 GB, free: 80 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.148, allocations: 191.8 kB / 0.6252 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.1495, allocations: 1.416 MB / 0.6266 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.1498, allocations: 159.7 kB / 0.6267 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.889e-05/0.1499, allocations: 70.58 kB / 0.6268 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/0.1502, allocations: 75.89 kB / 0.6268 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.1502, allocations: 42.5 kB / 0.6269 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.1502, allocations: 0 / 0.6269 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0005231/0.1507, allocations: 281.9 kB / 0.6272 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.1508, allocations: 110.8 kB / 0.6273 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.1511, allocations: 450.1 kB / 0.6277 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.1512, allocations: 29.7 kB / 0.6277 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.1514, allocations: 256.2 kB / 0.628 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.1515, allocations: 55.48 kB / 0.628 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.1515, allocations: 41.7 kB / 0.6281 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.1517, allocations: 358.8 kB / 0.6284 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.1517, allocations: 55.97 kB / 0.6284 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.1519, allocations: 108.2 kB / 0.6286 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.1521, allocations: 185.8 kB / 0.6287 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1521, allocations: 0 / 0.6287 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003308/0.1524, allocations: 273.9 kB / 0.629 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1524, allocations: 4 kB / 0.629 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1524, allocations: 4 kB / 0.629 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/0.1525, allocations: 28.78 kB / 0.629 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.1527, allocations: 47.97 kB / 0.6291 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000782/0.1534, allocations: 1.282 MB / 0.6303 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.665e-05/0.1535, allocations: 31.77 kB / 0.6304 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.1536, allocations: 12 kB / 0.6304 GB, free: 10.22 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.1537, allocations: 149.8 kB / 0.6305 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.1538, allocations: 47.72 kB / 0.6306 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/0.1541, allocations: 266.5 kB / 0.6308 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1541, allocations: 0 / 0.6308 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1541, allocations: 4 kB / 0.6308 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.1541, allocations: 0 / 0.6308 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/0.1545, allocations: 296.5 kB / 0.6311 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1545, allocations: 0 / 0.6311 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/0.1546, allocations: 35.97 kB / 0.6311 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.836e-05/0.1546, allocations: 28.78 kB / 0.6312 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1547, allocations: 8 kB / 0.6312 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006356/0.1553, allocations: 1.275 MB / 0.6324 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1553, allocations: 3.984 kB / 0.6324 GB, free: 7.934 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004178/0.1557, allocations: 464.1 kB / 0.6329 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.1558, allocations: 47.7 kB / 0.6329 GB, free: 7.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.1558, allocations: 12.19 kB / 0.6329 GB, free: 7.398 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1559, allocations: 4 kB / 0.6329 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.156, allocations: 23.89 kB / 0.6329 GB, free: 7.371 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.156, allocations: 4 kB / 0.6329 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003234/0.1563, allocations: 314.9 kB / 0.6332 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.1563, allocations: 4 kB / 0.6332 GB, free: 7.059 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003057/0.1566, allocations: 103.8 kB / 0.6333 GB, free: 6.957 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0007816/0.1574, allocations: 1.09 MB / 0.6344 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003468/0.1578, allocations: 250.8 kB / 0.6346 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1578, allocations: 0 / 0.6346 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.158, allocations: 190.6 kB / 0.6348 GB, free: 5.383 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005994/0.1586, allocations: 171 kB / 0.635 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.1618, allocations: 3.496 MB / 0.6384 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.1619, allocations: 215.8 kB / 0.6386 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003575/0.1623, allocations: 52.91 kB / 0.6387 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.1624, allocations: 156.5 kB / 0.6388 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of SimCode: time 5.01e-07/0.1624, allocations: 4 kB / 0.6388 GB, free: 1.152 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3136/0.476, allocations: 12.64 MB / 0.6512 GB, free: 144.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.479/8.955, allocations: 2.406 kB / 0.6512 GB, free: 144.3 MB / 0.5417 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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: 11.796796969138086]