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.001396/0.001396, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.001684/0.001684, allocations: 169 kB / 23.28 MB, free: 1.215 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.9749/0.9749, allocations: 177.2 MB / 203.7 MB, free: 5.492 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.7807/0.7807, allocations: 118.6 MB / 378.9 MB, free: 1.387 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 2.484e-06/2.484e-06, allocations: 0 / 484.1 MB, free: 8.125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.958e-05, allocations: 2.312 kB / 484.1 MB, free: 8.121 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.1569/0.1569, allocations: 151.9 MB / 0.6211 GB, free: 8.016 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.007871/0.1648, allocations: 4.301 MB / 0.6253 GB, free: 3.703 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002313/0.1671, allocations: 126.8 kB / 0.6254 GB, free: 3.578 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.1686, allocations: 495.8 kB / 0.6259 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.006495/0.1751, allocations: 2.624 MB / 0.6284 GB, free: 460 kB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.1778, allocations: 1.005 MB / 0.6294 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005533/0.1833, allocations: 4.589 MB / 0.6339 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.1844, allocations: 0.6419 MB / 0.6345 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004808/0.1892, allocations: 2.661 MB / 0.6371 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00236/0.1916, allocations: 1.706 MB / 0.6388 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000562/0.1922, allocations: 248 kB / 0.639 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00344/0.1956, allocations: 1.844 MB / 0.6408 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007225/0.1963, allocations: 0.954 MB / 0.6418 GB, free: 2.723 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.1975, allocations: 1.08 MB / 0.6428 GB, free: 1.641 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.2875/0.485, allocations: 3.665 MB / 0.6464 GB, free: 23.45 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.485, allocations: 3.797 kB / 0.6464 GB, free: 23.45 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.445e-06/0.485, allocations: 0 / 0.6464 GB, free: 23.45 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001349/0.4851, allocations: 0.8125 kB / 0.6464 GB, free: 23.45 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.01012/0.4953, allocations: 3.849 MB / 0.6501 GB, free: 21.81 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.4953, allocations: 9.719 kB / 0.6502 GB, free: 21.81 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/0.497, allocations: 0.5984 MB / 0.6507 GB, free: 21.59 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003365/0.5004, allocations: 1.785 MB / 0.6525 GB, free: 21.02 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.073e-05/0.5005, allocations: 148.5 kB / 0.6526 GB, free: 21.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002682/0.5008, allocations: 202.8 kB / 0.6528 GB, free: 21.01 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.5033, allocations: 1.612 MB / 0.6544 GB, free: 20.7 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/0.5034, allocations: 6.469 kB / 0.6544 GB, free: 20.7 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.5035, allocations: 77.66 kB / 0.6545 GB, free: 20.7 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001955/0.5037, allocations: 184 kB / 0.6546 GB, free: 20.7 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.5053, allocations: 0.953 MB / 0.6556 GB, free: 20.67 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01078/0.5161, allocations: 7.038 MB / 0.6625 GB, free: 18.04 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.5175, allocations: 0.7416 MB / 0.6632 GB, free: 17.97 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/0.5183, allocations: 0.5107 MB / 0.6637 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003588/0.5186, allocations: 196.5 kB / 0.6639 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.5187, allocations: 60.14 kB / 0.6639 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=196): time 5.18e-06/0.5187, allocations: 0.9062 kB / 0.6639 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=200): time 0.008176/0.5268, allocations: 3.747 MB / 0.6676 GB, free: 17.14 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.5269, allocations: 102.2 kB / 0.6677 GB, free: 17.05 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.5287, allocations: 1.399 MB / 0.669 GB, free: 16.76 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.5289, allocations: 56.02 kB / 0.6691 GB, free: 16.73 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007028/0.5296, allocations: 1.131 MB / 0.6702 GB, free: 16.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/0.53, allocations: 0.7236 MB / 0.6709 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005004/0.5305, allocations: 361.1 kB / 0.6713 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.781e-05/0.5306, allocations: 486.3 kB / 0.6717 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006117/0.5312, allocations: 316.5 kB / 0.672 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007089/0.5319, allocations: 0.5492 MB / 0.6726 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.5333, allocations: 1.033 MB / 0.6736 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.5333, allocations: 1.969 kB / 0.6736 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002702/0.536, allocations: 1.683 MB / 0.6752 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.536, allocations: 9.469 kB / 0.6752 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.536, allocations: 3.469 kB / 0.6752 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.5371, allocations: 439.9 kB / 0.6756 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.5378, allocations: 344.6 kB / 0.676 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004605/0.5424, allocations: 5.706 MB / 0.6815 GB, free: 26.74 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.5439, allocations: 46.72 kB / 0.6816 GB, free: 26.73 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/0.5441, allocations: 104.3 kB / 0.6817 GB, free: 26.73 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.0008602/0.545, allocations: 244.2 kB / 0.6819 GB, free: 26.57 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003871/0.5453, allocations: 295.2 kB / 0.6822 GB, free: 26.45 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003277/0.5486, allocations: 3.129 MB / 0.6853 GB, free: 25.96 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/0.5486, allocations: 20.97 kB / 0.6853 GB, free: 25.96 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.5487, allocations: 6.438 kB / 0.6853 GB, free: 25.96 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.5487, allocations: 9.781 kB / 0.6853 GB, free: 25.96 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005007/0.5537, allocations: 3.644 MB / 0.6888 GB, free: 25.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.5537, allocations: 1.969 kB / 0.6889 GB, free: 25.15 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/0.5542, allocations: 265 kB / 0.6891 GB, free: 25.15 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.5552, allocations: 487.8 kB / 0.6896 GB, free: 25.11 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.5553, allocations: 71.62 kB / 0.6896 GB, free: 25.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004082/0.5594, allocations: 5.718 MB / 0.6952 GB, free: 21.14 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5594, allocations: 3 kB / 0.6952 GB, free: 21.14 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/0.5622, allocations: 2.278 MB / 0.6974 GB, free: 20.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000679/0.5629, allocations: 409.5 kB / 0.6978 GB, free: 20.38 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.5631, allocations: 42.16 kB / 0.6979 GB, free: 20.38 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/0.5635, allocations: 35.89 kB / 0.6979 GB, free: 20.38 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/0.5637, allocations: 156.4 kB / 0.6981 GB, free: 20.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/0.5639, allocations: 81.72 kB / 0.6981 GB, free: 20.37 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007292/0.5646, allocations: 0.8894 MB / 0.699 GB, free: 20.18 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.5646, allocations: 0 / 0.699 GB, free: 20.18 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002055/0.5667, allocations: 0.8195 MB / 0.6998 GB, free: 20.15 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.0006235/0.5673, allocations: 405.9 kB / 0.7002 GB, free: 20.03 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001886/0.5692, allocations: 1.735 MB / 0.7019 GB, free: 19.57 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5692, allocations: 0 / 0.7019 GB, free: 19.57 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.5703, allocations: 1.272 MB / 0.7031 GB, free: 19.14 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/0.5729, allocations: 1.092 MB / 0.7042 GB, free: 18.98 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/0.5783, allocations: 4.386 MB / 0.7085 GB, free: 17.13 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.5788, allocations: 0.5379 MB / 0.709 GB, free: 17.01 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00155/0.5803, allocations: 0.8994 MB / 0.7099 GB, free: 16.81 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/0.5817, allocations: 0.88 MB / 0.7107 GB, free: 16.75 MB / 0.573 GB Notification: Performance of SimCode: time 1.814e-06/0.5818, allocations: 4 kB / 0.7108 GB, free: 16.74 MB / 0.573 GB Notification: Performance of Templates: time 0.09067/0.6724, allocations: 56.97 MB / 0.7664 GB, free: 6.805 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.557455440051854]