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.002515/0.002515, allocations: 85.48 kB / 19.44 MB, free: 344 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.00293/0.00293, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.593/1.593, allocations: 177.1 MB / 203.1 MB, free: 5.277 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.013/1.013, allocations: 118.6 MB / 378.2 MB, free: 1.457 MB / 346.7 MB " [Timeout remaining time 179] 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.823e-06/1.823e-06, allocations: 1.375 kB / 482.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.716e-05, allocations: 5.266 kB / 482.9 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.8147/0.8148, allocations: 382.3 MB / 0.8449 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03102/0.8458, allocations: 18.33 MB / 0.8628 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.8487, allocations: 130.8 kB / 0.8629 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00655/0.8553, allocations: 1.801 MB / 0.8646 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.02858/0.8839, allocations: 9.128 MB / 0.8736 GB, free: 7.48 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01435/0.8982, allocations: 4.458 MB / 0.8779 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008253/0.9065, allocations: 4.608 MB / 0.8824 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.9078, allocations: 0.6391 MB / 0.883 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008894/0.9167, allocations: 3.51 MB / 0.8865 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004339/0.9211, allocations: 1.691 MB / 0.8881 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008966/0.922, allocations: 244 kB / 0.8883 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03392/0.9559, allocations: 13.75 MB / 0.9018 GB, free: 10.46 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001938/0.9578, allocations: 0.9579 MB / 0.9027 GB, free: 9.496 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002503/0.9603, allocations: 1.08 MB / 0.9038 GB, free: 8.414 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.4294/1.39, allocations: 10.93 MB / 0.9144 GB, free: 24.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/1.39, allocations: 2.891 kB / 0.9144 GB, free: 24.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.904e-06/1.39, allocations: 0.875 kB / 0.9144 GB, free: 24.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002043/1.39, allocations: 1.094 kB / 0.9144 GB, free: 24.64 MB / 0.698 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.02351/1.413, allocations: 5.143 MB / 0.9195 GB, free: 22.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.414, allocations: 10.69 kB / 0.9195 GB, free: 22.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/1.417, allocations: 0.5941 MB / 0.9201 GB, free: 22.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006228/1.423, allocations: 1.877 MB / 0.9219 GB, free: 22.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/1.423, allocations: 144.3 kB / 0.922 GB, free: 22.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008525/1.424, allocations: 207.2 kB / 0.9222 GB, free: 22.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007095/1.431, allocations: 2.25 MB / 0.9244 GB, free: 21.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-05/1.431, allocations: 3.094 kB / 0.9244 GB, free: 21.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003577/1.431, allocations: 84.44 kB / 0.9245 GB, free: 21.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003323/1.432, allocations: 186.3 kB / 0.9247 GB, free: 21.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005285/1.437, allocations: 1.786 MB / 0.9264 GB, free: 21.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01979/1.457, allocations: 8.456 MB / 0.9347 GB, free: 19.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/1.46, allocations: 1.116 MB / 0.9358 GB, free: 18.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/1.461, allocations: 0.8639 MB / 0.9366 GB, free: 18.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/1.463, allocations: 488.5 kB / 0.9371 GB, free: 18.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/1.463, allocations: 61.42 kB / 0.9371 GB, free: 18.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=196): time 6.012e-06/1.463, allocations: 0 / 0.9371 GB, free: 18.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=200): time 0.01429/1.477, allocations: 6.187 MB / 0.9432 GB, free: 17.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/1.477, allocations: 105.8 kB / 0.9433 GB, free: 17.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/1.479, allocations: 1.825 MB / 0.9451 GB, free: 17.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002559/1.48, allocations: 57.83 kB / 0.9451 GB, free: 17.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006937/1.48, allocations: 1.19 MB / 0.9463 GB, free: 16.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006062/1.481, allocations: 0.7595 MB / 0.947 GB, free: 16.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006609/1.482, allocations: 407.3 kB / 0.9474 GB, free: 16.31 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.44e-05/1.482, allocations: 478.8 kB / 0.9479 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/1.483, allocations: 0.6628 MB / 0.9485 GB, free: 15.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/1.485, allocations: 0.9353 MB / 0.9494 GB, free: 15.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/1.488, allocations: 1.844 MB / 0.9512 GB, free: 15.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/1.488, allocations: 1.844 kB / 0.9512 GB, free: 15.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.005441/1.493, allocations: 2.491 MB / 0.9537 GB, free: 15.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/1.493, allocations: 5.562 kB / 0.9537 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.493, allocations: 2.031 kB / 0.9537 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/1.496, allocations: 0.5484 MB / 0.9542 GB, free: 15.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/1.497, allocations: 353.7 kB / 0.9545 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007457/1.504, allocations: 7.208 MB / 0.9616 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/1.507, allocations: 52.58 kB / 0.9616 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003837/1.507, allocations: 112.6 kB / 0.9617 GB, free: 11.16 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.001147/1.508, allocations: 438.1 kB / 0.9622 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007839/1.509, allocations: 301.7 kB / 0.9625 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007073/1.516, allocations: 4.19 MB / 0.9665 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-05/1.516, allocations: 24.48 kB / 0.9666 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/1.516, allocations: 7.344 kB / 0.9666 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/1.516, allocations: 8.531 kB / 0.9666 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/1.526, allocations: 5.154 MB / 0.9716 GB, free: 9.773 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.526, allocations: 6.625 kB / 0.9716 GB, free: 9.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/1.528, allocations: 287.3 kB / 0.9719 GB, free: 9.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002186/1.53, allocations: 0.5736 MB / 0.9725 GB, free: 9.707 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002175/1.53, allocations: 76.78 kB / 0.9725 GB, free: 9.707 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008118/1.538, allocations: 7.213 MB / 0.9796 GB, free: 21.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.538, allocations: 8.219 kB / 0.9796 GB, free: 21.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007114/1.545, allocations: 3.652 MB / 0.9831 GB, free: 21.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/1.547, allocations: 468.6 kB / 0.9836 GB, free: 20.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004563/1.547, allocations: 44.92 kB / 0.9836 GB, free: 20.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.549, allocations: 43.2 kB / 0.9837 GB, free: 20.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003929/1.549, allocations: 173.8 kB / 0.9838 GB, free: 20.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002461/1.549, allocations: 102 kB / 0.9839 GB, free: 20.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001626/1.551, allocations: 1.223 MB / 0.9851 GB, free: 20.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/1.551, allocations: 0 / 0.9851 GB, free: 20.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005257/1.556, allocations: 1.661 MB / 0.9868 GB, free: 20.48 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.00443/1.56, allocations: 2.024 MB / 0.9887 GB, free: 19.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004521/1.565, allocations: 2.493 MB / 0.9912 GB, free: 19.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.565, allocations: 0 / 0.9912 GB, free: 19.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002857/1.568, allocations: 1.694 MB / 0.9928 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005239/1.573, allocations: 1.094 MB / 0.9939 GB, free: 18.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007703/1.581, allocations: 4.768 MB / 0.9985 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.582, allocations: 1.19 MB / 0.9997 GB, free: 16.67 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002877/1.585, allocations: 1.051 MB / 1.001 GB, free: 16.47 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006826/1.585, allocations: 244.4 kB / 1.001 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of SimCode: time 2.415e-06/1.585, allocations: 2.625 kB / 1.001 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of Templates: time 0.1233/1.709, allocations: 74.6 MB / 1.074 GB, free: 10.88 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 240] 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.524641654919833]