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.0007953/0.0007953, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00107/0.001865, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007147/0.0007147, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009369/0.001652, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9161/0.9161, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08948/1.006, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.667/0.667, allocations: 118.7 MB / 362.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08386/0.7509, allocations: 35.85 MB / 398.5 MB, free: 13.34 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-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="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="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 1.733e-06/1.733e-06, allocations: 0 / 399.8 MB, free: 12.06 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133e-05/1.306e-05, allocations: 2.312 kB / 399.8 MB, free: 12.06 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.3308/0.3308, allocations: 154.5 MB / 0.5413 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006786/0.3376, allocations: 4.476 MB / 0.5457 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008808/0.3385, allocations: 126.8 kB / 0.5458 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007764/0.3392, allocations: 0.4958 MB / 0.5463 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003624/0.3429, allocations: 2.568 MB / 0.5488 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.3445, allocations: 0.963 MB / 0.5497 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003985/0.3485, allocations: 4.62 MB / 0.5542 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007884/0.3493, allocations: 0.6635 MB / 0.5549 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003255/0.3526, allocations: 2.897 MB / 0.5577 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.3539, allocations: 1.644 MB / 0.5593 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0005229/0.3544, allocations: 248 kB / 0.5596 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.357, allocations: 1.903 MB / 0.5614 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004694/0.3574, allocations: 0.7946 MB / 0.5622 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0007612/0.3582, allocations: 0.9162 MB / 0.5631 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.3608, allocations: 3.371 MB / 0.5664 GB, free: 236 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.3609, allocations: 0 / 0.5664 GB, free: 236 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3609, allocations: 3.938 kB / 0.5664 GB, free: 232 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.926e-05/0.3609, allocations: 0 / 0.5664 GB, free: 232 kB / 0.5261 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.00422/0.3651, allocations: 4.445 MB / 0.5707 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.539e-05/0.3651, allocations: 8.031 kB / 0.5707 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007009/0.3658, allocations: 0.4922 MB / 0.5712 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.3675, allocations: 1.574 MB / 0.5728 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.607e-05/0.3675, allocations: 143.8 kB / 0.5729 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.3677, allocations: 199.9 kB / 0.5731 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.3694, allocations: 1.604 MB / 0.5746 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.3694, allocations: 4 kB / 0.5747 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.3695, allocations: 79.98 kB / 0.5747 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/0.3696, allocations: 187.8 kB / 0.5749 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009853/0.3706, allocations: 0.9344 MB / 0.5758 GB, free: 6.316 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005353/0.376, allocations: 5.444 MB / 0.5811 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.3767, allocations: 0.7481 MB / 0.5819 GB, free: 0 / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004436/0.3772, allocations: 453.6 kB / 0.5823 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.3774, allocations: 154.5 kB / 0.5824 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.3775, allocations: 60.5 kB / 0.5825 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=196): time 3.326e-06/0.3775, allocations: 0 / 0.5825 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=200): time 0.004279/0.3818, allocations: 3.223 MB / 0.5857 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.3818, allocations: 99.11 kB / 0.5857 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008211/0.3826, allocations: 1.318 MB / 0.587 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.428e-05/0.3827, allocations: 57.7 kB / 0.5871 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004645/0.3832, allocations: 0.729 MB / 0.5878 GB, free: 9.773 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003261/0.3835, allocations: 0.7163 MB / 0.5885 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/0.3838, allocations: 335.3 kB / 0.5888 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.044e-05/0.3839, allocations: 309.1 kB / 0.5891 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.3842, allocations: 278.6 kB / 0.5894 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.3846, allocations: 448 kB / 0.5898 GB, free: 7.668 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000882/0.3855, allocations: 0.9431 MB / 0.5907 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3855, allocations: 1.25 kB / 0.5907 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001364/0.3869, allocations: 1.251 MB / 0.592 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3869, allocations: 4 kB / 0.592 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.3869, allocations: 4 kB / 0.592 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008304/0.3877, allocations: 440 kB / 0.5924 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/0.3885, allocations: 443.4 kB / 0.5928 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/0.3917, allocations: 4.193 MB / 0.5969 GB, free: 176 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/0.3921, allocations: 43.94 kB / 0.5969 GB, free: 132 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.3923, allocations: 95.94 kB / 0.597 GB, free: 36 kB / 0.5573 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.0003612/0.3926, allocations: 200.3 kB / 0.5972 GB, free: 15.83 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.3929, allocations: 203.8 kB / 0.5974 GB, free: 15.63 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.3954, allocations: 2.669 MB / 0.6 GB, free: 12.92 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.3955, allocations: 20 kB / 0.6 GB, free: 12.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3955, allocations: 8 kB / 0.6 GB, free: 12.89 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.3955, allocations: 7.969 kB / 0.6001 GB, free: 12.88 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003553/0.399, allocations: 3.001 MB / 0.603 GB, free: 9.793 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.399, allocations: 0 / 0.603 GB, free: 9.793 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/0.3996, allocations: 333.2 kB / 0.6033 GB, free: 9.469 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.4, allocations: 310.3 kB / 0.6036 GB, free: 9.164 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008153/0.4008, allocations: 467.1 kB / 0.604 GB, free: 8.703 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.269e-05/0.4009, allocations: 71.92 kB / 0.6041 GB, free: 8.633 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003137/0.4041, allocations: 4.226 MB / 0.6082 GB, free: 4.23 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4041, allocations: 4 kB / 0.6082 GB, free: 4.227 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.4062, allocations: 1.879 MB / 0.6101 GB, free: 2.305 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.4064, allocations: 47.92 kB / 0.6101 GB, free: 2.258 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/0.4068, allocations: 39.98 kB / 0.6102 GB, free: 2.219 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.407, allocations: 145.7 kB / 0.6103 GB, free: 2.078 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.4071, allocations: 79.92 kB / 0.6104 GB, free: 2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005742/0.4077, allocations: 0.7559 MB / 0.6111 GB, free: 1.219 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-08/0.4077, allocations: 0 / 0.6111 GB, free: 1.219 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001484/0.4092, allocations: 0.8198 MB / 0.6119 GB, free: 408 kB / 0.573 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 (146): * Single equations (assignments): 134 * 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.0005785/0.4098, allocations: 393.4 kB / 0.6123 GB, free: 4 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.4114, allocations: 1.499 MB / 0.6138 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.243e-05/0.4114, allocations: 30.62 kB / 0.6138 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.4124, allocations: 1.092 MB / 0.6149 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/0.4149, allocations: 1.302 MB / 0.6161 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0264/0.4413, allocations: 4.39 MB / 0.6204 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.4417, allocations: 0.5224 MB / 0.6209 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001707/0.4434, allocations: 0.8865 MB / 0.6218 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/0.4452, allocations: 0.7566 MB / 0.6225 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of SimCode: time 1.643e-06/0.4452, allocations: 0 / 0.6225 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of Templates: time 0.2985/0.7436, allocations: 58.9 MB / 0.68 GB, free: 78.75 MB / 0.6042 GB " [Timeout remaining time 659] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunctionNM_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.219776154495776]