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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 110.3 kB / 16.41 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 190.7 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6834/0.6834, allocations: 91.18 MB / 382.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 83.88 kB / 0.5175 GB, free: 4.121 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2723, allocations: 67.69 MB / 0.5836 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.5918/0.8641, allocations: 362.1 MB / 0.9372 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04058/0.9047, allocations: 38.63 MB / 0.9749 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.9067, allocations: 71.56 kB / 0.975 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004811/0.9115, allocations: 2.052 MB / 0.977 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02107/0.9326, allocations: 8.783 MB / 0.9856 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01062/0.9433, allocations: 4.241 MB / 0.9897 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00487/0.9481, allocations: 3.903 MB / 0.9935 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.9497, allocations: 1.185 MB / 0.9947 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00469/0.9544, allocations: 2.585 MB / 0.9972 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/0.9572, allocations: 1.755 MB / 0.9989 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0006773/0.9579, allocations: 248 kB / 0.9992 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02885/0.9867, allocations: 16.54 MB / 1.015 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.988, allocations: 0.8489 MB / 1.016 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002652/0.9906, allocations: 1.435 MB / 1.018 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02158/1.012, allocations: 9.988 MB / 1.027 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.012, allocations: 0 / 1.027 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.773e-06/1.012, allocations: 0 / 1.027 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001061/1.012, allocations: 0 / 1.027 GB, free: 2.156 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.2671/1.28, allocations: 4.477 MB / 1.032 GB, free: 329.6 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/1.28, allocations: 10.33 kB / 1.032 GB, free: 329.6 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006683/1.28, allocations: 283.7 kB / 1.032 GB, free: 329.4 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002719/1.283, allocations: 1.626 MB / 1.034 GB, free: 328.6 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/1.283, allocations: 142 kB / 1.034 GB, free: 328.5 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003152/1.283, allocations: 201.6 kB / 1.034 GB, free: 328.5 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004777/1.288, allocations: 3.101 MB / 1.037 GB, free: 327.3 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/1.288, allocations: 0.5938 kB / 1.037 GB, free: 327.3 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/1.288, allocations: 78.06 kB / 1.037 GB, free: 327.3 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002759/1.289, allocations: 182.5 kB / 1.037 GB, free: 327.2 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003824/1.293, allocations: 3.386 MB / 1.04 GB, free: 326.1 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/1.303, allocations: 12.41 MB / 1.053 GB, free: 315.8 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/1.305, allocations: 1.645 MB / 1.054 GB, free: 314.9 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/1.306, allocations: 1.429 MB / 1.056 GB, free: 314.1 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/1.308, allocations: 3.846 MB / 1.059 GB, free: 309.7 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/1.308, allocations: 54.28 kB / 1.059 GB, free: 309.6 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=196): time 4.749e-06/1.308, allocations: 0 / 1.059 GB, free: 309.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=200): time 0.01131/1.319, allocations: 8.531 MB / 1.068 GB, free: 303.2 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/1.319, allocations: 99.11 kB / 1.068 GB, free: 303.1 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/1.321, allocations: 1.422 MB / 1.069 GB, free: 301.6 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/1.321, allocations: 61.27 kB / 1.069 GB, free: 301.6 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/1.321, allocations: 0.8912 MB / 1.07 GB, free: 300.7 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/1.322, allocations: 0.6763 MB / 1.071 GB, free: 300 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004586/1.322, allocations: 342.9 kB / 1.071 GB, free: 299.7 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.385e-05/1.322, allocations: 301.1 kB / 1.071 GB, free: 299.4 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/1.323, allocations: 1.035 MB / 1.072 GB, free: 298.3 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/1.325, allocations: 1.155 MB / 1.074 GB, free: 297.2 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002687/1.327, allocations: 2.345 MB / 1.076 GB, free: 294.8 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.327, allocations: 0 / 1.076 GB, free: 294.8 MB / 0.7637 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.004057/1.331, allocations: 3.072 MB / 1.079 GB, free: 291.7 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.331, allocations: 8 kB / 1.079 GB, free: 291.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/1.331, allocations: 0 / 1.079 GB, free: 291.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/1.333, allocations: 479.9 kB / 1.079 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/1.334, allocations: 335.5 kB / 1.08 GB, free: 290.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005851/1.34, allocations: 6.337 MB / 1.086 GB, free: 284.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009042/1.34, allocations: 40.05 kB / 1.086 GB, free: 284.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/1.341, allocations: 123.8 kB / 1.086 GB, free: 284.2 MB / 0.7637 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.0007498/1.341, allocations: 0.5202 MB / 1.086 GB, free: 283.7 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003569/1.342, allocations: 201.5 kB / 1.087 GB, free: 283.5 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005916/1.348, allocations: 4.666 MB / 1.091 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/1.348, allocations: 7.969 kB / 1.091 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.348, allocations: 0 / 1.091 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/1.348, allocations: 270.5 kB / 1.091 GB, free: 278.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003142/1.348, allocations: 47.73 kB / 1.092 GB, free: 278.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007897/1.349, allocations: 39.98 kB / 1.092 GB, free: 278.4 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/1.349, allocations: 181 kB / 1.092 GB, free: 278.2 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004992/1.354, allocations: 3.229 MB / 1.095 GB, free: 275.1 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004985/1.359, allocations: 4.539 MB / 1.099 GB, free: 270.5 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001296/1.361, allocations: 1.261 MB / 1.101 GB, free: 269.2 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001131/1.362, allocations: 1.094 MB / 1.102 GB, free: 268.2 MB / 0.7637 GB Notification: Performance of Backend: time 4.71e-07/1.362, allocations: 0 / 1.102 GB, free: 268.2 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01126/1.373, allocations: 5.466 MB / 1.107 GB, free: 263.5 MB / 0.7637 GB Notification: Performance of SimCode: time 0.006009/1.379, allocations: 5.136 MB / 1.112 GB, free: 258.6 MB / 0.7637 GB Notification: Performance of Templates: time 0.103/1.482, allocations: 99.93 MB / 1.21 GB, free: 159 MB / 0.7637 GB make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.makefile (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) 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) Reference file matches