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.001597/0.001597, allocations: 75.64 kB / 19.16 MB, free: 2.566 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.001729/0.001729, allocations: 166.2 kB / 22.44 MB, free: 5.309 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.364/1.364, allocations: 177.2 MB / 202.8 MB, free: 9.207 MB / 190.1 MB " [Timeout remaining time 179] 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.7017/0.7017, allocations: 74.91 MB / 334.1 MB, free: 20 kB / 302.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.002522/0.002522, allocations: 87.94 kB / 496 MB, free: 29.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1162, allocations: 73.03 MB / 0.5557 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1514/0.2675, allocations: 124.6 MB / 0.6774 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005381/0.2729, allocations: 4.211 MB / 0.6815 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.2731, allocations: 39.62 kB / 0.6815 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.2737, allocations: 182.7 kB / 0.6817 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0006805/0.2744, allocations: 326.1 kB / 0.682 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009616/0.2754, allocations: 434.1 kB / 0.6824 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008149/0.2762, allocations: 0.7557 MB / 0.6831 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.2764, allocations: 62.91 kB / 0.6832 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008664/0.2772, allocations: 0.4982 MB / 0.6837 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004836/0.2777, allocations: 330.8 kB / 0.684 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.284e-05/0.2778, allocations: 35.94 kB / 0.684 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000705/0.2785, allocations: 391.2 kB / 0.6844 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.2786, allocations: 103.6 kB / 0.6845 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.2788, allocations: 167.1 kB / 0.6847 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008891/0.2797, allocations: 0.681 MB / 0.6853 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2797, allocations: 0 / 0.6853 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2797, allocations: 0 / 0.6853 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2797, allocations: 0 / 0.6853 GB, free: 10.29 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.001486/0.2812, allocations: 0.7577 MB / 0.6861 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.2812, allocations: 8.031 kB / 0.6861 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.802e-05/0.2813, allocations: 56.56 kB / 0.6861 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/0.282, allocations: 420.3 kB / 0.6865 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.282, allocations: 24.86 kB / 0.6866 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.2821, allocations: 24.38 kB / 0.6866 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006897/0.2828, allocations: 445.5 kB / 0.687 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2828, allocations: 0 / 0.687 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.2828, allocations: 15.98 kB / 0.687 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.2828, allocations: 16.5 kB / 0.687 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007519/0.2836, allocations: 489.5 kB / 0.6875 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.2856, allocations: 1.179 MB / 0.6887 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.2861, allocations: 222.5 kB / 0.6889 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.2864, allocations: 188.8 kB / 0.6891 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.2866, allocations: 27.97 kB / 0.6891 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.2866, allocations: 38.56 kB / 0.6891 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.773e-06/0.2866, allocations: 0 / 0.6891 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002537/0.2892, allocations: 1.231 MB / 0.6903 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.2892, allocations: 55.41 kB / 0.6904 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.2896, allocations: 329.7 kB / 0.6907 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.2896, allocations: 29.7 kB / 0.6907 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.2898, allocations: 208.7 kB / 0.6909 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.2899, allocations: 127 kB / 0.691 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.29, allocations: 65.67 kB / 0.6911 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2902, allocations: 346.8 kB / 0.6914 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.2905, allocations: 139.9 kB / 0.6916 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.2907, allocations: 151.8 kB / 0.6917 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/0.2913, allocations: 345.2 kB / 0.692 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.2913, allocations: 3.938 kB / 0.692 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009025/0.2922, allocations: 0.5055 MB / 0.6925 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.2922, allocations: 4 kB / 0.6925 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2922, allocations: 0 / 0.6925 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003787/0.2926, allocations: 124.7 kB / 0.6927 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.2929, allocations: 55.89 kB / 0.6927 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.2955, allocations: 2.182 MB / 0.6948 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.2957, allocations: 8 kB / 0.6949 GB, free: 224 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.2957, allocations: 16.03 kB / 0.6949 GB, free: 208 kB / 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.0001962/0.2959, allocations: 173.7 kB / 0.695 GB, free: 24 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2379/0.5338, allocations: 38.2 kB / 0.6951 GB, free: 142.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.5349, allocations: 0.6418 MB / 0.6957 GB, free: 142.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5349, allocations: 5.562 kB / 0.6957 GB, free: 142.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5349, allocations: 9.625 kB / 0.6957 GB, free: 142.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5349, allocations: 1.828 kB / 0.6957 GB, free: 142.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.5353, allocations: 326.4 kB / 0.696 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5353, allocations: 0 / 0.696 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.5355, allocations: 31.25 kB / 0.6961 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003242/0.5358, allocations: 123.5 kB / 0.6962 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.5358, allocations: 13.42 kB / 0.6962 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.5377, allocations: 2.187 MB / 0.6983 GB, free: 141 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5377, allocations: 0.9062 kB / 0.6983 GB, free: 141 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009022/0.5386, allocations: 0.6433 MB / 0.6989 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.5386, allocations: 34.56 kB / 0.699 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.5387, allocations: 6.438 kB / 0.699 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.5388, allocations: 7.094 kB / 0.699 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.5389, allocations: 23.42 kB / 0.699 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.5389, allocations: 17.89 kB / 0.699 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002277/0.5391, allocations: 269.7 kB / 0.6993 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5391, allocations: 3.938 kB / 0.6993 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004862/0.5396, allocations: 112.5 kB / 0.6994 GB, free: 140.6 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.0002181/0.5398, allocations: 187.9 kB / 0.6996 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007589/0.5406, allocations: 0.4974 MB / 0.7001 GB, free: 140.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5406, allocations: 0 / 0.7001 GB, free: 140.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004831/0.5411, allocations: 364.6 kB / 0.7004 GB, free: 140 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.5415, allocations: 63.95 kB / 0.7005 GB, free: 140 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.5427, allocations: 0.9353 MB / 0.7014 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.5429, allocations: 228.2 kB / 0.7016 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001972/0.5431, allocations: 87.75 kB / 0.7017 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.075e-05/0.5432, allocations: 37.02 kB / 0.7017 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.5432, allocations: 3 kB / 0.7017 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.01065/0.5538, allocations: 6.101 MB / 0.7077 GB, free: 137.8 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: 5.584017990157008]