Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.0007717/0.0007717, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001854, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001116/0.001116, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001493/0.002609, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9641/0.9641, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0885/1.053, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6671/0.6671, allocations: 118.6 MB / 362.6 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07422/0.7413, allocations: 35.84 MB / 398.5 MB, free: 13.23 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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.Topology.Tests.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="junctionNM.splitterN.inlet.m_flow|junctionNM1.splitterN.inlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM") translateModel(ThermofluidStream.Topology.Tests.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="junctionNM.splitterN.inlet.m_flow|junctionNM1.splitterN.inlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 399.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.945e-05, allocations: 2.312 kB / 399.7 MB, free: 11.95 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.4379/0.4379, allocations: 154.5 MB / 0.5413 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00767/0.4456, allocations: 4.467 MB / 0.5456 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.4477, allocations: 130.8 kB / 0.5458 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.4489, allocations: 499.8 kB / 0.5462 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005552/0.4545, allocations: 2.566 MB / 0.5487 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.4567, allocations: 0.9747 MB / 0.5497 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004786/0.4615, allocations: 4.616 MB / 0.5542 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.4626, allocations: 0.665 MB / 0.5548 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005231/0.4678, allocations: 2.891 MB / 0.5577 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002835/0.4707, allocations: 1.644 MB / 0.5593 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.000635/0.4713, allocations: 247.9 kB / 0.5595 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004015/0.4753, allocations: 1.903 MB / 0.5614 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0009083/0.4762, allocations: 0.7946 MB / 0.5621 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.4779, allocations: 0.9162 MB / 0.563 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.006091/0.4839, allocations: 3.379 MB / 0.5663 GB, free: 40 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-05/0.484, allocations: 0 / 0.5663 GB, free: 40 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.673e-06/0.484, allocations: 0 / 0.5663 GB, free: 40 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.713e-05/0.4841, allocations: 0 / 0.5663 GB, free: 40 kB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.007129/0.4912, allocations: 4.449 MB / 0.5707 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4912, allocations: 8.031 kB / 0.5707 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.4925, allocations: 496 kB / 0.5712 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003104/0.4956, allocations: 1.578 MB / 0.5727 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.596e-05/0.4957, allocations: 147.8 kB / 0.5728 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/0.4959, allocations: 195.9 kB / 0.573 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.4982, allocations: 1.604 MB / 0.5746 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.4982, allocations: 3.938 kB / 0.5746 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.4983, allocations: 83.97 kB / 0.5747 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002005/0.4985, allocations: 187.9 kB / 0.5749 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.5, allocations: 0.9305 MB / 0.5758 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008383/0.5084, allocations: 5.441 MB / 0.5811 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.5095, allocations: 0.7533 MB / 0.5818 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006085/0.5101, allocations: 449.5 kB / 0.5822 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003821/0.5105, allocations: 162.4 kB / 0.5824 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.5105, allocations: 56.56 kB / 0.5825 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=196): time 5.931e-06/0.5105, allocations: 4 kB / 0.5825 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=200): time 0.006179/0.5167, allocations: 3.226 MB / 0.5856 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.5167, allocations: 95.11 kB / 0.5857 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.5182, allocations: 1.314 MB / 0.587 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.5183, allocations: 57.7 kB / 0.587 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/0.5187, allocations: 0.7407 MB / 0.5878 GB, free: 9.574 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004338/0.5192, allocations: 0.7085 MB / 0.5885 GB, free: 8.859 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004344/0.5196, allocations: 331.3 kB / 0.5888 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.046e-05/0.5197, allocations: 309.1 kB / 0.5891 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.5202, allocations: 278.7 kB / 0.5893 GB, free: 7.953 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.5207, allocations: 444.7 kB / 0.5898 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.522, allocations: 0.9431 MB / 0.5907 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.522, allocations: 0 / 0.5907 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002022/0.524, allocations: 1.263 MB / 0.5919 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.524, allocations: 4 kB / 0.5919 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.524, allocations: 4 kB / 0.5919 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.5252, allocations: 428.3 kB / 0.5923 GB, free: 4.793 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.5263, allocations: 440.7 kB / 0.5927 GB, free: 4.363 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004089/0.5304, allocations: 4.2 MB / 0.5968 GB, free: 15.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.5319, allocations: 39.88 kB / 0.5969 GB, free: 15.94 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/0.5321, allocations: 104.8 kB / 0.597 GB, free: 15.84 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (182): * Single equations (assignments): 170 * 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.0008947/0.533, allocations: 200.4 kB / 0.5972 GB, free: 15.64 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004356/0.5334, allocations: 195.8 kB / 0.5974 GB, free: 15.45 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/0.5363, allocations: 2.669 MB / 0.6 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.9e-05/0.5363, allocations: 20 kB / 0.6 GB, free: 12.71 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.5363, allocations: 8 kB / 0.6 GB, free: 12.71 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.5363, allocations: 11.95 kB / 0.6 GB, free: 12.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004221/0.5406, allocations: 3.009 MB / 0.6029 GB, free: 9.598 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.5406, allocations: 0 / 0.6029 GB, free: 9.598 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006291/0.5412, allocations: 331.6 kB / 0.6033 GB, free: 9.273 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005495/0.5417, allocations: 298.3 kB / 0.6035 GB, free: 8.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000912/0.5427, allocations: 468 kB / 0.604 GB, free: 8.52 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.341e-05/0.5427, allocations: 71.92 kB / 0.6041 GB, free: 8.449 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003458/0.5462, allocations: 4.227 MB / 0.6082 GB, free: 4.047 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5462, allocations: 7.938 kB / 0.6082 GB, free: 4.039 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.5483, allocations: 1.879 MB / 0.61 GB, free: 2.117 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/0.5486, allocations: 47.92 kB / 0.6101 GB, free: 2.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005379/0.5491, allocations: 32 kB / 0.6101 GB, free: 2.039 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.5493, allocations: 161.6 kB / 0.6103 GB, free: 1.883 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.5494, allocations: 71.94 kB / 0.6103 GB, free: 1.812 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006414/0.5501, allocations: 0.7598 MB / 0.6111 GB, free: 1.027 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.5501, allocations: 0 / 0.6111 GB, free: 1.027 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001975/0.552, allocations: 0.8159 MB / 0.6119 GB, free: 216 kB / 0.573 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 (146): * Single equations (assignments): 134 * 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.0009066/0.553, allocations: 393.4 kB / 0.6122 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002153/0.5551, allocations: 1.495 MB / 0.6137 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.385e-05/0.5552, allocations: 30.62 kB / 0.6137 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.5569, allocations: 1.092 MB / 0.6148 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.5595, allocations: 1.306 MB / 0.6161 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02654/0.586, allocations: 4.39 MB / 0.6204 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.5866, allocations: 0.5224 MB / 0.6209 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002627/0.5893, allocations: 0.8875 MB / 0.6217 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001487/0.5907, allocations: 0.7527 MB / 0.6225 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of SimCode: time 2.164e-06/0.5907, allocations: 3.938 kB / 0.6225 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of Templates: time 0.3099/0.9007, allocations: 58.89 MB / 0.68 GB, free: 91.53 MB / 0.6042 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunctionNM_ref.mat","",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.318135682493448]