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.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.00179/0.00179, allocations: 113 kB / 17.6 MB, free: 4.684 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.002104/0.002104, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 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.443/1.443, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6343/0.6343, allocations: 90.3 MB / 394.8 MB, free: 3.84 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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_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: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 87.88 kB / 0.5387 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3875, allocations: 70.83 MB / 0.6078 GB, free: 7.402 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.7829/1.17, allocations: 364.8 MB / 0.964 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03938/1.21, allocations: 38.91 MB / 1.002 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002214/1.212, allocations: 25.12 kB / 1.002 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005283/1.217, allocations: 2.045 MB / 1.004 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02556/1.243, allocations: 8.685 MB / 1.013 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0122/1.255, allocations: 4.264 MB / 1.017 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005354/1.26, allocations: 3.701 MB / 1.02 GB, free: 8.715 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/1.262, allocations: 0.6307 MB / 1.021 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00572/1.268, allocations: 2.436 MB / 1.023 GB, free: 5.973 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003432/1.271, allocations: 1.822 MB / 1.025 GB, free: 4.336 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000872/1.272, allocations: 244 kB / 1.025 GB, free: 4.098 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03662/1.309, allocations: 17.12 MB / 1.042 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001609/1.31, allocations: 0.8513 MB / 1.043 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003254/1.313, allocations: 1.357 MB / 1.044 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02858/1.342, allocations: 9.78 MB / 1.054 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.342, allocations: 8 kB / 1.054 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.426e-06/1.342, allocations: 3.984 kB / 1.054 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.186e-05/1.342, allocations: 0 / 1.054 GB, free: 9.84 MB / 0.7325 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.01095/1.353, allocations: 4.346 MB / 1.058 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.353, allocations: 12.03 kB / 1.058 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006088/1.354, allocations: 270.3 kB / 1.058 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/1.356, allocations: 1.217 MB / 1.059 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/1.356, allocations: 140.5 kB / 1.06 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003095/1.356, allocations: 206.3 kB / 1.06 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00479/1.361, allocations: 3.094 MB / 1.063 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/1.361, allocations: 0 / 1.063 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/1.361, allocations: 81.72 kB / 1.063 GB, free: 484 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002306/1.361, allocations: 179.9 kB / 1.063 GB, free: 304 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005021/1.366, allocations: 3.39 MB / 1.066 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01516/1.381, allocations: 12.34 MB / 1.078 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/1.384, allocations: 1.504 MB / 1.08 GB, free: 14 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/1.386, allocations: 1.281 MB / 1.081 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003134/1.389, allocations: 3.847 MB / 1.085 GB, free: 8.051 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/1.389, allocations: 56.48 kB / 1.085 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=196): time 4.439e-06/1.389, allocations: 0 / 1.085 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of matching and sorting (n=200): time 0.01508/1.404, allocations: 8.432 MB / 1.093 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/1.404, allocations: 103.1 kB / 1.093 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/1.406, allocations: 1.171 MB / 1.094 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/1.406, allocations: 53.7 kB / 1.094 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006082/1.407, allocations: 0.7733 MB / 1.095 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006127/1.407, allocations: 0.7173 MB / 1.096 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006037/1.408, allocations: 340.6 kB / 1.096 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.408, allocations: 305.1 kB / 1.097 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/1.41, allocations: 1.027 MB / 1.098 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/1.412, allocations: 1.163 MB / 1.099 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003737/1.415, allocations: 2.348 MB / 1.101 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-06/1.415, allocations: 3.938 kB / 1.101 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.005593/1.421, allocations: 3.023 MB / 1.104 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/1.421, allocations: 8 kB / 1.104 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.421, allocations: 0 / 1.104 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/1.422, allocations: 483.4 kB / 1.104 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/1.424, allocations: 334.6 kB / 1.105 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008506/1.432, allocations: 6.357 MB / 1.111 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/1.433, allocations: 43.8 kB / 1.111 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003411/1.434, allocations: 119.9 kB / 1.111 GB, free: 12.76 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.001082/1.435, allocations: 0.5091 MB / 1.112 GB, free: 12.26 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005496/1.435, allocations: 174.9 kB / 1.112 GB, free: 12.09 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007984/1.443, allocations: 4.609 MB / 1.116 GB, free: 7.453 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.216e-05/1.443, allocations: 20 kB / 1.116 GB, free: 7.434 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/1.443, allocations: 8 kB / 1.116 GB, free: 7.426 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/1.443, allocations: 7.969 kB / 1.116 GB, free: 7.418 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/1.454, allocations: 6.172 MB / 1.122 GB, free: 1.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/1.454, allocations: 3.938 kB / 1.122 GB, free: 1.246 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/1.455, allocations: 303.5 kB / 1.123 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/1.457, allocations: 0.5006 MB / 1.123 GB, free: 472 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000189/1.457, allocations: 80.72 kB / 1.123 GB, free: 392 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00842/1.465, allocations: 6.368 MB / 1.129 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.465, allocations: 0 / 1.129 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008083/1.474, allocations: 4.745 MB / 1.134 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005775/1.474, allocations: 259.9 kB / 1.134 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003155/1.474, allocations: 40 kB / 1.134 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008463/1.475, allocations: 42.56 kB / 1.134 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003662/1.476, allocations: 176.7 kB / 1.135 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002528/1.476, allocations: 107.9 kB / 1.135 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001385/1.477, allocations: 0.9354 MB / 1.136 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/1.477, allocations: 8 kB / 1.136 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004723/1.482, allocations: 1.668 MB / 1.137 GB, free: 1.766 MB / 0.8106 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 (160): * Single equations (assignments): 148 * 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.004724/1.487, allocations: 2.012 MB / 1.139 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005509/1.492, allocations: 2.975 MB / 1.142 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.492, allocations: 0 / 1.142 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003204/1.495, allocations: 1.795 MB / 1.144 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003522/1.499, allocations: 0.788 MB / 1.145 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008153/1.507, allocations: 4.726 MB / 1.149 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/1.509, allocations: 1.658 MB / 1.151 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002797/1.511, allocations: 1.247 MB / 1.152 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007043/1.512, allocations: 219.3 kB / 1.152 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of SimCode: time 9.81e-07/1.512, allocations: 0 / 1.152 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.395/1.907, allocations: 70.75 MB / 1.221 GB, free: 379.2 MB / 0.8575 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.772737893275917]