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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005686/0.005686, allocations: 103.6 kB / 15.74 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 202.5 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7111/0.7111, allocations: 93.71 MB / 384.3 MB, free: 6.891 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 79.86 kB / 0.5204 GB, free: 5.801 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1285, allocations: 68.27 MB / 0.5871 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.4412/0.5698, allocations: 144.5 MB / 0.7282 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005955/0.5758, allocations: 4.578 MB / 0.7327 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.5762, allocations: 27.81 kB / 0.7327 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007295/0.5769, allocations: 202.7 kB / 0.7329 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000723/0.5777, allocations: 314.2 kB / 0.7332 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.5788, allocations: 430.4 kB / 0.7336 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008332/0.5796, allocations: 0.7478 MB / 0.7343 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.5798, allocations: 122.6 kB / 0.7345 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007033/0.5806, allocations: 382.4 kB / 0.7348 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004838/0.581, allocations: 322.8 kB / 0.7351 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.909e-05/0.5811, allocations: 32 kB / 0.7352 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008865/0.582, allocations: 471 kB / 0.7356 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.5821, allocations: 103.6 kB / 0.7357 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.5824, allocations: 206.8 kB / 0.7359 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009212/0.5833, allocations: 0.6543 MB / 0.7365 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5833, allocations: 0 / 0.7365 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5833, allocations: 0 / 0.7365 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.5834, allocations: 4 kB / 0.7366 GB, free: 9.32 MB / 0.5762 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.001575/0.5849, allocations: 0.8331 MB / 0.7374 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.585, allocations: 8.031 kB / 0.7374 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.775e-05/0.5851, allocations: 52.61 kB / 0.7374 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007308/0.5858, allocations: 486.2 kB / 0.7379 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.5859, allocations: 20.94 kB / 0.7379 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.031e-05/0.5859, allocations: 36.3 kB / 0.7379 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007348/0.5867, allocations: 441.3 kB / 0.7384 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.5867, allocations: 0 / 0.7384 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.5867, allocations: 11.94 kB / 0.7384 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/0.5868, allocations: 20.56 kB / 0.7384 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007797/0.5876, allocations: 485.8 kB / 0.7389 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.5897, allocations: 1.431 MB / 0.7403 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.5902, allocations: 255.2 kB / 0.7405 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.5906, allocations: 212.8 kB / 0.7407 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/0.591, allocations: 332.4 kB / 0.741 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.591, allocations: 42.48 kB / 0.7411 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 1.703e-06/0.591, allocations: 4 kB / 0.7411 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002795/0.5938, allocations: 1.531 MB / 0.7426 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.5939, allocations: 51.41 kB / 0.7426 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.5943, allocations: 402 kB / 0.743 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.5944, allocations: 29.7 kB / 0.743 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.5945, allocations: 200.7 kB / 0.7432 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.5947, allocations: 126.9 kB / 0.7433 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.5948, allocations: 61.69 kB / 0.7434 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.595, allocations: 366.7 kB / 0.7437 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.5953, allocations: 143.9 kB / 0.7439 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.5955, allocations: 156.3 kB / 0.744 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005632/0.5961, allocations: 334.1 kB / 0.7443 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5961, allocations: 0 / 0.7443 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009549/0.5971, allocations: 0.5288 MB / 0.7449 GB, free: 360 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5971, allocations: 4 kB / 0.7449 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5971, allocations: 0 / 0.7449 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003949/0.5975, allocations: 116.8 kB / 0.745 GB, free: 236 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.5978, allocations: 55.89 kB / 0.745 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/0.6006, allocations: 2.329 MB / 0.7473 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.6008, allocations: 8 kB / 0.7473 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.6009, allocations: 19.98 kB / 0.7473 GB, free: 13.68 MB / 0.5919 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.0002023/0.6011, allocations: 163.6 kB / 0.7475 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.12e-05/0.6012, allocations: 51.7 kB / 0.7475 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.6023, allocations: 0.666 MB / 0.7482 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.6024, allocations: 0 / 0.7482 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6024, allocations: 4 kB / 0.7482 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6024, allocations: 0 / 0.7482 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005164/0.6029, allocations: 453.2 kB / 0.7486 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6029, allocations: 3.938 kB / 0.7486 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.6031, allocations: 27.97 kB / 0.7487 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003614/0.6035, allocations: 136.7 kB / 0.7488 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.6035, allocations: 11.98 kB / 0.7488 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.6063, allocations: 2.327 MB / 0.7511 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6063, allocations: 5.75 kB / 0.7511 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.6075, allocations: 0.646 MB / 0.7517 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.6076, allocations: 120.8 kB / 0.7518 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.6077, allocations: 4 kB / 0.7518 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.6078, allocations: 8.031 kB / 0.7518 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.6079, allocations: 19.97 kB / 0.7518 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.6079, allocations: 15.97 kB / 0.7519 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004339/0.6084, allocations: 322.9 kB / 0.7522 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6084, allocations: 0 / 0.7522 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005475/0.6089, allocations: 108 kB / 0.7523 GB, free: 8.344 MB / 0.5919 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.0003511/0.6093, allocations: 195.5 kB / 0.7525 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.6104, allocations: 0.522 MB / 0.753 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6104, allocations: 4 kB / 0.753 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006585/0.6111, allocations: 362.2 kB / 0.7533 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006142/0.6117, allocations: 115.6 kB / 0.7534 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.6134, allocations: 0.9608 MB / 0.7544 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.6139, allocations: 0.823 MB / 0.7552 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002429/0.6142, allocations: 100.1 kB / 0.7553 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.6143, allocations: 43.41 kB / 0.7553 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.6143, allocations: 0 / 0.7553 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of Templates: time 0.01419/0.6285, allocations: 7.115 MB / 0.7623 GB, free: 14.09 MB / 0.6075 GB 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1200] 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] Reference file matches