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.001241/0.001241, allocations: 109.5 kB / 19.7 MB, free: 2.266 MB / 14.72 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.001599/0.001599, allocations: 216.9 kB / 23.01 MB, free: 4.59 MB / 14.72 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.347/1.347, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 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 0.7078/0.7078, allocations: 100.3 MB / 413.5 MB, free: 3.73 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 85.59 kB / 0.5645 GB, free: 35.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1119, allocations: 74.47 MB / 0.6372 GB, free: 7.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.6285/0.7404, allocations: 365.3 MB / 0.994 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04411/0.7845, allocations: 39.1 MB / 1.032 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.7863, allocations: 107 kB / 1.032 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00471/0.791, allocations: 2.064 MB / 1.034 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02023/0.8112, allocations: 8.851 MB / 1.043 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01034/0.8215, allocations: 4.359 MB / 1.047 GB, free: 13.74 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005387/0.8269, allocations: 4.031 MB / 1.051 GB, free: 9.695 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.8281, allocations: 0.6373 MB / 1.052 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004974/0.8331, allocations: 2.717 MB / 1.054 GB, free: 6.285 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002844/0.8359, allocations: 1.864 MB / 1.056 GB, free: 4.414 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000587/0.8365, allocations: 244 kB / 1.056 GB, free: 4.176 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.397/1.234, allocations: 17.38 MB / 1.073 GB, free: 12.11 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001185/1.235, allocations: 0.8647 MB / 1.074 GB, free: 12.11 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001848/1.237, allocations: 1.442 MB / 1.076 GB, free: 12.11 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0218/1.258, allocations: 10.09 MB / 1.086 GB, free: 11.52 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.258, allocations: 0 / 1.086 GB, free: 11.52 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.403e-06/1.258, allocations: 1 kB / 1.086 GB, free: 11.52 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.375e-05/1.258, allocations: 0 / 1.086 GB, free: 11.52 MB / 0.795 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.009004/1.267, allocations: 4.599 MB / 1.09 GB, free: 9.406 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/1.267, allocations: 9.25 kB / 1.09 GB, free: 9.406 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004901/1.268, allocations: 308.8 kB / 1.09 GB, free: 9.246 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/1.27, allocations: 1.578 MB / 1.092 GB, free: 8.797 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.972e-05/1.271, allocations: 144.2 kB / 1.092 GB, free: 8.793 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/1.271, allocations: 197 kB / 1.092 GB, free: 8.789 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003662/1.274, allocations: 3.129 MB / 1.095 GB, free: 8.652 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/1.274, allocations: 3.125 kB / 1.095 GB, free: 8.652 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/1.275, allocations: 79.81 kB / 1.095 GB, free: 8.652 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/1.275, allocations: 186 kB / 1.095 GB, free: 8.648 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00354/1.278, allocations: 3.46 MB / 1.099 GB, free: 8.633 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0117/1.29, allocations: 12.4 MB / 1.111 GB, free: 17.54 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/1.292, allocations: 1.5 MB / 1.112 GB, free: 17.48 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/1.293, allocations: 1.281 MB / 1.114 GB, free: 17.45 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/1.294, allocations: 499.2 kB / 1.114 GB, free: 17.45 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/1.294, allocations: 54.94 kB / 1.114 GB, free: 17.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=196): time 4.328e-06/1.294, allocations: 0 / 1.114 GB, free: 17.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=200): time 0.01102/1.305, allocations: 7.835 MB / 1.122 GB, free: 16.31 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/1.305, allocations: 101 kB / 1.122 GB, free: 16.22 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/1.307, allocations: 1.462 MB / 1.123 GB, free: 16.06 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/1.307, allocations: 61.11 kB / 1.123 GB, free: 16.03 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/1.308, allocations: 0.9223 MB / 1.124 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003525/1.308, allocations: 0.7061 MB / 1.125 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004446/1.308, allocations: 345 kB / 1.125 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.308, allocations: 306.8 kB / 1.126 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/1.31, allocations: 1.031 MB / 1.127 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/1.311, allocations: 1.154 MB / 1.128 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/1.314, allocations: 2.355 MB / 1.13 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.314, allocations: 0 / 1.13 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.004102/1.318, allocations: 3.068 MB / 1.133 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/1.318, allocations: 4.812 kB / 1.133 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.318, allocations: 4.25 kB / 1.133 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/1.319, allocations: 472.9 kB / 1.134 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/1.32, allocations: 337.2 kB / 1.134 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006561/1.327, allocations: 6.136 MB / 1.14 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009742/1.328, allocations: 46.86 kB / 1.14 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/1.328, allocations: 115.3 kB / 1.14 GB, free: 11.79 MB / 0.8106 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.0008653/1.329, allocations: 0.5222 MB / 1.141 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003573/1.329, allocations: 219.2 kB / 1.141 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005941/1.335, allocations: 4.64 MB / 1.145 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/1.335, allocations: 19.47 kB / 1.145 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.335, allocations: 7.969 kB / 1.145 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/1.335, allocations: 9.422 kB / 1.145 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008353/1.343, allocations: 6.262 MB / 1.151 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/1.343, allocations: 0 / 1.151 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009387/1.344, allocations: 308.3 kB / 1.152 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/1.345, allocations: 0.493 MB / 1.152 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/1.346, allocations: 77.25 kB / 1.152 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006352/1.352, allocations: 6.154 MB / 1.158 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.352, allocations: 4.312 kB / 1.158 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00561/1.358, allocations: 4.794 MB / 1.163 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004535/1.358, allocations: 208.8 kB / 1.163 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/1.358, allocations: 40.64 kB / 1.163 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008075/1.359, allocations: 49.59 kB / 1.163 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/1.359, allocations: 177 kB / 1.163 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/1.359, allocations: 109.1 kB / 1.164 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001206/1.361, allocations: 1.127 MB / 1.165 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of sort global known variables: time 7e-08/1.361, allocations: 0 / 1.165 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003862/1.365, allocations: 1.681 MB / 1.166 GB, free: 6.695 MB / 0.8106 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.003587/1.368, allocations: 2.007 MB / 1.168 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004428/1.373, allocations: 2.969 MB / 1.171 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.373, allocations: 0 / 1.171 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002665/1.375, allocations: 1.796 MB / 1.173 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/1.378, allocations: 0.8209 MB / 1.174 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007863/1.386, allocations: 5.199 MB / 1.179 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/1.387, allocations: 1.761 MB / 1.18 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008508/1.388, allocations: 279 kB / 1.181 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of SimCode: time 9.02e-07/1.388, allocations: 0 / 1.181 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of Templates: time 0.09339/1.482, allocations: 78.03 MB / 1.257 GB, free: 15.21 MB / 0.9044 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/jenkins1/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: 16.69192353193648]