Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.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.00135/0.00135, allocations: 75.75 kB / 19.76 MB, free: 1.898 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.001457/0.001457, allocations: 160.4 kB / 23.01 MB, free: 4.578 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.417/1.417, allocations: 177.2 MB / 203.4 MB, free: 9.27 MB / 190.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.7495/0.7495, allocations: 79.61 MB / 339.4 MB, free: 11.53 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.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink") [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.002558/0.002558, allocations: 80.16 kB / 0.4924 GB, free: 26.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1225, allocations: 74.59 MB / 0.5652 GB, free: 6.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1558/0.2783, allocations: 120.9 MB / 0.6833 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004149/0.2824, allocations: 3.051 MB / 0.6863 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003076/0.2827, allocations: 31.69 kB / 0.6863 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005576/0.2833, allocations: 123.1 kB / 0.6864 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005735/0.2838, allocations: 198.8 kB / 0.6866 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.2844, allocations: 203.3 kB / 0.6868 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.285, allocations: 406.4 kB / 0.6872 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.2851, allocations: 40.8 kB / 0.6872 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007006/0.2858, allocations: 286.9 kB / 0.6875 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.286, allocations: 119.3 kB / 0.6876 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.286, allocations: 15.94 kB / 0.6876 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004718/0.2865, allocations: 215.7 kB / 0.6878 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.2866, allocations: 43.73 kB / 0.6879 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2867, allocations: 87.42 kB / 0.688 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005574/0.2873, allocations: 322.6 kB / 0.6883 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2873, allocations: 0 / 0.6883 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2873, allocations: 0 / 0.6883 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.2873, allocations: 0 / 0.6883 GB, free: 7.637 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008842/0.2882, allocations: 0.5047 MB / 0.6888 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2882, allocations: 9.469 kB / 0.6888 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.629e-05/0.2883, allocations: 40.69 kB / 0.6888 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/0.2889, allocations: 320.8 kB / 0.6891 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.289, allocations: 8.609 kB / 0.6891 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.289, allocations: 16.33 kB / 0.6891 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.2893, allocations: 158.8 kB / 0.6893 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.2893, allocations: 0 / 0.6893 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.2893, allocations: 0 / 0.6893 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2893, allocations: 4 kB / 0.6893 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.2894, allocations: 79.91 kB / 0.6894 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008375/0.2903, allocations: 0.6334 MB / 0.69 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.2904, allocations: 77.16 kB / 0.6901 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.359e-05/0.2905, allocations: 33.75 kB / 0.6901 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.931e-05/0.2906, allocations: 15.98 kB / 0.6901 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.2906, allocations: 30.56 kB / 0.6901 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.2906, allocations: 0 / 0.6901 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0006427/0.2913, allocations: 183.1 kB / 0.6903 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.2913, allocations: 81.11 kB / 0.6904 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.2916, allocations: 276.6 kB / 0.6907 GB, free: 5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.2916, allocations: 29.64 kB / 0.6907 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.2918, allocations: 175.9 kB / 0.6909 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.2918, allocations: 35.69 kB / 0.6909 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.2918, allocations: 17.72 kB / 0.6909 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.292, allocations: 350.7 kB / 0.6912 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.306e-05/0.2921, allocations: 20 kB / 0.6913 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.329e-05/0.2921, allocations: 43.42 kB / 0.6913 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.2922, allocations: 79.72 kB / 0.6914 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2922, allocations: 0 / 0.6914 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002747/0.2925, allocations: 151.1 kB / 0.6915 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2925, allocations: 4 kB / 0.6915 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2925, allocations: 12 kB / 0.6915 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.2927, allocations: 33.7 kB / 0.6916 GB, free: 4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.985e-05/0.2928, allocations: 11.98 kB / 0.6916 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.2949, allocations: 2.509 MB / 0.694 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.691e-05/0.295, allocations: 4 kB / 0.694 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.295, allocations: 4.031 kB / 0.694 GB, free: 1.266 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.2952, allocations: 140 kB / 0.6942 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.2952, allocations: 31.89 kB / 0.6942 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.2956, allocations: 167.4 kB / 0.6944 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2956, allocations: 0 / 0.6944 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2956, allocations: 4 kB / 0.6944 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2956, allocations: 0 / 0.6944 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.2962, allocations: 472.7 kB / 0.6948 GB, free: 396 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2962, allocations: 0 / 0.6948 GB, free: 396 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.848e-05/0.2962, allocations: 4 kB / 0.6948 GB, free: 392 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001316/0.2963, allocations: 41.81 kB / 0.6949 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2963, allocations: 4 kB / 0.6949 GB, free: 340 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2617/0.558, allocations: 2.517 MB / 0.6973 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.558, allocations: 1.328 kB / 0.6973 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.5583, allocations: 335.2 kB / 0.6976 GB, free: 131.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.5583, allocations: 22.59 kB / 0.6977 GB, free: 131.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.5584, allocations: 4.766 kB / 0.6977 GB, free: 131.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.5585, allocations: 1.875 kB / 0.6977 GB, free: 131.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.5585, allocations: 11.09 kB / 0.6977 GB, free: 131.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.5585, allocations: 10.2 kB / 0.6977 GB, free: 131.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001921/0.5587, allocations: 204.7 kB / 0.6979 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5587, allocations: 0 / 0.6979 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003934/0.5591, allocations: 55.28 kB / 0.6979 GB, free: 131.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.inlet.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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001961/0.5593, allocations: 147.4 kB / 0.6981 GB, free: 131.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003644/0.5597, allocations: 283.9 kB / 0.6984 GB, free: 131 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5597, allocations: 0.75 kB / 0.6984 GB, free: 131 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.5598, allocations: 257.2 kB / 0.6986 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.5603, allocations: 35.17 kB / 0.6986 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008006/0.5611, allocations: 0.577 MB / 0.6992 GB, free: 130.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.5612, allocations: 151 kB / 0.6993 GB, free: 130.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.926e-05/0.5613, allocations: 27.27 kB / 0.6994 GB, free: 130.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.5613, allocations: 24.91 kB / 0.6994 GB, free: 130.4 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.5613, allocations: 0 / 0.6994 GB, free: 130.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.006808/0.5681, allocations: 2.723 MB / 0.702 GB, free: 130 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.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.563610538840294]