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.001558/0.001558, allocations: 80.44 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001702/0.001702, allocations: 170.5 kB / 22.46 MB, free: 5.355 MB / 14.72 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.376/1.376, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7395/0.7395, allocations: 80.21 MB / 339.4 MB, free: 10.89 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.102e-06/1.102e-06, allocations: 0 / 0.4929 GB, free: 25.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.861e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.6391/0.6391, allocations: 339.1 MB / 0.824 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02225/0.6614, allocations: 16.14 MB / 0.8398 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003945/0.6653, allocations: 115.2 kB / 0.8399 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005905/0.6712, allocations: 1.788 MB / 0.8416 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.02348/0.6947, allocations: 9.064 MB / 0.8505 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01152/0.7062, allocations: 4.417 MB / 0.8548 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006208/0.7124, allocations: 4.508 MB / 0.8592 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.7136, allocations: 0.6304 MB / 0.8598 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007145/0.7208, allocations: 3.464 MB / 0.8632 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002763/0.7235, allocations: 1.659 MB / 0.8648 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004571/0.724, allocations: 244 kB / 0.865 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02786/0.7518, allocations: 13.75 MB / 0.8785 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001707/0.7535, allocations: 0.9462 MB / 0.8794 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002304/0.7558, allocations: 1.066 MB / 0.8804 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02585/0.7817, allocations: 10.78 MB / 0.8909 GB, free: 7.973 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7817, allocations: 0 / 0.8909 GB, free: 7.973 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7817, allocations: 4 kB / 0.891 GB, free: 7.969 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.304e-05/0.7817, allocations: 0 / 0.891 GB, free: 7.969 MB / 0.67 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.01003/0.7918, allocations: 4.691 MB / 0.8955 GB, free: 3.227 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.7918, allocations: 9.469 kB / 0.8955 GB, free: 3.219 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.7932, allocations: 393.9 kB / 0.8959 GB, free: 2.832 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002954/0.7962, allocations: 1.653 MB / 0.8975 GB, free: 1.191 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.7963, allocations: 155.7 kB / 0.8977 GB, free: 1.039 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003198/0.7966, allocations: 199.9 kB / 0.8979 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00473/0.8013, allocations: 3.209 MB / 0.901 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.8014, allocations: 4 kB / 0.901 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.8016, allocations: 75.98 kB / 0.9011 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002408/0.8018, allocations: 186.6 kB / 0.9013 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004912/0.8067, allocations: 3.456 MB / 0.9046 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/0.8189, allocations: 7.648 MB / 0.9121 GB, free: 2.199 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.8215, allocations: 1.481 MB / 0.9135 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.8234, allocations: 1.285 MB / 0.9148 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/0.8246, allocations: 493.5 kB / 0.9153 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.166e-05/0.8247, allocations: 52.56 kB / 0.9153 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=196): time 5.099e-06/0.8247, allocations: 0 / 0.9153 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of matching and sorting (n=200): time 0.01429/0.839, allocations: 7.859 MB / 0.923 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.8391, allocations: 103.1 kB / 0.9231 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.8409, allocations: 1.426 MB / 0.9245 GB, free: 5.449 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.841, allocations: 53.7 kB / 0.9245 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008084/0.8419, allocations: 1.025 MB / 0.9255 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000608/0.8425, allocations: 0.7085 MB / 0.9262 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006246/0.8431, allocations: 351.5 kB / 0.9266 GB, free: 3.293 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8432, allocations: 305.1 kB / 0.9269 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.8448, allocations: 1.038 MB / 0.9279 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/0.8467, allocations: 1.221 MB / 0.9291 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003806/0.8505, allocations: 2.429 MB / 0.9314 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.8505, allocations: 4 kB / 0.9314 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.005459/0.856, allocations: 3.126 MB / 0.9345 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.856, allocations: 4 kB / 0.9345 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.856, allocations: 4 kB / 0.9345 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.8574, allocations: 474.9 kB / 0.935 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.8587, allocations: 353.2 kB / 0.9353 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008101/0.8668, allocations: 5.987 MB / 0.9411 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.8679, allocations: 52.02 kB / 0.9412 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/0.8681, allocations: 120 kB / 0.9413 GB, free: 3.992 MB / 0.7169 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.0009882/0.8691, allocations: 0.5298 MB / 0.9418 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004605/0.8696, allocations: 218.6 kB / 0.942 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007719/0.8773, allocations: 4.556 MB / 0.9465 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.331e-05/0.8773, allocations: 23.94 kB / 0.9465 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.8773, allocations: 8 kB / 0.9465 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/0.8774, allocations: 19.89 kB / 0.9465 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009545/0.8869, allocations: 5.518 MB / 0.9519 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.8869, allocations: 4 kB / 0.9519 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.8881, allocations: 285.7 kB / 0.9522 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/0.8895, allocations: 0.496 MB / 0.9527 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/0.8897, allocations: 83.86 kB / 0.9528 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007986/0.8977, allocations: 5.998 MB / 0.9586 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.8977, allocations: 4.125 kB / 0.9586 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007787/0.9054, allocations: 4.734 MB / 0.9632 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004836/0.9059, allocations: 202.5 kB / 0.9634 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/0.9063, allocations: 39.94 kB / 0.9635 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009686/0.9072, allocations: 52.03 kB / 0.9635 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003429/0.9076, allocations: 165.7 kB / 0.9637 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/0.9078, allocations: 107.9 kB / 0.9638 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001518/0.9093, allocations: 1.076 MB / 0.9648 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.9093, allocations: 0 / 0.9648 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004138/0.9134, allocations: 1.656 MB / 0.9664 GB, free: 10.06 MB / 0.7481 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.004091/0.9175, allocations: 2.025 MB / 0.9684 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005128/0.9227, allocations: 2.979 MB / 0.9713 GB, free: 5.059 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9227, allocations: 4 kB / 0.9713 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003106/0.9258, allocations: 1.765 MB / 0.9731 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0046/0.9304, allocations: 1.04 MB / 0.9741 GB, free: 2.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2086/1.139, allocations: 5.155 MB / 0.9791 GB, free: 319.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/1.14, allocations: 1.233 MB / 0.9803 GB, free: 319.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002621/1.143, allocations: 1.289 MB / 0.9816 GB, free: 319.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006891/1.144, allocations: 227.9 kB / 0.9818 GB, free: 319.4 MB / 0.7481 GB Notification: Performance of SimCode: time 8.91e-07/1.144, allocations: 3.828 kB / 0.9818 GB, free: 319.4 MB / 0.7481 GB Notification: Performance of Templates: time 0.08695/1.231, allocations: 75.17 MB / 1.055 GB, free: 280.3 MB / 0.7481 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunctionNM_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.119153086096048]