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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.595/0.595, allocations: 94.59 MB / 397.3 MB, free: 0.4922 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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 83.86 kB / 0.5416 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4253, allocations: 71.84 MB / 0.6118 GB, free: 3.965 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.7951/1.22, allocations: 363.6 MB / 0.9669 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03579/1.256, allocations: 38.84 MB / 1.005 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/1.259, allocations: 73.59 kB / 1.005 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004979/1.264, allocations: 2.07 MB / 1.007 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02472/1.289, allocations: 8.832 MB / 1.016 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01227/1.301, allocations: 4.246 MB / 1.02 GB, free: 7.93 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006638/1.308, allocations: 4.007 MB / 1.024 GB, free: 4.895 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/1.309, allocations: 0.8215 MB / 1.024 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005971/1.315, allocations: 2.624 MB / 1.027 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002719/1.318, allocations: 1.864 MB / 1.029 GB, free: 120 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004664/1.318, allocations: 244 kB / 1.029 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03359/1.352, allocations: 17.11 MB / 1.046 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001823/1.353, allocations: 0.8608 MB / 1.047 GB, free: 76 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00364/1.357, allocations: 1.444 MB / 1.048 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.03199/1.389, allocations: 10.06 MB / 1.058 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.389, allocations: 0 / 1.058 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.093e-06/1.389, allocations: 4 kB / 1.058 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001679/1.389, allocations: 4 kB / 1.058 GB, free: 5.293 MB / 0.7325 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.01289/1.402, allocations: 4.66 MB / 1.062 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.402, allocations: 12.03 kB / 1.062 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006509/1.403, allocations: 287.7 kB / 1.063 GB, free: 328 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009542/1.404, allocations: 306.1 kB / 1.063 GB, free: 20 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004096/1.408, allocations: 1.681 MB / 1.065 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/1.408, allocations: 142.3 kB / 1.065 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004225/1.408, allocations: 201.3 kB / 1.065 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005817/1.414, allocations: 3.094 MB / 1.068 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/1.414, allocations: 3.938 kB / 1.068 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/1.415, allocations: 80.44 kB / 1.068 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002456/1.415, allocations: 179.9 kB / 1.068 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005412/1.42, allocations: 3.387 MB / 1.071 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01712/1.437, allocations: 12.45 MB / 1.084 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002686/1.44, allocations: 1.497 MB / 1.085 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001943/1.442, allocations: 1.285 MB / 1.086 GB, free: 6.844 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003228/1.445, allocations: 3.846 MB / 1.09 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/1.445, allocations: 52.56 kB / 1.09 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=196): time 4.137e-06/1.445, allocations: 0 / 1.09 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of matching and sorting (n=200): time 0.0155/1.461, allocations: 8.586 MB / 1.099 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/1.461, allocations: 99.11 kB / 1.099 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/1.463, allocations: 1.468 MB / 1.1 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/1.463, allocations: 58.72 kB / 1.1 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007519/1.464, allocations: 0.9202 MB / 1.101 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006292/1.464, allocations: 0.7076 MB / 1.102 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005948/1.465, allocations: 347 kB / 1.102 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.465, allocations: 301.1 kB / 1.102 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/1.467, allocations: 1.035 MB / 1.103 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/1.469, allocations: 1.159 MB / 1.104 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003858/1.473, allocations: 2.345 MB / 1.107 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.473, allocations: 0 / 1.107 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.005604/1.478, allocations: 3.066 MB / 1.11 GB, free: 13.77 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/1.478, allocations: 8 kB / 1.11 GB, free: 13.76 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.478, allocations: 0 / 1.11 GB, free: 13.76 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/1.48, allocations: 482.7 kB / 1.11 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/1.481, allocations: 339.5 kB / 1.111 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008591/1.489, allocations: 6.342 MB / 1.117 GB, free: 6.348 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/1.491, allocations: 40.05 kB / 1.117 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003113/1.491, allocations: 119.9 kB / 1.117 GB, free: 6.191 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.001066/1.492, allocations: 0.5277 MB / 1.117 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005759/1.493, allocations: 214.6 kB / 1.118 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008189/1.501, allocations: 4.647 MB / 1.122 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.673e-05/1.501, allocations: 20 kB / 1.122 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.028e-05/1.501, allocations: 8 kB / 1.122 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/1.501, allocations: 11.97 kB / 1.122 GB, free: 0.707 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/1.512, allocations: 6.278 MB / 1.128 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/1.512, allocations: 4 kB / 1.128 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.513, allocations: 295.6 kB / 1.129 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/1.514, allocations: 0.4966 MB / 1.129 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/1.515, allocations: 82.52 kB / 1.129 GB, free: 9.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00808/1.523, allocations: 6.348 MB / 1.135 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.523, allocations: 4 kB / 1.135 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007891/1.531, allocations: 4.797 MB / 1.14 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006662/1.531, allocations: 275.7 kB / 1.14 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004558/1.532, allocations: 55.06 kB / 1.14 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/1.533, allocations: 47.98 kB / 1.14 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/1.533, allocations: 169.6 kB / 1.141 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002576/1.533, allocations: 114.4 kB / 1.141 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001764/1.535, allocations: 1.12 MB / 1.142 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 7e-08/1.535, allocations: 0 / 1.142 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004938/1.54, allocations: 1.671 MB / 1.143 GB, free: 10.62 MB / 0.8262 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 (160): * Single equations (assignments): 148 * 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.01363/1.554, allocations: 7.348 MB / 1.151 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005463/1.559, allocations: 2.972 MB / 1.154 GB, free: 384 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/1.559, allocations: 0 / 1.154 GB, free: 384 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003343/1.562, allocations: 1.8 MB / 1.155 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00416/1.567, allocations: 0.8096 MB / 1.156 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03706/1.604, allocations: 20.09 MB / 1.176 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/1.606, allocations: 1.77 MB / 1.177 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002976/1.609, allocations: 1.292 MB / 1.179 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001616/1.61, allocations: 1.058 MB / 1.18 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of SimCode: time 9.12e-07/1.61, allocations: 0 / 1.18 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.446/2.056, allocations: 93.45 MB / 1.271 GB, free: 334.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.31/18.37, allocations: 14.48 kB / 1.271 GB, free: 334.7 MB / 0.8575 GB " [Timeout remaining time 641] (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_2/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.95380107499659]