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.001385/0.001385, allocations: 93.06 kB / 19.65 MB, free: 276 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.001096/0.001096, allocations: 169 kB / 23.02 MB, free: 1.547 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.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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.6613/0.6613, allocations: 118.6 MB / 378.6 MB, free: 1.465 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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: 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_dev_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_dev_ThermofluidStream.Topology.Tests.TestJunctionNM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 483.6 MB, free: 8.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.448e-05, allocations: 2.312 kB / 483.6 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.1522/0.1523, allocations: 155.3 MB / 0.6239 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.008221/0.1605, allocations: 4.329 MB / 0.6281 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002436/0.1629, allocations: 130.8 kB / 0.6282 GB, free: 412 kB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.1643, allocations: 484 kB / 0.6287 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.007086/0.1714, allocations: 2.624 MB / 0.6313 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.1741, allocations: 1.012 MB / 0.6323 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005969/0.1801, allocations: 4.569 MB / 0.6367 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.1811, allocations: 0.6419 MB / 0.6373 GB, free: 6.996 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/0.1855, allocations: 2.673 MB / 0.64 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002506/0.188, allocations: 1.706 MB / 0.6416 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005942/0.1886, allocations: 244 kB / 0.6419 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007134/0.1958, allocations: 1.84 MB / 0.6437 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.3034/0.4991, allocations: 0.9536 MB / 0.6446 GB, free: 19.5 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.003298/0.5024, allocations: 1.081 MB / 0.6456 GB, free: 19.5 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.009436/0.5118, allocations: 3.676 MB / 0.6492 GB, free: 19.27 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.5119, allocations: 4.25 kB / 0.6492 GB, free: 19.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5119, allocations: 0 / 0.6492 GB, free: 19.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001447/0.512, allocations: 1.203 kB / 0.6492 GB, free: 19.27 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.007218/0.5192, allocations: 3.858 MB / 0.653 GB, free: 17.63 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.5193, allocations: 10.06 kB / 0.653 GB, free: 17.63 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.5207, allocations: 0.5941 MB / 0.6536 GB, free: 17.41 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/0.5238, allocations: 1.85 MB / 0.6554 GB, free: 16.84 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-05/0.5239, allocations: 145.9 kB / 0.6555 GB, free: 16.84 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/0.5241, allocations: 205.8 kB / 0.6557 GB, free: 16.83 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/0.5269, allocations: 1.797 MB / 0.6575 GB, free: 16.52 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/0.5269, allocations: 1.031 kB / 0.6575 GB, free: 16.52 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.527, allocations: 84.12 kB / 0.6576 GB, free: 16.52 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001948/0.5272, allocations: 179.8 kB / 0.6577 GB, free: 16.52 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.5294, allocations: 1.263 MB / 0.659 GB, free: 16.5 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/0.5407, allocations: 7.471 MB / 0.6663 GB, free: 29.83 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.5425, allocations: 0.8484 MB / 0.6671 GB, free: 29.76 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.5435, allocations: 0.6107 MB / 0.6677 GB, free: 29.73 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003554/0.5439, allocations: 134.3 kB / 0.6678 GB, free: 29.73 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.5439, allocations: 57.58 kB / 0.6679 GB, free: 29.68 MB / 0.573 GB Notification: Performance of pre-optimization done (n=196): time 5.941e-06/0.5439, allocations: 0 / 0.6679 GB, free: 29.68 MB / 0.573 GB Notification: Performance of matching and sorting (n=200): time 0.01048/0.5544, allocations: 4.95 MB / 0.6727 GB, free: 28.39 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.5544, allocations: 101.7 kB / 0.6728 GB, free: 28.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.5563, allocations: 1.458 MB / 0.6742 GB, free: 28.01 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.5565, allocations: 58.77 kB / 0.6743 GB, free: 27.98 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006321/0.5571, allocations: 1.122 MB / 0.6754 GB, free: 27.55 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004633/0.5576, allocations: 0.7136 MB / 0.6761 GB, free: 27.08 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004825/0.558, allocations: 358.9 kB / 0.6764 GB, free: 27.05 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5582, allocations: 481.6 kB / 0.6769 GB, free: 26.58 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008459/0.559, allocations: 425 kB / 0.6773 GB, free: 26.58 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009445/0.56, allocations: 0.6407 MB / 0.6779 GB, free: 26.41 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.5618, allocations: 1.237 MB / 0.6791 GB, free: 26.23 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.433e-06/0.5618, allocations: 0 / 0.6791 GB, free: 26.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003478/0.5653, allocations: 1.913 MB / 0.681 GB, free: 25.98 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.5653, allocations: 3.406 kB / 0.681 GB, free: 25.98 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.5654, allocations: 4.703 kB / 0.681 GB, free: 25.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.5668, allocations: 455.5 kB / 0.6814 GB, free: 25.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009711/0.5678, allocations: 350.8 kB / 0.6818 GB, free: 25.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005547/0.5733, allocations: 5.864 MB / 0.6875 GB, free: 21.94 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.575, allocations: 51.3 kB / 0.6875 GB, free: 21.94 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003284/0.5754, allocations: 118.9 kB / 0.6877 GB, free: 21.94 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.001012/0.5764, allocations: 243.9 kB / 0.6879 GB, free: 21.78 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000608/0.577, allocations: 299 kB / 0.6882 GB, free: 21.66 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004881/0.5819, allocations: 3.275 MB / 0.6914 GB, free: 21.19 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.391e-05/0.5819, allocations: 20.09 kB / 0.6914 GB, free: 21.19 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/0.5819, allocations: 8.625 kB / 0.6914 GB, free: 21.19 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.582, allocations: 12.8 kB / 0.6914 GB, free: 21.19 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008/0.59, allocations: 4.211 MB / 0.6955 GB, free: 20.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.59, allocations: 0 / 0.6955 GB, free: 20.34 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/0.5906, allocations: 269.2 kB / 0.6958 GB, free: 20.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001296/0.5919, allocations: 482 kB / 0.6962 GB, free: 20.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/0.592, allocations: 76.94 kB / 0.6963 GB, free: 20.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004886/0.5969, allocations: 5.873 MB / 0.702 GB, free: 16.29 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5969, allocations: 3.219 kB / 0.7021 GB, free: 16.29 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004024/0.6009, allocations: 2.552 MB / 0.7045 GB, free: 15.66 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.602, allocations: 431 kB / 0.705 GB, free: 15.53 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/0.6023, allocations: 43.16 kB / 0.705 GB, free: 15.53 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005977/0.6029, allocations: 52.83 kB / 0.705 GB, free: 15.52 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/0.6032, allocations: 156.8 kB / 0.7052 GB, free: 15.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.6033, allocations: 86.27 kB / 0.7053 GB, free: 15.52 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001047/0.6044, allocations: 0.9787 MB / 0.7062 GB, free: 15.33 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.1e-07/0.6044, allocations: 0.9062 kB / 0.7062 GB, free: 15.33 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002811/0.6072, allocations: 0.8209 MB / 0.707 GB, free: 15.3 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.0009929/0.6082, allocations: 405.2 kB / 0.7074 GB, free: 15.18 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002955/0.6111, allocations: 1.927 MB / 0.7093 GB, free: 14.72 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6111, allocations: 0.7188 kB / 0.7093 GB, free: 14.72 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001704/0.6128, allocations: 1.366 MB / 0.7106 GB, free: 14.29 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/0.6157, allocations: 1.097 MB / 0.7117 GB, free: 14.13 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006146/0.6218, allocations: 4.428 MB / 0.716 GB, free: 12.27 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.6223, allocations: 0.535 MB / 0.7166 GB, free: 12.15 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00189/0.6242, allocations: 0.9969 MB / 0.7175 GB, free: 11.96 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005198/0.6247, allocations: 236.1 kB / 0.7178 GB, free: 11.95 MB / 0.573 GB Notification: Performance of SimCode: time 1.994e-06/0.6247, allocations: 0 / 0.7178 GB, free: 11.95 MB / 0.573 GB Notification: Performance of Templates: time 0.0637/0.6884, allocations: 56.12 MB / 0.7726 GB, free: 2.559 MB / 0.6042 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.makefile [Timeout 660] (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 & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.418795281089842]