Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.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.001826/0.001826, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002338/0.002338, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.789 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.7717/0.7717, allocations: 100.9 MB / 413.3 MB, free: 2.875 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: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunctionNM,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunctionNM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunctionNM,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunctionNM",fmuType="me",version="2.0",platforms={"static"}) [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.002513/0.002513, allocations: 97.38 kB / 0.5641 GB, free: 35.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1481, allocations: 74.62 MB / 0.6369 GB, free: 6.484 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.7398/0.8879, allocations: 319.4 MB / 0.9488 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.04619/0.9341, allocations: 34.99 MB / 0.983 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.9365, allocations: 107 kB / 0.9831 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005043/0.9415, allocations: 1.729 MB / 0.9848 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02479/0.9663, allocations: 8.705 MB / 0.9933 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01246/0.9788, allocations: 4.297 MB / 0.9975 GB, free: 8.449 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006337/0.9851, allocations: 4.031 MB / 1.001 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.9864, allocations: 0.6295 MB / 1.002 GB, free: 3.723 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006456/0.9928, allocations: 2.71 MB / 1.005 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003687/0.9965, allocations: 1.751 MB / 1.006 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000694/0.9972, allocations: 244 kB / 1.007 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02801/1.025, allocations: 13.62 MB / 1.02 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001532/1.027, allocations: 0.8722 MB / 1.021 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001932/1.029, allocations: 1.19 MB / 1.022 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.02638/1.055, allocations: 9.651 MB / 1.031 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/1.055, allocations: 0 / 1.031 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.234e-06/1.055, allocations: 0 / 1.031 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001124/1.055, allocations: 3.938 kB / 1.031 GB, free: 5.605 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 506 * Number of variables: 506 Notification: Performance of Generate backend data structure: time 0.01118/1.066, allocations: 4.588 MB / 1.036 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.066, allocations: 9.469 kB / 1.036 GB, free: 0.9492 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003595/1.067, allocations: 282.8 kB / 1.036 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/1.068, allocations: 370 kB / 1.036 GB, free: 308 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/1.071, allocations: 1.574 MB / 1.038 GB, free: 14.69 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/1.071, allocations: 139.7 kB / 1.038 GB, free: 14.55 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003183/1.072, allocations: 203.9 kB / 1.038 GB, free: 14.35 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/1.076, allocations: 3.124 MB / 1.041 GB, free: 11.2 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.851e-05/1.076, allocations: 0 / 1.041 GB, free: 11.2 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/1.076, allocations: 80.84 kB / 1.041 GB, free: 11.12 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002337/1.077, allocations: 187.8 kB / 1.042 GB, free: 10.94 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004723/1.081, allocations: 3.447 MB / 1.045 GB, free: 7.488 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/1.094, allocations: 7.02 MB / 1.052 GB, free: 392 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3066/1.4, allocations: 1.477 MB / 1.053 GB, free: 324.9 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002208/1.402, allocations: 1.271 MB / 1.055 GB, free: 324.9 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/1.404, allocations: 494.2 kB / 1.055 GB, free: 324.9 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/1.404, allocations: 61.33 kB / 1.055 GB, free: 324.9 MB / 0.795 GB Notification: Performance of pre-optimization done (n=196): time 4.809e-06/1.404, allocations: 0 / 1.055 GB, free: 324.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=200): time 0.0133/1.417, allocations: 7.807 MB / 1.063 GB, free: 321.6 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/1.417, allocations: 103 kB / 1.063 GB, free: 321.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/1.42, allocations: 1.458 MB / 1.064 GB, free: 321 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002243/1.42, allocations: 59.77 kB / 1.064 GB, free: 320.9 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006365/1.42, allocations: 0.9277 MB / 1.065 GB, free: 320.3 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005217/1.421, allocations: 0.7023 MB / 1.066 GB, free: 319.8 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005408/1.421, allocations: 343.6 kB / 1.066 GB, free: 319.7 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.743e-05/1.421, allocations: 310.7 kB / 1.066 GB, free: 319.4 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/1.423, allocations: 1.028 MB / 1.067 GB, free: 319 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/1.425, allocations: 1.151 MB / 1.069 GB, free: 318.5 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003373/1.428, allocations: 2.349 MB / 1.071 GB, free: 317.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/1.428, allocations: 1.094 kB / 1.071 GB, free: 317.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.004877/1.433, allocations: 3.056 MB / 1.074 GB, free: 316.2 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/1.433, allocations: 9.438 kB / 1.074 GB, free: 316.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.433, allocations: 0 / 1.074 GB, free: 316.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/1.435, allocations: 475.6 kB / 1.074 GB, free: 316.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.436, allocations: 325.9 kB / 1.075 GB, free: 316.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005906/1.442, allocations: 6.042 MB / 1.081 GB, free: 311.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/1.443, allocations: 47.41 kB / 1.081 GB, free: 311.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/1.443, allocations: 113.6 kB / 1.081 GB, free: 311.7 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (172): * Single equations (assignments): 160 * Array equations: 10 * 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 {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008983/1.444, allocations: 0.5233 MB / 1.081 GB, free: 311.4 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/1.445, allocations: 215.9 kB / 1.081 GB, free: 311.2 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005797/1.451, allocations: 4.556 MB / 1.086 GB, free: 309.5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.761e-05/1.451, allocations: 19.19 kB / 1.086 GB, free: 309.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/1.451, allocations: 6.594 kB / 1.086 GB, free: 309.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/1.451, allocations: 14.72 kB / 1.086 GB, free: 309.5 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008233/1.459, allocations: 5.728 MB / 1.092 GB, free: 305.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.459, allocations: 0 / 1.092 GB, free: 305.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009704/1.46, allocations: 291.3 kB / 1.092 GB, free: 305.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001239/1.461, allocations: 0.4887 MB / 1.092 GB, free: 304.8 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/1.461, allocations: 79.77 kB / 1.092 GB, free: 304.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005958/1.467, allocations: 6.058 MB / 1.098 GB, free: 298.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.467, allocations: 5.562 kB / 1.098 GB, free: 298.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006059/1.473, allocations: 4.739 MB / 1.103 GB, free: 293.7 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006631/1.474, allocations: 200.6 kB / 1.103 GB, free: 293.5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004698/1.474, allocations: 36 kB / 1.103 GB, free: 293.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/1.476, allocations: 55.42 kB / 1.103 GB, free: 293.4 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002802/1.476, allocations: 165.6 kB / 1.103 GB, free: 293.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/1.476, allocations: 103.9 kB / 1.103 GB, free: 293.2 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001353/1.477, allocations: 1.131 MB / 1.105 GB, free: 292 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/1.477, allocations: 0 / 1.105 GB, free: 292 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00399/1.481, allocations: 1.603 MB / 1.106 GB, free: 290.7 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (junctionNM1.junctionN.outlet.m_flow,flowResistance6.inlet.m_flow,flowResistance8.inlet.m_flow,flowResistance9.inlet.m_flow,junctionNM.junctionN.outlet.m_flow,flowResistance1.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance4.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 (150): * Single equations (assignments): 138 * Array equations: 10 * 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 {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01045/1.492, allocations: 7.195 MB / 1.113 GB, free: 284 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004352/1.496, allocations: 2.953 MB / 1.116 GB, free: 281 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.496, allocations: 3.938 kB / 1.116 GB, free: 281 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002568/1.499, allocations: 1.768 MB / 1.118 GB, free: 279.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003883/1.503, allocations: 0.8096 MB / 1.119 GB, free: 278.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02985/1.533, allocations: 20.01 MB / 1.138 GB, free: 258.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/1.534, allocations: 1.19 MB / 1.139 GB, free: 257.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002362/1.536, allocations: 1.282 MB / 1.14 GB, free: 256 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/1.537, allocations: 1.023 MB / 1.141 GB, free: 255 MB / 0.795 GB Notification: Performance of SimCode: time 1.083e-06/1.537, allocations: 0 / 1.141 GB, free: 255 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1572/1.695, allocations: 96.71 MB / 1.236 GB, free: 158.9 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.9/17.6, allocations: 11.98 kB / 1.236 GB, free: 158.9 MB / 0.795 GB " [Timeout remaining time 642] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunctionNM_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunctionNM.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunctionNM_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.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: 21.528417874127626]