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.001557/0.001557, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001633/0.001633, allocations: 177 kB / 23.36 MB, free: 1.129 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.009/1.009, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.7421/0.7421, allocations: 118.6 MB / 378.9 MB, free: 1.32 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 2.094e-06/2.094e-06, allocations: 0 / 430.8 MB, free: 13.28 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.708e-05, allocations: 9.688 kB / 430.9 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.3465/0.3465, allocations: 154.1 MB / 0.5712 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006916/0.3534, allocations: 4.456 MB / 0.5756 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.355, allocations: 126.8 kB / 0.5757 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.3561, allocations: 499.8 kB / 0.5762 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004682/0.3607, allocations: 2.579 MB / 0.5787 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.3628, allocations: 0.9811 MB / 0.5797 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00423/0.367, allocations: 4.585 MB / 0.5841 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008922/0.3679, allocations: 0.6632 MB / 0.5848 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004011/0.3719, allocations: 2.645 MB / 0.5874 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/0.3741, allocations: 1.644 MB / 0.589 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0006743/0.3747, allocations: 244 kB / 0.5892 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003679/0.3784, allocations: 1.891 MB / 0.5911 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0008587/0.3793, allocations: 0.9618 MB / 0.592 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.3808, allocations: 1.08 MB / 0.5931 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005478/0.3863, allocations: 3.675 MB / 0.5966 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3863, allocations: 3.938 kB / 0.5967 GB, free: 7.035 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3863, allocations: 0 / 0.5967 GB, free: 7.035 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.467e-05/0.3864, allocations: 0 / 0.5967 GB, free: 7.035 MB / 0.5417 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.004816/0.3912, allocations: 3.637 MB / 0.6002 GB, free: 3.352 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3912, allocations: 12.03 kB / 0.6002 GB, free: 3.34 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009767/0.3922, allocations: 496 kB / 0.6007 GB, free: 2.855 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002194/0.3944, allocations: 1.583 MB / 0.6022 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.555e-05/0.3945, allocations: 143.8 kB / 0.6024 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.3947, allocations: 195.9 kB / 0.6026 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.3965, allocations: 1.604 MB / 0.6041 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.3965, allocations: 7.922 kB / 0.6041 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.3966, allocations: 83.97 kB / 0.6042 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.3968, allocations: 183.9 kB / 0.6044 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.3979, allocations: 0.9344 MB / 0.6053 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006584/0.4045, allocations: 5.419 MB / 0.6106 GB, free: 8.43 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009823/0.4055, allocations: 0.7711 MB / 0.6113 GB, free: 7.641 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.406, allocations: 449.5 kB / 0.6118 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00035/0.4063, allocations: 150.5 kB / 0.6119 GB, free: 7.051 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.4064, allocations: 56.56 kB / 0.612 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=196): time 4.248e-06/0.4064, allocations: 0 / 0.612 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of matching and sorting (n=200): time 0.005199/0.4116, allocations: 3.219 MB / 0.6151 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.4116, allocations: 103 kB / 0.6152 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000999/0.4126, allocations: 1.313 MB / 0.6165 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.831e-05/0.4127, allocations: 57.7 kB / 0.6165 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.413, allocations: 0.7368 MB / 0.6173 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/0.4134, allocations: 0.7085 MB / 0.618 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/0.4138, allocations: 331.4 kB / 0.6183 GB, free: 392 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.774e-05/0.4138, allocations: 309 kB / 0.6186 GB, free: 80 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.4142, allocations: 274.7 kB / 0.6188 GB, free: 15.81 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/0.4147, allocations: 443.9 kB / 0.6193 GB, free: 15.34 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.4157, allocations: 0.9431 MB / 0.6202 GB, free: 14.36 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.4157, allocations: 0.8125 kB / 0.6202 GB, free: 14.36 MB / 0.573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001623/0.4173, allocations: 1.259 MB / 0.6214 GB, free: 13.08 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4173, allocations: 8 kB / 0.6214 GB, free: 13.07 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4173, allocations: 4 kB / 0.6214 GB, free: 13.07 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009627/0.4183, allocations: 427.7 kB / 0.6218 GB, free: 12.64 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.4191, allocations: 379.4 kB / 0.6222 GB, free: 12.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003383/0.4225, allocations: 4.206 MB / 0.6263 GB, free: 7.898 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007201/0.4232, allocations: 47.92 kB / 0.6263 GB, free: 7.852 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/0.4233, allocations: 99.94 kB / 0.6264 GB, free: 7.754 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.0004883/0.4238, allocations: 208.2 kB / 0.6266 GB, free: 7.543 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/0.4241, allocations: 195.8 kB / 0.6268 GB, free: 7.352 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/0.4268, allocations: 2.656 MB / 0.6294 GB, free: 4.656 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/0.4269, allocations: 24 kB / 0.6294 GB, free: 4.633 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4269, allocations: 4 kB / 0.6294 GB, free: 4.629 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.4269, allocations: 11.97 kB / 0.6295 GB, free: 4.617 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003884/0.4308, allocations: 2.998 MB / 0.6324 GB, free: 1.523 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4308, allocations: 192 / 0.6324 GB, free: 1.523 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/0.4314, allocations: 291.6 kB / 0.6327 GB, free: 1.238 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000933/0.4323, allocations: 476 kB / 0.6331 GB, free: 0.7695 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.4324, allocations: 67.92 kB / 0.6332 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003253/0.4357, allocations: 4.211 MB / 0.6373 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4357, allocations: 7.938 kB / 0.6373 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.4379, allocations: 1.875 MB / 0.6391 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005797/0.4385, allocations: 302.3 kB / 0.6394 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/0.4387, allocations: 47.92 kB / 0.6395 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004912/0.4392, allocations: 35.98 kB / 0.6395 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.4395, allocations: 149.7 kB / 0.6396 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.4396, allocations: 71.95 kB / 0.6397 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006335/0.4402, allocations: 0.7715 MB / 0.6405 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4402, allocations: 4 kB / 0.6405 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001723/0.4419, allocations: 0.8159 MB / 0.6413 GB, free: 8.176 MB / 0.5886 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.0006952/0.4426, allocations: 374.3 kB / 0.6416 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002102/0.4447, allocations: 1.506 MB / 0.6431 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-05/0.4448, allocations: 20 kB / 0.6431 GB, free: 6.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.4461, allocations: 1.088 MB / 0.6442 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/0.4488, allocations: 1.088 MB / 0.6452 GB, free: 4.098 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006165/0.455, allocations: 4.254 MB / 0.6494 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.4555, allocations: 0.5146 MB / 0.6499 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001833/0.4573, allocations: 0.8897 MB / 0.6508 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/0.459, allocations: 0.7567 MB / 0.6515 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of SimCode: time 1.963e-06/0.459, allocations: 0 / 0.6515 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.2865/0.7455, allocations: 56.88 MB / 0.707 GB, free: 68.25 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 -s gbode -gbm=radauIIA3 -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.437729628290981]