Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.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.001657/0.001657, 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.001969/0.001969, allocations: 220.3 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.988 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.7812/0.7812, allocations: 100.3 MB / 412.7 MB, free: 3.613 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.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor") translateModel(ThermofluidStream.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor") [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.00265/0.00265, allocations: 86.73 kB / 0.5637 GB, free: 35.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1196, allocations: 74.47 MB / 0.6365 GB, free: 7.141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.06245/0.1821, allocations: 48.04 MB / 0.6834 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01632/0.1984, allocations: 12.63 MB / 0.6957 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/0.199, allocations: 31.69 kB / 0.6957 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000823/0.1998, allocations: 274.2 kB / 0.696 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.2014, allocations: 0.5592 MB / 0.6966 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.2036, allocations: 0.7509 MB / 0.6973 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001368/0.205, allocations: 0.9337 MB / 0.6982 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.2052, allocations: 102 kB / 0.6983 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03037/0.2356, allocations: 12.53 MB / 0.7105 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007916/0.2364, allocations: 414.3 kB / 0.7109 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.2366, allocations: 52 kB / 0.711 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4049/0.6414, allocations: 52.57 MB / 0.7623 GB, free: 52.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.6417, allocations: 151.1 kB / 0.7625 GB, free: 52.71 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004898/0.6422, allocations: 325 kB / 0.7628 GB, free: 52.71 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.6444, allocations: 1.121 MB / 0.7639 GB, free: 52.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6444, allocations: 0 / 0.7639 GB, free: 52.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6444, allocations: 1.312 kB / 0.7639 GB, free: 52.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.6444, allocations: 1.375 kB / 0.7639 GB, free: 52.64 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002028/0.6464, allocations: 1.019 MB / 0.7649 GB, free: 52.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.6464, allocations: 10.38 kB / 0.7649 GB, free: 52.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.6466, allocations: 74.69 kB / 0.7649 GB, free: 52.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000719/0.6473, allocations: 444.5 kB / 0.7654 GB, free: 51.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.6474, allocations: 154.5 kB / 0.7655 GB, free: 51.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.6475, allocations: 53.5 kB / 0.7656 GB, free: 51.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.6486, allocations: 0.6576 MB / 0.7662 GB, free: 51.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.6486, allocations: 0.5312 kB / 0.7662 GB, free: 51.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.225e-05/0.6486, allocations: 17.38 kB / 0.7662 GB, free: 51.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/0.6487, allocations: 21.62 kB / 0.7662 GB, free: 51.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.65, allocations: 0.68 MB / 0.7669 GB, free: 51.64 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003441/0.6534, allocations: 2.405 MB / 0.7693 GB, free: 50.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.655, allocations: 0.6506 MB / 0.7699 GB, free: 50.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006555/0.6556, allocations: 341.5 kB / 0.7702 GB, free: 50.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001713/0.6574, allocations: 326.8 kB / 0.7705 GB, free: 50.65 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.6574, allocations: 36.88 kB / 0.7706 GB, free: 50.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.244e-06/0.6574, allocations: 0.8125 kB / 0.7706 GB, free: 50.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004138/0.6615, allocations: 1.984 MB / 0.7725 GB, free: 50.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.6615, allocations: 63.73 kB / 0.7726 GB, free: 50.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000442/0.662, allocations: 426 kB / 0.773 GB, free: 50.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/0.662, allocations: 37.39 kB / 0.773 GB, free: 50.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.6622, allocations: 240.4 kB / 0.7732 GB, free: 49.96 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.6623, allocations: 237.8 kB / 0.7735 GB, free: 49.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.6624, allocations: 111.5 kB / 0.7736 GB, free: 49.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.6625, allocations: 370.2 kB / 0.7739 GB, free: 49.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.663, allocations: 263.1 kB / 0.7742 GB, free: 49.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/0.6635, allocations: 330.8 kB / 0.7745 GB, free: 49.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009896/0.6645, allocations: 0.6318 MB / 0.7751 GB, free: 49.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6645, allocations: 0 / 0.7751 GB, free: 49.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001464/0.6659, allocations: 0.8618 MB / 0.7759 GB, free: 49.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.666, allocations: 6 kB / 0.776 GB, free: 49.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.666, allocations: 3.219 kB / 0.776 GB, free: 49.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000401/0.6664, allocations: 132.2 kB / 0.7761 GB, free: 49.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.6669, allocations: 115.5 kB / 0.7762 GB, free: 49.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.6691, allocations: 2.366 MB / 0.7785 GB, free: 47.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.6696, allocations: 20.86 kB / 0.7785 GB, free: 47.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.6696, allocations: 30.02 kB / 0.7786 GB, free: 47.86 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002585/0.6699, allocations: 192.8 kB / 0.7787 GB, free: 47.74 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.67, allocations: 58.19 kB / 0.7788 GB, free: 47.71 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.6718, allocations: 1.058 MB / 0.7798 GB, free: 47.58 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.6718, allocations: 7.344 kB / 0.7798 GB, free: 47.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6718, allocations: 2.594 kB / 0.7798 GB, free: 47.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.6718, allocations: 3.188 kB / 0.7798 GB, free: 47.58 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.6743, allocations: 1.634 MB / 0.7814 GB, free: 47.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.6744, allocations: 3.125 kB / 0.7814 GB, free: 47.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004534/0.6748, allocations: 95.86 kB / 0.7815 GB, free: 47.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003559/0.6752, allocations: 142.5 kB / 0.7817 GB, free: 47.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.583e-05/0.6752, allocations: 18.33 kB / 0.7817 GB, free: 47.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.6773, allocations: 2.378 MB / 0.784 GB, free: 45.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6773, allocations: 0 / 0.784 GB, free: 45.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.6792, allocations: 1.305 MB / 0.7853 GB, free: 45.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.6795, allocations: 117.4 kB / 0.7854 GB, free: 45.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-05/0.6796, allocations: 23.95 kB / 0.7854 GB, free: 45.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.6799, allocations: 22.72 kB / 0.7854 GB, free: 45.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/0.68, allocations: 45.88 kB / 0.7855 GB, free: 45.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/0.6801, allocations: 23.47 kB / 0.7855 GB, free: 45.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003626/0.6804, allocations: 333 kB / 0.7858 GB, free: 45.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6804, allocations: 3.844 kB / 0.7858 GB, free: 45.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001117/0.6815, allocations: 290.3 kB / 0.7861 GB, free: 45.49 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (compressor1.m_flow,compressor1.phi,compressor1.omega,splitterN.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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006058/0.6821, allocations: 416.4 kB / 0.7865 GB, free: 45.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001488/0.6836, allocations: 0.8721 MB / 0.7873 GB, free: 45.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.6836, allocations: 0 / 0.7873 GB, free: 45.12 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008319/0.6845, allocations: 0.5763 MB / 0.7879 GB, free: 44.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009573/0.6854, allocations: 213 kB / 0.7881 GB, free: 44.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.6877, allocations: 1.453 MB / 0.7895 GB, free: 44.28 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.688, allocations: 0.8927 MB / 0.7904 GB, free: 43.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004113/0.6884, allocations: 139.8 kB / 0.7905 GB, free: 43.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.6886, allocations: 67.53 kB / 0.7906 GB, free: 43.54 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/0.6886, allocations: 0 / 0.7906 GB, free: 43.54 MB / 0.5762 GB Notification: Performance of Templates: time 0.02036/0.7089, allocations: 14.79 MB / 0.805 GB, free: 36.18 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.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.512136573903263]