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.001249/0.001249, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.001083/0.001083, allocations: 173.3 kB / 23.02 MB, free: 1.551 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 0.8782/0.8782, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6707/0.6707, allocations: 118.6 MB / 378.6 MB, free: 1.5 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.Topology.Tests.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|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="Time|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.814e-06/1.814e-06, allocations: 0 / 483.6 MB, free: 8.207 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.734e-05, allocations: 2.312 kB / 483.6 MB, free: 8.203 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.1796/0.1796, allocations: 155.3 MB / 0.6239 GB, free: 4.918 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.007005/0.1866, allocations: 4.325 MB / 0.6281 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.1877, allocations: 130.8 kB / 0.6283 GB, free: 468 kB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0009786/0.1887, allocations: 491.9 kB / 0.6287 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004993/0.1937, allocations: 2.62 MB / 0.6313 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.1959, allocations: 1.012 MB / 0.6323 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004905/0.2008, allocations: 4.581 MB / 0.6367 GB, free: 7.719 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009536/0.2017, allocations: 0.6419 MB / 0.6374 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003837/0.2056, allocations: 2.669 MB / 0.64 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.2075, allocations: 1.706 MB / 0.6416 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003819/0.2079, allocations: 244 kB / 0.6419 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.2112, allocations: 1.84 MB / 0.6437 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.2543/0.4655, allocations: 0.952 MB / 0.6446 GB, free: 19.52 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002516/0.468, allocations: 1.08 MB / 0.6457 GB, free: 19.52 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005866/0.4739, allocations: 3.673 MB / 0.6492 GB, free: 19.29 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4739, allocations: 0 / 0.6492 GB, free: 19.29 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4739, allocations: 2.078 kB / 0.6492 GB, free: 19.29 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.867e-05/0.474, allocations: 3.188 kB / 0.6492 GB, free: 19.29 MB / 0.5573 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.005848/0.4798, allocations: 3.861 MB / 0.653 GB, free: 17.65 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4798, allocations: 10.56 kB / 0.653 GB, free: 17.65 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.4809, allocations: 0.5939 MB / 0.6536 GB, free: 17.43 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.483, allocations: 1.851 MB / 0.6554 GB, free: 16.87 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/0.4831, allocations: 146.8 kB / 0.6556 GB, free: 16.86 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.4833, allocations: 204.7 kB / 0.6558 GB, free: 16.86 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.4854, allocations: 1.799 MB / 0.6575 GB, free: 16.55 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.4855, allocations: 0 / 0.6575 GB, free: 16.55 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.4856, allocations: 82.66 kB / 0.6576 GB, free: 16.55 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/0.4857, allocations: 187.2 kB / 0.6578 GB, free: 16.54 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.4874, allocations: 1.254 MB / 0.659 GB, free: 16.52 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007665/0.495, allocations: 7.472 MB / 0.6663 GB, free: 29.86 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.4965, allocations: 0.8514 MB / 0.6671 GB, free: 29.78 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008589/0.4973, allocations: 0.6145 MB / 0.6677 GB, free: 29.75 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.4976, allocations: 127.8 kB / 0.6678 GB, free: 29.75 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.4976, allocations: 58.23 kB / 0.6679 GB, free: 29.7 MB / 0.573 GB Notification: Performance of pre-optimization done (n=196): time 3.427e-06/0.4976, allocations: 0 / 0.6679 GB, free: 29.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=200): time 0.007569/0.5052, allocations: 4.946 MB / 0.6727 GB, free: 28.42 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.5053, allocations: 98.3 kB / 0.6728 GB, free: 28.32 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.5066, allocations: 1.45 MB / 0.6742 GB, free: 28.04 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.5067, allocations: 62.14 kB / 0.6743 GB, free: 28 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004376/0.5072, allocations: 1.116 MB / 0.6754 GB, free: 27.58 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/0.5075, allocations: 0.7235 MB / 0.6761 GB, free: 27.11 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003706/0.5078, allocations: 354.7 kB / 0.6764 GB, free: 27.08 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.508, allocations: 483.8 kB / 0.6769 GB, free: 26.61 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000625/0.5086, allocations: 425.1 kB / 0.6773 GB, free: 26.61 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007214/0.5093, allocations: 0.6434 MB / 0.6779 GB, free: 26.44 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.5108, allocations: 1.232 MB / 0.6791 GB, free: 26.26 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5108, allocations: 0.875 kB / 0.6791 GB, free: 26.26 MB / 0.573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002396/0.5132, allocations: 1.907 MB / 0.681 GB, free: 26.01 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5132, allocations: 7.375 kB / 0.681 GB, free: 26.01 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5132, allocations: 3.625 kB / 0.681 GB, free: 26.01 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.5143, allocations: 457.5 kB / 0.6814 GB, free: 25.98 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.515, allocations: 353.8 kB / 0.6818 GB, free: 25.98 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004196/0.5192, allocations: 5.868 MB / 0.6875 GB, free: 21.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006394/0.5198, allocations: 51.48 kB / 0.6876 GB, free: 21.96 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.52, allocations: 112.5 kB / 0.6877 GB, free: 21.96 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.000494/0.5204, allocations: 246.3 kB / 0.6879 GB, free: 21.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.5208, allocations: 300 kB / 0.6882 GB, free: 21.68 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003387/0.5241, allocations: 3.272 MB / 0.6914 GB, free: 21.22 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/0.5242, allocations: 18.09 kB / 0.6914 GB, free: 21.22 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.5242, allocations: 6.344 kB / 0.6914 GB, free: 21.22 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.5242, allocations: 16.03 kB / 0.6914 GB, free: 21.21 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004796/0.529, allocations: 4.2 MB / 0.6955 GB, free: 20.37 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.529, allocations: 3.938 kB / 0.6955 GB, free: 20.37 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.5295, allocations: 266.7 kB / 0.6958 GB, free: 20.37 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.5306, allocations: 498.7 kB / 0.6963 GB, free: 20.33 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.5307, allocations: 69.33 kB / 0.6963 GB, free: 20.33 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004004/0.5347, allocations: 5.875 MB / 0.7021 GB, free: 16.31 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5347, allocations: 5.656 kB / 0.7021 GB, free: 16.31 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/0.5377, allocations: 2.549 MB / 0.7045 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.5382, allocations: 434.4 kB / 0.705 GB, free: 15.55 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.5384, allocations: 41.8 kB / 0.705 GB, free: 15.55 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.5389, allocations: 46.7 kB / 0.705 GB, free: 15.55 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.5391, allocations: 161.7 kB / 0.7052 GB, free: 15.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.5392, allocations: 90.5 kB / 0.7053 GB, free: 15.55 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008876/0.5401, allocations: 0.9792 MB / 0.7062 GB, free: 15.36 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.5401, allocations: 0.9062 kB / 0.7062 GB, free: 15.36 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001826/0.5419, allocations: 0.8182 MB / 0.707 GB, free: 15.32 MB / 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.0006354/0.5425, allocations: 404.1 kB / 0.7074 GB, free: 15.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002127/0.5447, allocations: 1.93 MB / 0.7093 GB, free: 14.75 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5447, allocations: 2.906 kB / 0.7093 GB, free: 14.75 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.5459, allocations: 1.365 MB / 0.7106 GB, free: 14.31 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.5483, allocations: 1.088 MB / 0.7117 GB, free: 14.16 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.5537, allocations: 4.438 MB / 0.716 GB, free: 12.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.5541, allocations: 0.5332 MB / 0.7166 GB, free: 12.18 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001433/0.5555, allocations: 0.9908 MB / 0.7175 GB, free: 11.99 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004509/0.556, allocations: 238.6 kB / 0.7178 GB, free: 11.98 MB / 0.573 GB Notification: Performance of SimCode: time 7.21e-07/0.556, allocations: 0 / 0.7178 GB, free: 11.98 MB / 0.573 GB Notification: Performance of Templates: time 0.06093/0.6169, allocations: 56.12 MB / 0.7726 GB, free: 2.621 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 -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.454445270355791]