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.001903/0.001903, allocations: 92.7 kB / 19.44 MB, free: 324 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.002472/0.002472, allocations: 165.3 kB / 22.76 MB, free: 1.652 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.482/1.482, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.157/1.157, allocations: 118.6 MB / 378.2 MB, free: 1.453 MB / 346.7 MB " [Timeout remaining time 178] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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="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_dev_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_dev_ThermofluidStream.Topology.Tests.TestJunctionNM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 482.9 MB, free: 8.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.073e-05, allocations: 5.828 kB / 482.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.8396/0.8396, allocations: 339.2 MB / 0.8028 GB, free: 8.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03194/0.8716, allocations: 16.24 MB / 0.8187 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003981/0.8756, allocations: 130.8 kB / 0.8188 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.007304/0.8829, allocations: 1.798 MB / 0.8205 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.03306/0.9159, allocations: 9.124 MB / 0.8295 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01481/0.9307, allocations: 4.462 MB / 0.8338 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008445/0.9392, allocations: 4.616 MB / 0.8383 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001843/0.941, allocations: 0.6313 MB / 0.8389 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009572/0.9506, allocations: 3.498 MB / 0.8424 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004479/0.9551, allocations: 1.667 MB / 0.844 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.9562, allocations: 248 kB / 0.8442 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03466/0.9909, allocations: 13.75 MB / 0.8576 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.00195/0.9928, allocations: 0.9461 MB / 0.8586 GB, free: 15 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002622/0.9954, allocations: 1.076 MB / 0.8596 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.03327/1.029, allocations: 10.93 MB / 0.8703 GB, free: 2.957 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/1.029, allocations: 0 / 0.8703 GB, free: 2.957 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.076e-06/1.029, allocations: 0 / 0.8703 GB, free: 2.957 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001145/1.029, allocations: 0 / 0.8703 GB, free: 2.957 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.01285/1.042, allocations: 4.807 MB / 0.875 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.042, allocations: 8.031 kB / 0.875 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/1.044, allocations: 0.5948 MB / 0.8756 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004218/1.048, allocations: 1.898 MB / 0.8774 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/1.048, allocations: 143.8 kB / 0.8776 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000379/1.049, allocations: 199.9 kB / 0.8778 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005949/1.054, allocations: 3.219 MB / 0.8809 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/1.054, allocations: 0 / 0.8809 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002193/1.055, allocations: 79.97 kB / 0.881 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003129/1.055, allocations: 191.8 kB / 0.8812 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006169/1.061, allocations: 3.455 MB / 0.8845 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01523/1.076, allocations: 7.633 MB / 0.892 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/1.08, allocations: 1.451 MB / 0.8934 GB, free: 10.92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002135/1.082, allocations: 1.184 MB / 0.8946 GB, free: 9.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/1.083, allocations: 489.5 kB / 0.895 GB, free: 9.254 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.333e-05/1.083, allocations: 56.56 kB / 0.8951 GB, free: 9.188 MB / 0.698 GB Notification: Performance of pre-optimization done (n=196): time 5.571e-06/1.083, allocations: 4 kB / 0.8951 GB, free: 9.184 MB / 0.698 GB Notification: Performance of matching and sorting (n=200): time 0.01699/1.1, allocations: 7.817 MB / 0.9027 GB, free: 1.309 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.1, allocations: 107 kB / 0.9028 GB, free: 1.188 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2711/1.371, allocations: 1.531 MB / 0.9043 GB, free: 299.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005219/1.372, allocations: 60.08 kB / 0.9044 GB, free: 299.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008295/1.373, allocations: 1.069 MB / 0.9054 GB, free: 299.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007868/1.374, allocations: 0.7069 MB / 0.9061 GB, free: 299.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006985/1.374, allocations: 348.2 kB / 0.9064 GB, free: 299.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.64e-05/1.374, allocations: 302.8 kB / 0.9067 GB, free: 299.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/1.376, allocations: 1.006 MB / 0.9077 GB, free: 298.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/1.378, allocations: 1.186 MB / 0.9089 GB, free: 298.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003535/1.382, allocations: 2.358 MB / 0.9112 GB, free: 297.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/1.382, allocations: 0 / 0.9112 GB, free: 297.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.005152/1.387, allocations: 3.154 MB / 0.9143 GB, free: 295.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.387, allocations: 5.219 kB / 0.9143 GB, free: 295.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.387, allocations: 2.656 kB / 0.9143 GB, free: 295.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002034/1.389, allocations: 0.5471 MB / 0.9148 GB, free: 295.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/1.39, allocations: 352.5 kB / 0.9151 GB, free: 295.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006722/1.397, allocations: 6.024 MB / 0.921 GB, free: 291.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/1.399, allocations: 52.7 kB / 0.9211 GB, free: 291.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003065/1.399, allocations: 117.3 kB / 0.9212 GB, free: 291.4 MB / 0.698 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.001054/1.4, allocations: 0.5396 MB / 0.9217 GB, free: 291.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000701/1.401, allocations: 298 kB / 0.922 GB, free: 290.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006871/1.408, allocations: 4.372 MB / 0.9263 GB, free: 289.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.826e-05/1.408, allocations: 18.34 kB / 0.9263 GB, free: 289.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/1.408, allocations: 7.75 kB / 0.9263 GB, free: 289.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.96e-05/1.408, allocations: 9.797 kB / 0.9263 GB, free: 289.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/1.418, allocations: 5.401 MB / 0.9316 GB, free: 287 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/1.418, allocations: 1.344 kB / 0.9316 GB, free: 287 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/1.42, allocations: 288 kB / 0.9318 GB, free: 287 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002492/1.422, allocations: 0.5658 MB / 0.9324 GB, free: 286.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002701/1.422, allocations: 79.66 kB / 0.9325 GB, free: 286.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007551/1.43, allocations: 6.052 MB / 0.9384 GB, free: 282.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.43, allocations: 3.859 kB / 0.9384 GB, free: 282.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007202/1.437, allocations: 4.665 MB / 0.9429 GB, free: 280.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.438, allocations: 489.7 kB / 0.9434 GB, free: 280.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003339/1.439, allocations: 40.56 kB / 0.9434 GB, free: 280.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.44, allocations: 49.16 kB / 0.9435 GB, free: 280.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004393/1.44, allocations: 169.3 kB / 0.9437 GB, free: 280.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/1.44, allocations: 98.78 kB / 0.9438 GB, free: 280.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001516/1.442, allocations: 1.143 MB / 0.9449 GB, free: 279.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/1.442, allocations: 0 / 0.9449 GB, free: 279.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005793/1.448, allocations: 1.664 MB / 0.9465 GB, free: 279.5 MB / 0.698 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.004114/1.452, allocations: 2.017 MB / 0.9485 GB, free: 279.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004657/1.456, allocations: 2.878 MB / 0.9513 GB, free: 278 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.456, allocations: 4 kB / 0.9513 GB, free: 278 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002725/1.459, allocations: 1.73 MB / 0.953 GB, free: 276.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004537/1.464, allocations: 1.113 MB / 0.9541 GB, free: 275.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009155/1.473, allocations: 5.244 MB / 0.9592 GB, free: 271.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.474, allocations: 1.244 MB / 0.9604 GB, free: 270.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003021/1.477, allocations: 1.127 MB / 0.9615 GB, free: 269.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006641/1.478, allocations: 240.4 kB / 0.9617 GB, free: 269 MB / 0.698 GB Notification: Performance of SimCode: time 1.272e-06/1.478, allocations: 0 / 0.9617 GB, free: 269 MB / 0.698 GB Notification: Performance of Templates: time 0.08985/1.567, allocations: 74.37 MB / 1.034 GB, free: 195.7 MB / 0.698 GB " [Timeout remaining time 658] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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.555795499007218]