Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001836/0.001836, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002304/0.002304, allocations: 221.7 kB / 22.26 MB, free: 5.125 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7796/0.7796, allocations: 94.54 MB / 407 MB, free: 9.195 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_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_ThermofluidStream.Topology.Tests.TestJunction") [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.002677/0.002677, allocations: 105 kB / 0.5554 GB, free: 38.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1113, allocations: 73.05 MB / 0.6268 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.4711/0.5823, allocations: 145.2 MB / 0.7685 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004166/0.5865, allocations: 4.641 MB / 0.7731 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004592/0.5869, allocations: 42.2 kB / 0.7731 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006438/0.5876, allocations: 202.3 kB / 0.7733 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007048/0.5883, allocations: 322.8 kB / 0.7736 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.5894, allocations: 457.4 kB / 0.774 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.5904, allocations: 0.7467 MB / 0.7748 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.5906, allocations: 74.16 kB / 0.7748 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.5917, allocations: 405.5 kB / 0.7752 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006729/0.5924, allocations: 347 kB / 0.7756 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.553e-05/0.5925, allocations: 31.53 kB / 0.7756 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.5936, allocations: 473.1 kB / 0.776 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.5937, allocations: 106.6 kB / 0.7761 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.594, allocations: 206 kB / 0.7763 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.5951, allocations: 0.6531 MB / 0.777 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.5951, allocations: 4.766 kB / 0.777 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5951, allocations: 0 / 0.777 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.5951, allocations: 1.594 kB / 0.777 GB, free: 2.109 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.001666/0.5968, allocations: 0.755 MB / 0.7777 GB, free: 17.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.5968, allocations: 9.312 kB / 0.7777 GB, free: 17.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.5969, allocations: 56.19 kB / 0.7778 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007488/0.5977, allocations: 422.1 kB / 0.7782 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.5977, allocations: 18.98 kB / 0.7782 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.5978, allocations: 23.53 kB / 0.7782 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.5984, allocations: 452.5 kB / 0.7787 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.5984, allocations: 1.375 kB / 0.7787 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.5984, allocations: 8.469 kB / 0.7787 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/0.5985, allocations: 21.44 kB / 0.7787 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007731/0.5992, allocations: 486.9 kB / 0.7792 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.6014, allocations: 1.411 MB / 0.7805 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.6018, allocations: 225.5 kB / 0.7807 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.6021, allocations: 195.8 kB / 0.7809 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.6023, allocations: 34.84 kB / 0.781 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.6023, allocations: 36.5 kB / 0.781 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.713e-06/0.6023, allocations: 0 / 0.781 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002485/0.6048, allocations: 1.241 MB / 0.7822 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.6048, allocations: 56.84 kB / 0.7823 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/0.6052, allocations: 400.2 kB / 0.7827 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.6053, allocations: 30.39 kB / 0.7827 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.6054, allocations: 199.7 kB / 0.7829 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.994e-05/0.6055, allocations: 121.3 kB / 0.783 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.793e-05/0.6056, allocations: 69.5 kB / 0.7831 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.6058, allocations: 364.1 kB / 0.7834 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.606, allocations: 141.6 kB / 0.7835 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.6062, allocations: 148.4 kB / 0.7837 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.6067, allocations: 343.9 kB / 0.784 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.6067, allocations: 2.484 kB / 0.784 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008162/0.6075, allocations: 0.5175 MB / 0.7845 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.6075, allocations: 5.469 kB / 0.7845 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.6075, allocations: 0 / 0.7845 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003534/0.6079, allocations: 120.6 kB / 0.7846 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.6082, allocations: 56.95 kB / 0.7847 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.6107, allocations: 2.226 MB / 0.7869 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.611, allocations: 11.06 kB / 0.7869 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.611, allocations: 16.41 kB / 0.7869 GB, free: 14.09 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.0002165/0.6113, allocations: 166.5 kB / 0.787 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.575e-05/0.6113, allocations: 51.77 kB / 0.7871 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009252/0.6123, allocations: 0.6543 MB / 0.7877 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.6123, allocations: 3.188 kB / 0.7877 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6123, allocations: 0 / 0.7877 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6123, allocations: 1.094 kB / 0.7877 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.6127, allocations: 416.4 kB / 0.7881 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.6127, allocations: 2.625 kB / 0.7881 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.6129, allocations: 40.55 kB / 0.7882 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003128/0.6132, allocations: 124.6 kB / 0.7883 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.6132, allocations: 11.34 kB / 0.7883 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/0.6157, allocations: 2.241 MB / 0.7905 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6157, allocations: 0 / 0.7905 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000964/0.6167, allocations: 0.6465 MB / 0.7911 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/0.6167, allocations: 38.86 kB / 0.7912 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/0.6168, allocations: 8.875 kB / 0.7912 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.617, allocations: 8.469 kB / 0.7912 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.617, allocations: 25.16 kB / 0.7912 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.6171, allocations: 15.2 kB / 0.7912 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003133/0.6174, allocations: 316.7 kB / 0.7915 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6174, allocations: 2.156 kB / 0.7915 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005182/0.6179, allocations: 110.4 kB / 0.7916 GB, free: 11.99 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.0002656/0.6182, allocations: 184.9 kB / 0.7918 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008886/0.6191, allocations: 0.5038 MB / 0.7923 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6191, allocations: 0 / 0.7923 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005557/0.6196, allocations: 350.8 kB / 0.7926 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005942/0.6202, allocations: 112.3 kB / 0.7927 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.6219, allocations: 0.9605 MB / 0.7937 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.6224, allocations: 0.832 MB / 0.7945 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002541/0.6226, allocations: 98.66 kB / 0.7946 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.936e-05/0.6227, allocations: 38.64 kB / 0.7946 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.6227, allocations: 4 kB / 0.7946 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of Templates: time 0.01321/0.6359, allocations: 7.343 MB / 0.8018 GB, free: 9.371 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.387499982025474]