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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 110.4 kB / 18.68 MB, free: 3.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002203/0.002203, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 250.6 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8091/0.8091, allocations: 94.59 MB / 400.4 MB, free: 15.77 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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003833/0.003833, allocations: 85.92 kB / 0.5464 GB, free: 42.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1608, allocations: 71.85 MB / 0.6166 GB, free: 8.578 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.84/1.001, allocations: 365.1 MB / 0.9732 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05603/1.057, allocations: 39.07 MB / 1.011 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002691/1.06, allocations: 79.5 kB / 1.011 GB, free: 7.047 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005971/1.066, allocations: 2.072 MB / 1.013 GB, free: 4.965 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.03065/1.096, allocations: 8.821 MB / 1.022 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01244/1.109, allocations: 4.261 MB / 1.026 GB, free: 7.836 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006627/1.115, allocations: 4.009 MB / 1.03 GB, free: 3.812 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/1.116, allocations: 0.6374 MB / 1.031 GB, free: 3.133 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00556/1.122, allocations: 2.639 MB / 1.033 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002731/1.125, allocations: 1.856 MB / 1.035 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004071/1.125, allocations: 244 kB / 1.035 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6032/1.728, allocations: 17.11 MB / 1.052 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002401/1.731, allocations: 0.8588 MB / 1.053 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00497/1.736, allocations: 1.443 MB / 1.054 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.03172/1.767, allocations: 10.07 MB / 1.064 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.413e-06/1.767, allocations: 0 / 1.064 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.525e-06/1.767, allocations: 0.9062 kB / 1.064 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001232/1.767, allocations: 0 / 1.064 GB, free: 15.29 MB / 0.7794 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.01731/1.785, allocations: 4.662 MB / 1.069 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.785, allocations: 9.438 kB / 1.069 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008755/1.786, allocations: 309.9 kB / 1.069 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003771/1.789, allocations: 1.683 MB / 1.071 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/1.79, allocations: 143.4 kB / 1.071 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003542/1.79, allocations: 202.9 kB / 1.071 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005284/1.795, allocations: 3.092 MB / 1.074 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/1.795, allocations: 0 / 1.074 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/1.795, allocations: 78.59 kB / 1.074 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002513/1.796, allocations: 184 kB / 1.074 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005194/1.801, allocations: 3.386 MB / 1.078 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01713/1.818, allocations: 12.44 MB / 1.09 GB, free: 21.17 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/1.821, allocations: 1.495 MB / 1.091 GB, free: 21.12 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/1.822, allocations: 1.283 MB / 1.092 GB, free: 21.09 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00349/1.826, allocations: 3.851 MB / 1.096 GB, free: 16.87 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/1.826, allocations: 55.84 kB / 1.096 GB, free: 16.83 MB / 0.795 GB Notification: Performance of pre-optimization done (n=196): time 5.421e-06/1.826, allocations: 0 / 1.096 GB, free: 16.83 MB / 0.795 GB Notification: Performance of matching and sorting (n=200): time 0.01494/1.841, allocations: 8.58 MB / 1.105 GB, free: 14.79 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/1.841, allocations: 98.97 kB / 1.105 GB, free: 14.7 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/1.843, allocations: 1.467 MB / 1.106 GB, free: 14.54 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001859/1.843, allocations: 61.34 kB / 1.106 GB, free: 14.51 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005916/1.844, allocations: 0.9214 MB / 1.107 GB, free: 14.2 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005061/1.844, allocations: 0.706 MB / 1.108 GB, free: 13.73 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000555/1.845, allocations: 345.6 kB / 1.108 GB, free: 13.71 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.845, allocations: 305.2 kB / 1.108 GB, free: 13.42 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/1.846, allocations: 1.032 MB / 1.109 GB, free: 13.41 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/1.848, allocations: 1.155 MB / 1.111 GB, free: 13.38 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003199/1.851, allocations: 2.346 MB / 1.113 GB, free: 13.35 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.851, allocations: 0 / 1.113 GB, free: 13.35 MB / 0.795 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.005342/1.857, allocations: 3.072 MB / 1.116 GB, free: 13.12 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/1.857, allocations: 5.625 kB / 1.116 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.857, allocations: 1 kB / 1.116 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/1.858, allocations: 473.7 kB / 1.116 GB, free: 13.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/1.859, allocations: 336.1 kB / 1.117 GB, free: 13.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007693/1.867, allocations: 6.353 MB / 1.123 GB, free: 10.01 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/1.869, allocations: 47.98 kB / 1.123 GB, free: 10.01 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003658/1.869, allocations: 122.4 kB / 1.123 GB, free: 10.01 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.001319/1.871, allocations: 0.5234 MB / 1.123 GB, free: 9.887 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007253/1.871, allocations: 211.8 kB / 1.124 GB, free: 9.773 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007236/1.879, allocations: 4.644 MB / 1.128 GB, free: 9.367 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/1.879, allocations: 10.28 kB / 1.128 GB, free: 9.367 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/1.879, allocations: 2.625 kB / 1.128 GB, free: 9.367 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009583/1.88, allocations: 276.5 kB / 1.129 GB, free: 9.156 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003268/1.88, allocations: 46.09 kB / 1.129 GB, free: 9.152 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008576/1.881, allocations: 44.97 kB / 1.129 GB, free: 9.152 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/1.881, allocations: 178.7 kB / 1.129 GB, free: 9.148 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005781/1.887, allocations: 3.234 MB / 1.132 GB, free: 8.879 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006218/1.893, allocations: 4.568 MB / 1.136 GB, free: 8.391 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001541/1.895, allocations: 1.141 MB / 1.138 GB, free: 8.379 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001806/1.896, allocations: 1.12 MB / 1.139 GB, free: 8.27 MB / 0.795 GB Notification: Performance of Backend: time 9.22e-07/1.896, allocations: 0 / 1.139 GB, free: 8.27 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01873/1.915, allocations: 5.378 MB / 1.144 GB, free: 7.184 MB / 0.795 GB Notification: Performance of SimCode: time 0.007614/1.923, allocations: 5.296 MB / 1.149 GB, free: 4.668 MB / 0.795 GB Notification: Performance of Templates: time 0.1573/2.08, allocations: 101.4 MB / 1.248 GB, free: 10.08 MB / 0.8887 GB " [Timeout remaining time 658] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunctionNM_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 11.82893347699428]