Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.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.002005/0.002005, allocations: 85.48 kB / 19.44 MB, free: 348 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.002015/0.002015, allocations: 173.2 kB / 22.76 MB, free: 1.668 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.015/1.015, allocations: 118.6 MB / 378.2 MB, free: 1.488 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.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 1.062 kB / 482.9 MB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.855e-05, allocations: 2.312 kB / 482.9 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.2034/0.2034, allocations: 138.9 MB / 0.6072 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005809/0.2093, allocations: 3.875 MB / 0.611 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003488/0.2096, allocations: 39.62 kB / 0.611 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.2103, allocations: 182.6 kB / 0.6112 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0009126/0.2112, allocations: 373.7 kB / 0.6116 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.2123, allocations: 453.9 kB / 0.612 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.2134, allocations: 0.8254 MB / 0.6128 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.2136, allocations: 79.52 kB / 0.6129 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.2146, allocations: 0.5101 MB / 0.6134 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000606/0.2152, allocations: 351.2 kB / 0.6137 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 6.823e-05/0.2153, allocations: 28 kB / 0.6137 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00084/0.2161, allocations: 391.2 kB / 0.6141 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.2163, allocations: 115.5 kB / 0.6142 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.2165, allocations: 151.6 kB / 0.6144 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.2176, allocations: 0.6775 MB / 0.615 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2176, allocations: 3.938 kB / 0.615 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2176, allocations: 4 kB / 0.615 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2176, allocations: 0 / 0.615 GB, free: 13.62 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001796/0.2194, allocations: 0.9079 MB / 0.6159 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2194, allocations: 8.031 kB / 0.6159 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.2196, allocations: 76.55 kB / 0.616 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000899/0.2205, allocations: 486.2 kB / 0.6165 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.2205, allocations: 20.88 kB / 0.6165 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.2205, allocations: 24.38 kB / 0.6165 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000678/0.2212, allocations: 373.2 kB / 0.6169 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.2212, allocations: 3.938 kB / 0.6169 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.2213, allocations: 12 kB / 0.6169 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/0.2213, allocations: 12.5 kB / 0.6169 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006581/0.222, allocations: 329.6 kB / 0.6172 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.2246, allocations: 1.37 MB / 0.6186 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.2251, allocations: 195 kB / 0.6187 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.2254, allocations: 154.6 kB / 0.6189 GB, free: 9.535 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.2255, allocations: 23.98 kB / 0.6189 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.2256, allocations: 45.86 kB / 0.619 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 1.512e-06/0.2256, allocations: 0 / 0.619 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.002592/0.2282, allocations: 1.059 MB / 0.62 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.2282, allocations: 55.41 kB / 0.62 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005228/0.2288, allocations: 450.7 kB / 0.6205 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.2288, allocations: 33.7 kB / 0.6205 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.229, allocations: 283.5 kB / 0.6208 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.2292, allocations: 127 kB / 0.6209 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.2293, allocations: 79.33 kB / 0.621 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003321/0.2297, allocations: 0.5469 MB / 0.6215 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.2299, allocations: 103.9 kB / 0.6216 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.2301, allocations: 111.7 kB / 0.6217 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/0.2306, allocations: 263.6 kB / 0.622 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2306, allocations: 0 / 0.622 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009396/0.2316, allocations: 472.8 kB / 0.6224 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.2316, allocations: 8 kB / 0.6224 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2316, allocations: 0 / 0.6224 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004222/0.232, allocations: 111.6 kB / 0.6225 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.2323, allocations: 59.88 kB / 0.6226 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/0.2357, allocations: 2.723 MB / 0.6252 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.2359, allocations: 11.98 kB / 0.6253 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.236, allocations: 11.98 kB / 0.6253 GB, free: 2.754 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002482/0.2362, allocations: 204.5 kB / 0.6255 GB, free: 2.543 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.2363, allocations: 55.72 kB / 0.6255 GB, free: 2.488 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.2376, allocations: 0.6507 MB / 0.6261 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.2376, allocations: 11.94 kB / 0.6262 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.2376, allocations: 4 kB / 0.6262 GB, free: 1.781 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.2376, allocations: 3.984 kB / 0.6262 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.2381, allocations: 380.5 kB / 0.6265 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2381, allocations: 0 / 0.6265 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.2383, allocations: 35.89 kB / 0.6266 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004206/0.2388, allocations: 127.6 kB / 0.6267 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.2388, allocations: 11.97 kB / 0.6267 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003247/0.242, allocations: 2.754 MB / 0.6294 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.242, allocations: 0 / 0.6294 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.2431, allocations: 0.5172 MB / 0.6299 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.2433, allocations: 63.72 kB / 0.63 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.2433, allocations: 11.94 kB / 0.63 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.2435, allocations: 7.984 kB / 0.63 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.2436, allocations: 23.95 kB / 0.63 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.2436, allocations: 11.98 kB / 0.63 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005371/0.2441, allocations: 331 kB / 0.6303 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2441, allocations: 0 / 0.6303 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008933/0.245, allocations: 123.9 kB / 0.6304 GB, free: 13.22 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004055/0.2454, allocations: 178.5 kB / 0.6306 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.2468, allocations: 0.5093 MB / 0.6311 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2468, allocations: 0 / 0.6311 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.2478, allocations: 394.2 kB / 0.6315 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.2491, allocations: 131.8 kB / 0.6316 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.2518, allocations: 0.8606 MB / 0.6324 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.2521, allocations: 231.7 kB / 0.6327 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003769/0.2525, allocations: 86.98 kB / 0.6328 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.2527, allocations: 44.47 kB / 0.6328 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.2527, allocations: 0 / 0.6328 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of Templates: time 0.02076/0.2735, allocations: 7.616 MB / 0.6402 GB, free: 3.27 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.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: 6.444747225963511]