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.001003/0.001003, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.00102/0.00102, allocations: 173 kB / 23.49 MB, free: 1.059 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.9259/0.9259, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.6593/0.6593, allocations: 118.6 MB / 378.9 MB, free: 1.484 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.844e-06/1.844e-06, allocations: 0 / 483.6 MB, free: 8.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.205e-05, allocations: 2.312 kB / 483.6 MB, free: 8.301 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.5954/0.5954, allocations: 382.5 MB / 0.8458 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01836/0.6138, allocations: 18.34 MB / 0.8638 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00205/0.6158, allocations: 126.8 kB / 0.8639 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003385/0.6192, allocations: 1.802 MB / 0.8656 GB, free: 308 kB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01814/0.6374, allocations: 9.135 MB / 0.8746 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.008861/0.6462, allocations: 4.453 MB / 0.8789 GB, free: 2.652 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005758/0.652, allocations: 4.616 MB / 0.8834 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.6531, allocations: 0.6429 MB / 0.884 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008245/0.6614, allocations: 3.502 MB / 0.8875 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.6645, allocations: 1.69 MB / 0.8891 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007484/0.6652, allocations: 248 kB / 0.8894 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02205/0.6873, allocations: 13.74 MB / 0.9028 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00143/0.6887, allocations: 0.9579 MB / 0.9037 GB, free: 9.145 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002077/0.6908, allocations: 1.087 MB / 0.9048 GB, free: 8.055 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.3956/1.086, allocations: 10.02 MB / 0.9146 GB, free: 24.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.086, allocations: 0 / 0.9146 GB, free: 24.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.462e-06/1.086, allocations: 0.6562 kB / 0.9146 GB, free: 24.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001282/1.087, allocations: 0 / 0.9146 GB, free: 24.75 MB / 0.698 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.01073/1.097, allocations: 4.981 MB / 0.9194 GB, free: 22.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.097, allocations: 12.22 kB / 0.9194 GB, free: 22.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/1.099, allocations: 0.593 MB / 0.92 GB, free: 22.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/1.101, allocations: 1.846 MB / 0.9218 GB, free: 22.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/1.101, allocations: 141.3 kB / 0.9219 GB, free: 22.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/1.102, allocations: 206.2 kB / 0.9221 GB, free: 22.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/1.104, allocations: 1.797 MB / 0.9239 GB, free: 21.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/1.104, allocations: 1.812 kB / 0.9239 GB, free: 21.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/1.104, allocations: 85.22 kB / 0.924 GB, free: 21.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/1.104, allocations: 184.9 kB / 0.9242 GB, free: 21.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/1.107, allocations: 1.252 MB / 0.9254 GB, free: 21.83 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01076/1.117, allocations: 7.471 MB / 0.9327 GB, free: 19.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/1.119, allocations: 0.8438 MB / 0.9335 GB, free: 19.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/1.12, allocations: 0.6208 MB / 0.9341 GB, free: 19.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009762/1.121, allocations: 496.7 kB / 0.9346 GB, free: 19.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/1.121, allocations: 57.61 kB / 0.9346 GB, free: 19.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=196): time 5.841e-06/1.121, allocations: 0 / 0.9346 GB, free: 19.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=200): time 0.008445/1.13, allocations: 4.956 MB / 0.9395 GB, free: 17.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/1.13, allocations: 105.1 kB / 0.9396 GB, free: 17.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/1.131, allocations: 1.447 MB / 0.941 GB, free: 17.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/1.131, allocations: 59.58 kB / 0.941 GB, free: 17.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/1.132, allocations: 1.109 MB / 0.9421 GB, free: 16.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004173/1.132, allocations: 0.7203 MB / 0.9428 GB, free: 16.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004346/1.133, allocations: 362.2 kB / 0.9432 GB, free: 16.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.747e-05/1.133, allocations: 478.5 kB / 0.9436 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007088/1.133, allocations: 426.9 kB / 0.944 GB, free: 15.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008657/1.134, allocations: 0.6413 MB / 0.9447 GB, free: 15.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/1.136, allocations: 1.233 MB / 0.9459 GB, free: 15.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/1.136, allocations: 2.125 kB / 0.9459 GB, free: 15.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003017/1.139, allocations: 1.91 MB / 0.9477 GB, free: 15.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.139, allocations: 4.625 kB / 0.9477 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/1.139, allocations: 3.844 kB / 0.9477 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/1.14, allocations: 461.4 kB / 0.9482 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007777/1.141, allocations: 350.4 kB / 0.9485 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004585/1.146, allocations: 5.861 MB / 0.9542 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.147, allocations: 52.88 kB / 0.9543 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/1.147, allocations: 117 kB / 0.9544 GB, free: 11.3 MB / 0.698 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.0007745/1.148, allocations: 244 kB / 0.9546 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005351/1.148, allocations: 300.8 kB / 0.9549 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004355/1.153, allocations: 3.381 MB / 0.9582 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.099e-05/1.153, allocations: 19.25 kB / 0.9582 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/1.153, allocations: 8.375 kB / 0.9583 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/1.153, allocations: 9.891 kB / 0.9583 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/1.159, allocations: 4.142 MB / 0.9623 GB, free: 9.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/1.159, allocations: 3.938 kB / 0.9623 GB, free: 9.906 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/1.16, allocations: 289.2 kB / 0.9626 GB, free: 9.906 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/1.161, allocations: 496.8 kB / 0.9631 GB, free: 9.852 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/1.161, allocations: 74.81 kB / 0.9631 GB, free: 9.852 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004689/1.166, allocations: 5.878 MB / 0.9689 GB, free: 21.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.166, allocations: 6.781 kB / 0.9689 GB, free: 21.81 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004078/1.17, allocations: 2.682 MB / 0.9715 GB, free: 21.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008499/1.171, allocations: 463.2 kB / 0.9719 GB, free: 21.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/1.171, allocations: 45.84 kB / 0.972 GB, free: 21.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005893/1.171, allocations: 45.36 kB / 0.972 GB, free: 21.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/1.172, allocations: 173.3 kB / 0.9722 GB, free: 21.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/1.172, allocations: 103.3 kB / 0.9723 GB, free: 21.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001057/1.173, allocations: 0.9806 MB / 0.9732 GB, free: 20.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.3e-07/1.173, allocations: 0 / 0.9732 GB, free: 20.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004521/1.177, allocations: 1.662 MB / 0.9749 GB, free: 20.61 MB / 0.7136 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.003669/1.181, allocations: 2.023 MB / 0.9768 GB, free: 20.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003346/1.184, allocations: 1.962 MB / 0.9788 GB, free: 19.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.184, allocations: 0 / 0.9788 GB, free: 19.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/1.186, allocations: 1.42 MB / 0.9801 GB, free: 19.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00312/1.189, allocations: 1.095 MB / 0.9812 GB, free: 19.01 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006818/1.196, allocations: 4.46 MB / 0.9856 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/1.197, allocations: 0.5384 MB / 0.9861 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00246/1.199, allocations: 1.044 MB / 0.9871 GB, free: 16.69 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005363/1.2, allocations: 242 kB / 0.9873 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of SimCode: time 2.344e-06/1.2, allocations: 0 / 0.9873 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.08067/1.28, allocations: 74.67 MB / 1.06 GB, free: 2.406 MB / 0.7448 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: 6.54107633093372]