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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 103.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 89] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6735/0.6735, allocations: 90.3 MB / 395.3 MB, free: 3.727 MB / 302.1 MB [Timeout remaining time 89] 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.002274/0.002274, allocations: 82.92 kB / 0.539 GB, free: 42.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.108, allocations: 70.83 MB / 0.6082 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.6581/0.7661, allocations: 363.2 MB / 0.9629 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0442/0.8103, allocations: 38.68 MB / 1.001 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.812, allocations: 27.88 kB / 1.001 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004807/0.8168, allocations: 2.045 MB / 1.003 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02094/0.8377, allocations: 8.676 MB / 1.011 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01073/0.8485, allocations: 4.254 MB / 1.015 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005324/0.8538, allocations: 3.697 MB / 1.019 GB, free: 1.281 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.855, allocations: 0.8116 MB / 1.02 GB, free: 436 kB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004644/0.8596, allocations: 2.457 MB / 1.022 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/0.8619, allocations: 1.81 MB / 1.024 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003553/0.8623, allocations: 252 kB / 1.024 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4274/1.29, allocations: 17.11 MB / 1.041 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001398/1.291, allocations: 0.8449 MB / 1.042 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001939/1.293, allocations: 1.359 MB / 1.043 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02376/1.317, allocations: 9.783 MB / 1.053 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/1.317, allocations: 0.6562 kB / 1.053 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.713e-06/1.317, allocations: 2.062 kB / 1.053 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.768e-05/1.317, allocations: 0 / 1.053 GB, free: 13.9 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.01068/1.327, allocations: 4.356 MB / 1.057 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/1.328, allocations: 9.562 kB / 1.057 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006408/1.328, allocations: 267.7 kB / 1.057 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/1.33, allocations: 1.215 MB / 1.058 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.888e-05/1.33, allocations: 145.8 kB / 1.058 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002871/1.33, allocations: 202.9 kB / 1.059 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004264/1.335, allocations: 3.09 MB / 1.062 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/1.335, allocations: 3.656 kB / 1.062 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/1.335, allocations: 76.86 kB / 1.062 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002073/1.335, allocations: 183.6 kB / 1.062 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004248/1.339, allocations: 3.392 MB / 1.065 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/1.353, allocations: 12.35 MB / 1.077 GB, free: 20.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/1.355, allocations: 1.49 MB / 1.079 GB, free: 19.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/1.357, allocations: 1.279 MB / 1.08 GB, free: 19.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002954/1.36, allocations: 3.848 MB / 1.084 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/1.36, allocations: 57.28 kB / 1.084 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=196): time 5.881e-06/1.36, allocations: 0.8438 kB / 1.084 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=200): time 0.01231/1.372, allocations: 8.43 MB / 1.092 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/1.372, allocations: 98.39 kB / 1.092 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/1.373, allocations: 1.17 MB / 1.093 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/1.373, allocations: 57.72 kB / 1.093 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/1.374, allocations: 0.7775 MB / 1.094 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/1.374, allocations: 0.7057 MB / 1.095 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004753/1.375, allocations: 343 kB / 1.095 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.375, allocations: 305.5 kB / 1.095 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/1.376, allocations: 1.035 MB / 1.096 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/1.377, allocations: 1.152 MB / 1.098 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/1.38, allocations: 2.352 MB / 1.1 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.38, allocations: 0 / 1.1 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.00418/1.384, allocations: 3.027 MB / 1.103 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.384, allocations: 3.656 kB / 1.103 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.384, allocations: 1.812 kB / 1.103 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/1.386, allocations: 479.2 kB / 1.103 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/1.387, allocations: 332 kB / 1.104 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006645/1.393, allocations: 6.365 MB / 1.11 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009928/1.394, allocations: 49.75 kB / 1.11 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/1.395, allocations: 111.4 kB / 1.11 GB, free: 9.035 MB / 0.7794 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.0008774/1.395, allocations: 0.5083 MB / 1.11 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/1.396, allocations: 180.1 kB / 1.111 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006122/1.402, allocations: 4.609 MB / 1.115 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.766e-05/1.402, allocations: 21.16 kB / 1.115 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.402, allocations: 9.188 kB / 1.115 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/1.402, allocations: 13.89 kB / 1.115 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008762/1.411, allocations: 6.177 MB / 1.121 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.411, allocations: 3.969 kB / 1.121 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009819/1.412, allocations: 303.9 kB / 1.121 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/1.413, allocations: 498.4 kB / 1.122 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/1.413, allocations: 87.08 kB / 1.122 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006608/1.42, allocations: 6.369 MB / 1.128 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.42, allocations: 5.875 kB / 1.128 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006088/1.426, allocations: 4.752 MB / 1.133 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000549/1.426, allocations: 250.2 kB / 1.133 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000285/1.427, allocations: 44.27 kB / 1.133 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00087/1.428, allocations: 45.88 kB / 1.133 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/1.428, allocations: 166.7 kB / 1.133 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/1.428, allocations: 108.8 kB / 1.133 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001065/1.429, allocations: 0.9384 MB / 1.134 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/1.429, allocations: 1.859 kB / 1.134 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004326/1.433, allocations: 1.673 MB / 1.136 GB, free: 3.621 MB / 0.7794 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.003706/1.437, allocations: 2.013 MB / 1.138 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.004035/1.441, allocations: 2.975 MB / 1.141 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.441, allocations: 0 / 1.141 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002456/1.444, allocations: 1.798 MB / 1.143 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/1.447, allocations: 0.7788 MB / 1.143 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007437/1.454, allocations: 4.836 MB / 1.148 GB, free: 14.09 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/1.455, allocations: 1.655 MB / 1.15 GB, free: 12.79 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000849/1.456, allocations: 242.1 kB / 1.15 GB, free: 12.62 MB / 0.795 GB Notification: Performance of SimCode: time 8.52e-07/1.456, allocations: 10.06 kB / 1.15 GB, free: 12.61 MB / 0.795 GB Notification: Performance of Templates: time 0.0958/1.552, allocations: 72.69 MB / 1.221 GB, free: 6.07 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/jenkins1/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