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.001853/0.001853, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002405/0.002405, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 8.012 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.7905/0.7905, allocations: 100.3 MB / 412.7 MB, free: 3.66 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.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: 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.002903/0.002903, allocations: 90.02 kB / 0.5638 GB, free: 35.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1244, allocations: 74.46 MB / 0.6365 GB, free: 7.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.4745/0.5989, allocations: 145.2 MB / 0.7782 GB, free: 160 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004992/0.6038, allocations: 4.643 MB / 0.7828 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004994/0.6043, allocations: 39.09 kB / 0.7828 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007183/0.6051, allocations: 206.2 kB / 0.783 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008906/0.606, allocations: 324.5 kB / 0.7833 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.6072, allocations: 451.4 kB / 0.7837 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008647/0.6081, allocations: 0.7512 MB / 0.7845 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.6083, allocations: 76.33 kB / 0.7845 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007888/0.6091, allocations: 409.8 kB / 0.7849 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005309/0.6096, allocations: 341.1 kB / 0.7853 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.417e-05/0.6097, allocations: 31.19 kB / 0.7853 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.6108, allocations: 475.8 kB / 0.7857 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.6109, allocations: 106 kB / 0.7858 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.6113, allocations: 217 kB / 0.7861 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.6126, allocations: 0.6448 MB / 0.7867 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6126, allocations: 0 / 0.7867 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6126, allocations: 0.5 kB / 0.7867 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.702e-05/0.6127, allocations: 0.5 kB / 0.7867 GB, free: 15.3 MB / 0.5919 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.002114/0.6148, allocations: 0.7559 MB / 0.7874 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.6148, allocations: 12.97 kB / 0.7874 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.615, allocations: 51.61 kB / 0.7875 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009102/0.6159, allocations: 426.4 kB / 0.7879 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.6159, allocations: 22.2 kB / 0.7879 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.616, allocations: 24.03 kB / 0.7879 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007543/0.6167, allocations: 449.4 kB / 0.7884 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.6167, allocations: 0 / 0.7884 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.6168, allocations: 9.281 kB / 0.7884 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/0.6168, allocations: 24.78 kB / 0.7884 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000744/0.6175, allocations: 489.6 kB / 0.7889 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.6198, allocations: 1.422 MB / 0.7903 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/0.6202, allocations: 221.3 kB / 0.7905 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.6206, allocations: 191 kB / 0.7906 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.6208, allocations: 37.25 kB / 0.7907 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.6208, allocations: 33.44 kB / 0.7907 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.743e-06/0.6208, allocations: 0 / 0.7907 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002694/0.6235, allocations: 1.237 MB / 0.7919 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.6235, allocations: 54.81 kB / 0.792 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.6239, allocations: 399.7 kB / 0.7924 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.624, allocations: 34.45 kB / 0.7924 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.6241, allocations: 200.8 kB / 0.7926 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.6242, allocations: 121.6 kB / 0.7927 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.6243, allocations: 65.06 kB / 0.7928 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.6245, allocations: 358.6 kB / 0.7931 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.6247, allocations: 143.8 kB / 0.7932 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.6249, allocations: 148.4 kB / 0.7934 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/0.6254, allocations: 346.8 kB / 0.7937 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6254, allocations: 4.719 kB / 0.7937 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008787/0.6263, allocations: 0.5142 MB / 0.7942 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.6263, allocations: 5.094 kB / 0.7942 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.6263, allocations: 4 kB / 0.7942 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000379/0.6267, allocations: 115.4 kB / 0.7943 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.627, allocations: 52.22 kB / 0.7944 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.6296, allocations: 2.229 MB / 0.7966 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.6299, allocations: 11.66 kB / 0.7966 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.6299, allocations: 14.56 kB / 0.7966 GB, free: 11.21 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.0002441/0.6301, allocations: 163.8 kB / 0.7967 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.6302, allocations: 52.28 kB / 0.7968 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.6313, allocations: 0.6561 MB / 0.7974 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6313, allocations: 7 kB / 0.7974 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6313, allocations: 3.922 kB / 0.7974 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6313, allocations: 0 / 0.7974 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.6317, allocations: 415.8 kB / 0.7978 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.6317, allocations: 0 / 0.7978 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.6319, allocations: 39.78 kB / 0.7979 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003211/0.6323, allocations: 126.3 kB / 0.798 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.6323, allocations: 12.67 kB / 0.798 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002416/0.6347, allocations: 2.233 MB / 0.8002 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6347, allocations: 0 / 0.8002 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009641/0.6357, allocations: 0.6458 MB / 0.8008 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.6358, allocations: 41.08 kB / 0.8009 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.6358, allocations: 8.938 kB / 0.8009 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.636, allocations: 9.438 kB / 0.8009 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.6361, allocations: 20.81 kB / 0.8009 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.6361, allocations: 13.73 kB / 0.8009 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000317/0.6364, allocations: 318.3 kB / 0.8012 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6364, allocations: 0 / 0.8012 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005359/0.6369, allocations: 117.5 kB / 0.8013 GB, free: 9.07 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.0002907/0.6372, allocations: 181.2 kB / 0.8015 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009521/0.6382, allocations: 0.5144 MB / 0.802 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.6382, allocations: 4 kB / 0.802 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000617/0.6388, allocations: 352.1 kB / 0.8023 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.6394, allocations: 103.4 kB / 0.8024 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.6411, allocations: 0.9666 MB / 0.8034 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.6415, allocations: 0.8304 MB / 0.8042 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002467/0.6418, allocations: 92.3 kB / 0.8043 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.792e-05/0.6419, allocations: 40.61 kB / 0.8043 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.6419, allocations: 0 / 0.8043 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of Templates: time 0.01357/0.6554, allocations: 7.353 MB / 0.8115 GB, free: 4.305 MB / 0.5919 GB " [Timeout remaining time 659] 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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.307605247013271]