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.001528/0.001528, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001804/0.001804, allocations: 214 kB / 22.25 MB, free: 5.258 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7418/0.7418, allocations: 94.62 MB / 407 MB, free: 8.914 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002593/0.002593, allocations: 90.77 kB / 0.5554 GB, free: 38.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.118, allocations: 73.06 MB / 0.6268 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.7018/0.8198, allocations: 319.3 MB / 0.9386 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04988/0.8696, allocations: 34.98 MB / 0.9728 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.8719, allocations: 110.9 kB / 0.9729 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005453/0.8773, allocations: 1.737 MB / 0.9746 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0247/0.902, allocations: 8.702 MB / 0.9831 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01295/0.915, allocations: 4.297 MB / 0.9873 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006149/0.9211, allocations: 4.016 MB / 0.9912 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.9226, allocations: 0.6295 MB / 0.9918 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006021/0.9287, allocations: 2.721 MB / 0.9945 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003245/0.9319, allocations: 1.747 MB / 0.9962 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007593/0.9327, allocations: 244 kB / 0.9964 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02859/0.9613, allocations: 13.62 MB / 1.01 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001453/0.9627, allocations: 0.8683 MB / 1.011 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002093/0.9648, allocations: 1.19 MB / 1.012 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02563/0.9904, allocations: 9.651 MB / 1.021 GB, free: 4.156 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.9904, allocations: 0 / 1.021 GB, free: 4.156 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.714e-06/0.9904, allocations: 0 / 1.021 GB, free: 4.156 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.669e-05/0.9905, allocations: 7.938 kB / 1.021 GB, free: 4.148 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 506 * Number of variables: 506 Notification: Performance of Generate backend data structure: time 0.01103/1.002, allocations: 4.581 MB / 1.026 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.002, allocations: 8.031 kB / 1.026 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/1.003, allocations: 374.7 kB / 1.026 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/1.006, allocations: 1.57 MB / 1.028 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/1.007, allocations: 143.7 kB / 1.028 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003506/1.007, allocations: 203.9 kB / 1.028 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005047/1.012, allocations: 3.124 MB / 1.031 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.443e-05/1.012, allocations: 7.938 kB / 1.031 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/1.012, allocations: 67.98 kB / 1.031 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002465/1.012, allocations: 187.8 kB / 1.031 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005173/1.018, allocations: 3.443 MB / 1.035 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/1.031, allocations: 6.726 MB / 1.041 GB, free: 15.53 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002751/1.033, allocations: 1.485 MB / 1.043 GB, free: 14.03 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/1.035, allocations: 1.27 MB / 1.044 GB, free: 12.76 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/1.037, allocations: 497.5 kB / 1.044 GB, free: 12.27 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/1.037, allocations: 60.5 kB / 1.044 GB, free: 12.2 MB / 0.795 GB Notification: Performance of pre-optimization done (n=196): time 5.921e-06/1.037, allocations: 0 / 1.044 GB, free: 12.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=200): time 0.01514/1.052, allocations: 7.792 MB / 1.052 GB, free: 4.355 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/1.052, allocations: 103 kB / 1.052 GB, free: 4.234 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/1.054, allocations: 1.292 MB / 1.053 GB, free: 2.934 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002277/1.054, allocations: 65.7 kB / 1.053 GB, free: 2.863 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000758/1.055, allocations: 0.9309 MB / 1.054 GB, free: 1.922 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006983/1.055, allocations: 0.7048 MB / 1.055 GB, free: 1.211 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005923/1.056, allocations: 347.5 kB / 1.055 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.056, allocations: 301.1 kB / 1.056 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2803/1.337, allocations: 1.027 MB / 1.057 GB, free: 332.4 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/1.339, allocations: 1.151 MB / 1.058 GB, free: 332.4 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00352/1.342, allocations: 2.347 MB / 1.06 GB, free: 332.1 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/1.342, allocations: 1.469 kB / 1.06 GB, free: 332.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.004917/1.347, allocations: 3.037 MB / 1.063 GB, free: 331 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.347, allocations: 5.75 kB / 1.063 GB, free: 331 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.347, allocations: 2.875 kB / 1.063 GB, free: 331 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/1.348, allocations: 468.8 kB / 1.063 GB, free: 330.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/1.35, allocations: 332.3 kB / 1.064 GB, free: 330.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007101/1.357, allocations: 5.993 MB / 1.07 GB, free: 326.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/1.358, allocations: 48.73 kB / 1.07 GB, free: 326.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003282/1.358, allocations: 116.9 kB / 1.07 GB, free: 326.6 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (172): * Single equations (assignments): 160 * 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.001052/1.359, allocations: 0.5188 MB / 1.07 GB, free: 326.3 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004538/1.36, allocations: 200.5 kB / 1.07 GB, free: 326.3 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00711/1.367, allocations: 4.546 MB / 1.075 GB, free: 324.6 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-05/1.367, allocations: 19.25 kB / 1.075 GB, free: 324.6 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/1.367, allocations: 11.56 kB / 1.075 GB, free: 324.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/1.367, allocations: 12.81 kB / 1.075 GB, free: 324.5 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008254/1.375, allocations: 5.496 MB / 1.08 GB, free: 322.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.375, allocations: 3.844 kB / 1.08 GB, free: 322.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009931/1.376, allocations: 284.8 kB / 1.081 GB, free: 322.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/1.377, allocations: 499.2 kB / 1.081 GB, free: 322.1 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/1.378, allocations: 74.34 kB / 1.081 GB, free: 322.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005947/1.383, allocations: 6.016 MB / 1.087 GB, free: 317.8 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.383, allocations: 3.688 kB / 1.087 GB, free: 317.8 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005969/1.389, allocations: 4.705 MB / 1.092 GB, free: 315.6 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/1.39, allocations: 187.6 kB / 1.092 GB, free: 315.5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/1.39, allocations: 43.92 kB / 1.092 GB, free: 315.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009129/1.391, allocations: 47.28 kB / 1.092 GB, free: 315.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/1.391, allocations: 172.2 kB / 1.092 GB, free: 315.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/1.392, allocations: 109.3 kB / 1.092 GB, free: 315.4 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001085/1.393, allocations: 0.9978 MB / 1.093 GB, free: 314.6 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/1.393, allocations: 0 / 1.093 GB, free: 314.6 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004363/1.397, allocations: 1.605 MB / 1.095 GB, free: 313.2 MB / 0.795 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.003333/1.4, allocations: 1.921 MB / 1.097 GB, free: 311.8 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004112/1.404, allocations: 2.954 MB / 1.099 GB, free: 308.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.404, allocations: 3.594 kB / 1.099 GB, free: 308.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002368/1.407, allocations: 1.765 MB / 1.101 GB, free: 307.1 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/1.41, allocations: 0.715 MB / 1.102 GB, free: 306.4 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006583/1.416, allocations: 5.038 MB / 1.107 GB, free: 301.6 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009127/1.417, allocations: 1.197 MB / 1.108 GB, free: 300.4 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002141/1.419, allocations: 1.253 MB / 1.109 GB, free: 299.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006114/1.42, allocations: 223.3 kB / 1.109 GB, free: 298.9 MB / 0.795 GB Notification: Performance of SimCode: time 8.12e-07/1.42, allocations: 4 kB / 1.109 GB, free: 298.9 MB / 0.795 GB Notification: Performance of Templates: time 0.07746/1.497, allocations: 71.97 MB / 1.18 GB, free: 227.7 MB / 0.795 GB " [Timeout remaining time 658] 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.509581873193383]