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.001545/0.001545, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001743/0.001743, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.7222/0.7222, allocations: 94.62 MB / 407.8 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.002552/0.002552, allocations: 86.38 kB / 0.5562 GB, free: 38.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1133, allocations: 73.06 MB / 0.6275 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.6606/0.7739, allocations: 319.4 MB / 0.9394 GB, free: 8.938 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04755/0.8215, allocations: 34.98 MB / 0.9736 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0024/0.8239, allocations: 107 kB / 0.9737 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005247/0.8291, allocations: 1.741 MB / 0.9754 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02288/0.852, allocations: 8.704 MB / 0.9839 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01171/0.8637, allocations: 4.297 MB / 0.988 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005924/0.8696, allocations: 4.02 MB / 0.992 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.8707, allocations: 0.6256 MB / 0.9926 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0051/0.8758, allocations: 2.721 MB / 0.9952 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.8784, allocations: 1.747 MB / 0.9969 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003796/0.8788, allocations: 244 kB / 0.9972 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02665/0.9055, allocations: 13.61 MB / 1.01 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001416/0.9069, allocations: 0.876 MB / 1.011 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.9087, allocations: 1.182 MB / 1.012 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02592/0.9346, allocations: 9.659 MB / 1.022 GB, free: 4.117 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.9346, allocations: 4 kB / 1.022 GB, free: 4.113 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9346, allocations: 0 / 1.022 GB, free: 4.113 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.095e-05/0.9347, allocations: 4 kB / 1.022 GB, free: 4.109 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.01077/0.9454, allocations: 4.581 MB / 1.026 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.9455, allocations: 15.97 kB / 1.026 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.9469, allocations: 366 kB / 1.027 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/0.9501, allocations: 1.578 MB / 1.028 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.9502, allocations: 143.7 kB / 1.028 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/0.9506, allocations: 199.9 kB / 1.029 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004867/0.9554, allocations: 3.128 MB / 1.032 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.9555, allocations: 0 / 1.032 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.9557, allocations: 79.97 kB / 1.032 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002687/0.9559, allocations: 187.8 kB / 1.032 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005174/0.9611, allocations: 3.439 MB / 1.035 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/0.9735, allocations: 6.718 MB / 1.042 GB, free: 15.48 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.9761, allocations: 1.482 MB / 1.043 GB, free: 13.99 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.978, allocations: 1.27 MB / 1.045 GB, free: 12.71 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/0.9792, allocations: 497.5 kB / 1.045 GB, free: 12.23 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/0.9793, allocations: 52.56 kB / 1.045 GB, free: 12.17 MB / 0.795 GB Notification: Performance of pre-optimization done (n=196): time 4.819e-06/0.9793, allocations: 0 / 1.045 GB, free: 12.17 MB / 0.795 GB Notification: Performance of matching and sorting (n=200): time 0.01406/0.9933, allocations: 7.798 MB / 1.053 GB, free: 4.316 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.9934, allocations: 107 kB / 1.053 GB, free: 4.191 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.9952, allocations: 1.292 MB / 1.054 GB, free: 2.891 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.9953, allocations: 61.69 kB / 1.054 GB, free: 2.824 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007636/0.9961, allocations: 0.9348 MB / 1.055 GB, free: 1.879 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006238/0.9967, allocations: 0.7048 MB / 1.056 GB, free: 1.168 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005551/0.9972, allocations: 339.5 kB / 1.056 GB, free: 0.832 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.9974, allocations: 305.1 kB / 1.056 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2598/1.257, allocations: 1.021 MB / 1.057 GB, free: 332.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/1.259, allocations: 1.153 MB / 1.058 GB, free: 332.2 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003348/1.262, allocations: 2.346 MB / 1.061 GB, free: 331.9 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.262, allocations: 3.188 kB / 1.061 GB, free: 331.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.004613/1.267, allocations: 3.037 MB / 1.064 GB, free: 330.8 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.267, allocations: 8.25 kB / 1.064 GB, free: 330.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.267, allocations: 0 / 1.064 GB, free: 330.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/1.268, allocations: 474.5 kB / 1.064 GB, free: 330.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.269, allocations: 327.8 kB / 1.064 GB, free: 330.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006942/1.276, allocations: 5.992 MB / 1.07 GB, free: 326.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/1.278, allocations: 47.58 kB / 1.07 GB, free: 326.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002994/1.278, allocations: 124.6 kB / 1.07 GB, free: 326.4 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.0009477/1.279, allocations: 0.5122 MB / 1.071 GB, free: 326.1 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004149/1.279, allocations: 202.7 kB / 1.071 GB, free: 326.1 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00671/1.286, allocations: 4.543 MB / 1.076 GB, free: 324.4 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.586e-05/1.286, allocations: 19.47 kB / 1.076 GB, free: 324.4 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.286, allocations: 7.438 kB / 1.076 GB, free: 324.4 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/1.286, allocations: 11.06 kB / 1.076 GB, free: 324.4 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007796/1.294, allocations: 5.509 MB / 1.081 GB, free: 322.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/1.294, allocations: 0 / 1.081 GB, free: 322.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009833/1.295, allocations: 281.5 kB / 1.081 GB, free: 322.1 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/1.296, allocations: 497.7 kB / 1.082 GB, free: 321.9 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/1.296, allocations: 82.45 kB / 1.082 GB, free: 321.9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005823/1.302, allocations: 6.01 MB / 1.088 GB, free: 317.6 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.302, allocations: 6.641 kB / 1.088 GB, free: 317.6 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005614/1.308, allocations: 4.701 MB / 1.092 GB, free: 315.5 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000397/1.308, allocations: 186.8 kB / 1.093 GB, free: 315.4 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002734/1.308, allocations: 42.12 kB / 1.093 GB, free: 315.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008724/1.309, allocations: 51.33 kB / 1.093 GB, free: 315.3 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/1.309, allocations: 169.2 kB / 1.093 GB, free: 315.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/1.309, allocations: 105.8 kB / 1.093 GB, free: 315.3 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001022/1.311, allocations: 1.001 MB / 1.094 GB, free: 314.5 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/1.311, allocations: 0 / 1.094 GB, free: 314.5 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003474/1.314, allocations: 1.605 MB / 1.095 GB, free: 313.1 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.003046/1.317, allocations: 1.911 MB / 1.097 GB, free: 311.7 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003843/1.321, allocations: 2.958 MB / 1.1 GB, free: 308.7 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.321, allocations: 0 / 1.1 GB, free: 308.7 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002249/1.323, allocations: 1.77 MB / 1.102 GB, free: 307 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/1.326, allocations: 0.7229 MB / 1.103 GB, free: 306.3 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/1.332, allocations: 5.141 MB / 1.108 GB, free: 301.4 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000876/1.333, allocations: 1.191 MB / 1.109 GB, free: 300.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008306/1.334, allocations: 255.3 kB / 1.109 GB, free: 299.9 MB / 0.795 GB Notification: Performance of SimCode: time 1.062e-06/1.334, allocations: 0 / 1.109 GB, free: 299.9 MB / 0.795 GB Notification: Performance of Templates: time 0.06528/1.399, allocations: 77.05 MB / 1.184 GB, free: 223 MB / 0.795 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/jenkins1/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: 17.257696968968958]