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.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.001584/0.001584, 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.001847/0.001847, allocations: 216.9 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7929/0.7929, allocations: 100.9 MB / 414.1 MB, free: 2.879 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_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: 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.002592/0.002592, allocations: 83.31 kB / 0.5653 GB, free: 35.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.147, allocations: 74.62 MB / 0.6382 GB, free: 5.852 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.7537/0.9007, allocations: 319.4 MB / 0.95 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.05103/0.9518, allocations: 34.99 MB / 0.9842 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/0.9546, allocations: 107 kB / 0.9843 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005728/0.9604, allocations: 1.725 MB / 0.986 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02561/0.986, allocations: 8.705 MB / 0.9945 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01274/0.9987, allocations: 4.304 MB / 0.9987 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006283/1.005, allocations: 4.024 MB / 1.003 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/1.006, allocations: 0.6295 MB / 1.003 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006657/1.013, allocations: 2.717 MB / 1.006 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003675/1.017, allocations: 1.747 MB / 1.008 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0007067/1.017, allocations: 240 kB / 1.008 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03153/1.049, allocations: 13.62 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002103/1.051, allocations: 0.8721 MB / 1.022 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002552/1.054, allocations: 1.19 MB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.03029/1.084, allocations: 9.655 MB / 1.033 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.084, allocations: 3.938 kB / 1.033 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.555e-06/1.084, allocations: 0 / 1.033 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.773e-05/1.084, allocations: 0 / 1.033 GB, free: 5.355 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.01337/1.097, allocations: 4.588 MB / 1.037 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.097, allocations: 9.469 kB / 1.037 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/1.099, allocations: 370 kB / 1.037 GB, free: 344 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/1.103, allocations: 1.57 MB / 1.039 GB, free: 14.73 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/1.103, allocations: 147.7 kB / 1.039 GB, free: 14.58 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000359/1.103, allocations: 199.9 kB / 1.039 GB, free: 14.39 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005231/1.108, allocations: 3.128 MB / 1.042 GB, free: 11.23 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/1.108, allocations: 4 kB / 1.042 GB, free: 11.23 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/1.109, allocations: 79.92 kB / 1.042 GB, free: 11.15 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002699/1.109, allocations: 179.9 kB / 1.043 GB, free: 10.97 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005155/1.114, allocations: 3.443 MB / 1.046 GB, free: 7.527 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/1.127, allocations: 6.723 MB / 1.053 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3308/1.458, allocations: 1.482 MB / 1.054 GB, free: 324.9 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002284/1.46, allocations: 1.272 MB / 1.055 GB, free: 324.9 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/1.462, allocations: 492.2 kB / 1.056 GB, free: 324.8 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/1.462, allocations: 55 kB / 1.056 GB, free: 324.7 MB / 0.795 GB Notification: Performance of pre-optimization done (n=196): time 6.072e-06/1.462, allocations: 0 / 1.056 GB, free: 324.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=200): time 0.01447/1.476, allocations: 7.801 MB / 1.063 GB, free: 321.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/1.476, allocations: 102.2 kB / 1.063 GB, free: 321.4 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/1.478, allocations: 1.295 MB / 1.065 GB, free: 320.9 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002846/1.478, allocations: 60.47 kB / 1.065 GB, free: 320.8 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006263/1.479, allocations: 0.9313 MB / 1.066 GB, free: 320.2 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006725/1.48, allocations: 0.7087 MB / 1.066 GB, free: 319.7 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000725/1.48, allocations: 339.4 kB / 1.067 GB, free: 319.6 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.632e-05/1.48, allocations: 306.9 kB / 1.067 GB, free: 319.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/1.482, allocations: 1.029 MB / 1.068 GB, free: 318.9 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/1.484, allocations: 1.151 MB / 1.069 GB, free: 318.4 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003961/1.488, allocations: 2.345 MB / 1.071 GB, free: 317.4 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/1.488, allocations: 0 / 1.071 GB, free: 317.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.005209/1.493, allocations: 3.042 MB / 1.074 GB, free: 316.2 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.493, allocations: 5.938 kB / 1.074 GB, free: 316.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.493, allocations: 3.938 kB / 1.074 GB, free: 316.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/1.495, allocations: 470.6 kB / 1.075 GB, free: 316 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/1.496, allocations: 333.7 kB / 1.075 GB, free: 316 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006075/1.502, allocations: 5.991 MB / 1.081 GB, free: 311.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/1.503, allocations: 51.17 kB / 1.081 GB, free: 311.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003176/1.504, allocations: 113.8 kB / 1.081 GB, free: 311.7 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.001038/1.505, allocations: 0.5162 MB / 1.082 GB, free: 311.3 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005629/1.505, allocations: 200.9 kB / 1.082 GB, free: 311.2 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005955/1.511, allocations: 4.545 MB / 1.086 GB, free: 309.5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.431e-05/1.511, allocations: 20.98 kB / 1.086 GB, free: 309.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/1.511, allocations: 7.062 kB / 1.086 GB, free: 309.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/1.511, allocations: 12.89 kB / 1.086 GB, free: 309.5 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008552/1.52, allocations: 5.494 MB / 1.092 GB, free: 306.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/1.52, allocations: 0 / 1.092 GB, free: 306.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009696/1.521, allocations: 284.4 kB / 1.092 GB, free: 306.4 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/1.522, allocations: 498 kB / 1.092 GB, free: 305.9 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/1.522, allocations: 82.84 kB / 1.093 GB, free: 305.9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005694/1.528, allocations: 6.012 MB / 1.098 GB, free: 299.7 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.528, allocations: 4.125 kB / 1.098 GB, free: 299.7 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005833/1.534, allocations: 4.718 MB / 1.103 GB, free: 294.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/1.534, allocations: 182.7 kB / 1.103 GB, free: 294.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002891/1.535, allocations: 43.69 kB / 1.103 GB, free: 294.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008692/1.535, allocations: 39.98 kB / 1.103 GB, free: 294.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/1.536, allocations: 169.6 kB / 1.103 GB, free: 294.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/1.536, allocations: 106.6 kB / 1.104 GB, free: 294.4 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001047/1.537, allocations: 1.005 MB / 1.105 GB, free: 293.4 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/1.537, allocations: 0 / 1.105 GB, free: 293.4 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004141/1.541, allocations: 1.602 MB / 1.106 GB, free: 292 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.003921/1.545, allocations: 1.919 MB / 1.108 GB, free: 290.7 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004354/1.549, allocations: 2.959 MB / 1.111 GB, free: 287.7 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.549, allocations: 0 / 1.111 GB, free: 287.7 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002526/1.552, allocations: 1.776 MB / 1.113 GB, free: 285.9 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/1.555, allocations: 0.705 MB / 1.113 GB, free: 285.2 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007117/1.562, allocations: 5.153 MB / 1.118 GB, free: 280.3 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009159/1.563, allocations: 1.189 MB / 1.119 GB, free: 279 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000962/1.564, allocations: 255.2 kB / 1.12 GB, free: 278.8 MB / 0.795 GB Notification: Performance of SimCode: time 1.392e-06/1.564, allocations: 0 / 1.12 GB, free: 278.8 MB / 0.795 GB Notification: Performance of Templates: time 0.07099/1.635, allocations: 77.06 MB / 1.195 GB, free: 201.8 MB / 0.795 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/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: 18.3972019799985]