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.0009334/0.0009334, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0008051/0.0008051, allocations: 177.9 kB / 23.22 MB, free: 1.348 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 0.8239/0.8239, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6075/0.6075, allocations: 116 MB / 376 MB, free: 4.215 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.283e-06/1.283e-06, allocations: 0 / 0.5545 GB, free: 12.87 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.671e-05, allocations: 6.219 kB / 0.5545 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.5208/0.5209, allocations: 339.1 MB / 0.8857 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01618/0.537, allocations: 16.22 MB / 0.9015 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003067/0.5401, allocations: 126.8 kB / 0.9016 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004821/0.5449, allocations: 1.798 MB / 0.9034 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.02088/0.5658, allocations: 9.08 MB / 0.9123 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01135/0.5772, allocations: 4.454 MB / 0.9166 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.008071/0.5852, allocations: 4.593 MB / 0.9211 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.5865, allocations: 0.6339 MB / 0.9217 GB, free: 4.977 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007272/0.5938, allocations: 3.479 MB / 0.9251 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.596, allocations: 1.667 MB / 0.9267 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002756/0.5962, allocations: 244 kB / 0.927 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02315/0.6194, allocations: 13.75 MB / 0.9404 GB, free: 1.797 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.6209, allocations: 0.9462 MB / 0.9413 GB, free: 0.8477 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.4479/1.069, allocations: 1.062 MB / 0.9424 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.03394/1.103, allocations: 10.85 MB / 0.953 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.103, allocations: 0.5625 kB / 0.953 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.224e-06/1.103, allocations: 0 / 0.953 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001772/1.103, allocations: 1.531 kB / 0.953 GB, free: 15.56 MB / 0.7761 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.01573/1.119, allocations: 4.752 MB / 0.9576 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.119, allocations: 10 kB / 0.9576 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/1.12, allocations: 397 kB / 0.958 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003269/1.123, allocations: 1.723 MB / 0.9597 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/1.123, allocations: 145.7 kB / 0.9598 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000277/1.124, allocations: 202.2 kB / 0.96 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004044/1.128, allocations: 3.212 MB / 0.9631 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/1.128, allocations: 2.625 kB / 0.9631 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/1.128, allocations: 82.98 kB / 0.9632 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001805/1.128, allocations: 184.7 kB / 0.9634 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003618/1.132, allocations: 3.465 MB / 0.9668 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/1.142, allocations: 7.544 MB / 0.9741 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/1.144, allocations: 1.449 MB / 0.9756 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/1.145, allocations: 1.199 MB / 0.9767 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000863/1.146, allocations: 478.9 kB / 0.9772 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/1.146, allocations: 56.61 kB / 0.9772 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=196): time 5.25e-06/1.146, allocations: 2.844 kB / 0.9772 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=200): time 0.01012/1.156, allocations: 7.718 MB / 0.9848 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/1.156, allocations: 102 kB / 0.9849 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/1.158, allocations: 1.476 MB / 0.9863 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/1.158, allocations: 62.42 kB / 0.9864 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/1.159, allocations: 1.042 MB / 0.9874 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003652/1.159, allocations: 0.706 MB / 0.9881 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004155/1.159, allocations: 353.3 kB / 0.9884 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 2.893e-05/1.159, allocations: 304.2 kB / 0.9887 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/1.16, allocations: 1.008 MB / 0.9897 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/1.162, allocations: 1.186 MB / 0.9909 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002375/1.164, allocations: 2.358 MB / 0.9932 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.164, allocations: 3.781 kB / 0.9932 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.00385/1.168, allocations: 3.065 MB / 0.9962 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/1.168, allocations: 6.562 kB / 0.9962 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/1.168, allocations: 2.5 kB / 0.9962 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/1.169, allocations: 486.5 kB / 0.9966 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/1.17, allocations: 349.3 kB / 0.997 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005354/1.175, allocations: 5.984 MB / 1.003 GB, free: 20.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/1.177, allocations: 53.98 kB / 1.003 GB, free: 20.88 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/1.177, allocations: 117.9 kB / 1.003 GB, free: 20.88 MB / 0.7917 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.001261/1.178, allocations: 0.5341 MB / 1.003 GB, free: 20.76 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005322/1.179, allocations: 230.6 kB / 1.004 GB, free: 20.64 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004781/1.183, allocations: 4.362 MB / 1.008 GB, free: 20.23 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.693e-05/1.183, allocations: 18.19 kB / 1.008 GB, free: 20.23 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/1.183, allocations: 6.531 kB / 1.008 GB, free: 20.23 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/1.183, allocations: 12.09 kB / 1.008 GB, free: 20.23 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007446/1.191, allocations: 5.381 MB / 1.013 GB, free: 19.76 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/1.191, allocations: 3.938 kB / 1.013 GB, free: 19.75 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/1.192, allocations: 281.3 kB / 1.014 GB, free: 19.75 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/1.193, allocations: 499 kB / 1.014 GB, free: 19.72 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/1.193, allocations: 81.41 kB / 1.014 GB, free: 19.72 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0056/1.198, allocations: 6 MB / 1.02 GB, free: 16.95 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/1.198, allocations: 8.906 kB / 1.02 GB, free: 16.95 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006254/1.205, allocations: 4.588 MB / 1.024 GB, free: 16.44 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/1.206, allocations: 484.7 kB / 1.025 GB, free: 16.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002695/1.206, allocations: 43.16 kB / 1.025 GB, free: 16.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006525/1.207, allocations: 43.34 kB / 1.025 GB, free: 16.32 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003535/1.207, allocations: 171 kB / 1.025 GB, free: 16.32 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/1.207, allocations: 100.1 kB / 1.025 GB, free: 16.32 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001325/1.209, allocations: 1.111 MB / 1.026 GB, free: 16.17 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3e-08/1.209, allocations: 4.719 kB / 1.026 GB, free: 16.17 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005937/1.215, allocations: 1.658 MB / 1.028 GB, free: 15.94 MB / 0.7917 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.005853/1.221, allocations: 2.018 MB / 1.03 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004963/1.226, allocations: 2.877 MB / 1.033 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.226, allocations: 0.9375 kB / 1.033 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002592/1.228, allocations: 1.735 MB / 1.034 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003859/1.232, allocations: 1.026 MB / 1.035 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007893/1.24, allocations: 5.231 MB / 1.041 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/1.241, allocations: 1.217 MB / 1.042 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/1.242, allocations: 272.8 kB / 1.042 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of SimCode: time 1.743e-06/1.242, allocations: 0 / 1.042 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of Templates: time 0.08357/1.326, allocations: 81.2 MB / 1.121 GB, free: 10.02 MB / 0.8542 GB " [Timeout remaining time 659] 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: 14.033514944836497]