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.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.001714/0.001714, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002417/0.002417, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.493/1.493, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.005/1.005, allocations: 118.6 MB / 378.2 MB, free: 1.492 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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_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 3.356e-06/3.356e-06, allocations: 1.469 kB / 482.9 MB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/3.073e-05, allocations: 5.688 kB / 482.9 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.6998/0.6998, allocations: 339.2 MB / 0.8028 GB, free: 8.285 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03067/0.7305, allocations: 16.25 MB / 0.8187 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002729/0.7332, allocations: 126.8 kB / 0.8188 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.006282/0.7395, allocations: 1.798 MB / 0.8206 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0305/0.77, allocations: 9.128 MB / 0.8295 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01579/0.7858, allocations: 4.466 MB / 0.8338 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008003/0.7938, allocations: 4.604 MB / 0.8383 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001846/0.7957, allocations: 0.6313 MB / 0.8389 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009845/0.8055, allocations: 3.494 MB / 0.8424 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003736/0.8093, allocations: 1.675 MB / 0.844 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0008327/0.8101, allocations: 244 kB / 0.8442 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0335/0.8436, allocations: 13.75 MB / 0.8577 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001989/0.8456, allocations: 0.95 MB / 0.8586 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003401/0.849, allocations: 1.076 MB / 0.8596 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.03169/0.8807, allocations: 10.92 MB / 0.8703 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.8807, allocations: 0 / 0.8703 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8807, allocations: 4 kB / 0.8703 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.134e-05/0.8808, allocations: 0 / 0.8703 GB, free: 2.898 MB / 0.6667 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.01314/0.8939, allocations: 4.804 MB / 0.875 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.8939, allocations: 12.03 kB / 0.875 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/0.8959, allocations: 0.5909 MB / 0.8756 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004148/0.9001, allocations: 1.902 MB / 0.8774 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.9002, allocations: 151.8 kB / 0.8776 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003713/0.9006, allocations: 199.9 kB / 0.8778 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005707/0.9063, allocations: 3.207 MB / 0.8809 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/0.9063, allocations: 4 kB / 0.8809 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/0.9065, allocations: 79.97 kB / 0.881 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00028/0.9068, allocations: 179.9 kB / 0.8812 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005739/0.9126, allocations: 3.467 MB / 0.8845 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/0.9276, allocations: 7.633 MB / 0.892 GB, free: 12.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002959/0.9306, allocations: 1.457 MB / 0.8934 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002041/0.9326, allocations: 1.184 MB / 0.8946 GB, free: 9.672 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.9341, allocations: 0.4898 MB / 0.8951 GB, free: 9.184 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.821e-05/0.9341, allocations: 52.56 kB / 0.8951 GB, free: 9.121 MB / 0.698 GB Notification: Performance of pre-optimization done (n=196): time 5.06e-06/0.9341, allocations: 0 / 0.8951 GB, free: 9.121 MB / 0.698 GB Notification: Performance of matching and sorting (n=200): time 0.01678/0.9509, allocations: 7.812 MB / 0.9027 GB, free: 1.254 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.951, allocations: 107 kB / 0.9028 GB, free: 1.133 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002373/0.9534, allocations: 1.544 MB / 0.9043 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001726/0.9535, allocations: 57.7 kB / 0.9044 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.9547, allocations: 1.065 MB / 0.9054 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007783/0.9555, allocations: 0.7046 MB / 0.9061 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006843/0.9562, allocations: 351.5 kB / 0.9065 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.9563, allocations: 309.1 kB / 0.9068 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/0.9581, allocations: 1.003 MB / 0.9077 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/0.9603, allocations: 1.187 MB / 0.9089 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004284/0.9645, allocations: 2.357 MB / 0.9112 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.9645, allocations: 0 / 0.9112 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006933/0.9715, allocations: 3.137 MB / 0.9143 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.9715, allocations: 11.94 kB / 0.9143 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.9715, allocations: 0 / 0.9143 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/0.9739, allocations: 0.5549 MB / 0.9148 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.9755, allocations: 351.5 kB / 0.9152 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3074/1.283, allocations: 6.023 MB / 0.921 GB, free: 312.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/1.285, allocations: 53.97 kB / 0.9211 GB, free: 312.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004868/1.286, allocations: 118.4 kB / 0.9212 GB, free: 312.3 MB / 0.7136 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.001526/1.287, allocations: 0.5431 MB / 0.9217 GB, free: 312.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.288, allocations: 294.3 kB / 0.922 GB, free: 312.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008631/1.297, allocations: 4.367 MB / 0.9263 GB, free: 311.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.73e-05/1.297, allocations: 17.59 kB / 0.9263 GB, free: 311.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/1.297, allocations: 8.625 kB / 0.9263 GB, free: 311.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/1.297, allocations: 6.75 kB / 0.9263 GB, free: 311.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009526/1.306, allocations: 5.396 MB / 0.9316 GB, free: 308.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.306, allocations: 2.625 kB / 0.9316 GB, free: 308.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/1.308, allocations: 292.1 kB / 0.9319 GB, free: 308.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002019/1.31, allocations: 0.565 MB / 0.9324 GB, free: 308.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/1.31, allocations: 77.86 kB / 0.9325 GB, free: 308.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006312/1.316, allocations: 6.053 MB / 0.9384 GB, free: 304.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/1.316, allocations: 5.625 kB / 0.9384 GB, free: 304.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007899/1.324, allocations: 4.656 MB / 0.9429 GB, free: 302.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.325, allocations: 491.7 kB / 0.9434 GB, free: 302.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000455/1.326, allocations: 49.05 kB / 0.9435 GB, free: 302.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.327, allocations: 40.2 kB / 0.9435 GB, free: 302.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004862/1.328, allocations: 174.5 kB / 0.9437 GB, free: 302.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000261/1.328, allocations: 104.6 kB / 0.9438 GB, free: 302.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001923/1.33, allocations: 1.148 MB / 0.9449 GB, free: 301.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/1.33, allocations: 0 / 0.9449 GB, free: 301.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006326/1.336, allocations: 1.661 MB / 0.9465 GB, free: 301.7 MB / 0.7136 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.005252/1.341, allocations: 2.017 MB / 0.9485 GB, free: 301.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006016/1.347, allocations: 2.877 MB / 0.9513 GB, free: 300.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.347, allocations: 3.438 kB / 0.9513 GB, free: 300.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003362/1.351, allocations: 1.738 MB / 0.953 GB, free: 299.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005074/1.356, allocations: 1.108 MB / 0.9541 GB, free: 299.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/1.366, allocations: 5.241 MB / 0.9592 GB, free: 296.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/1.367, allocations: 1.242 MB / 0.9604 GB, free: 296.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002938/1.37, allocations: 1.134 MB / 0.9615 GB, free: 296.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007317/1.371, allocations: 239.9 kB / 0.9617 GB, free: 296.4 MB / 0.7136 GB Notification: Performance of SimCode: time 1.813e-06/1.371, allocations: 0 / 0.9617 GB, free: 296.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.0941/1.465, allocations: 74.36 MB / 1.034 GB, free: 226.2 MB / 0.7136 GB " [Timeout remaining time 659] 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: 10.297021389007568]