Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001366/0.001366, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002282/0.002282, allocations: 157.5 kB / 23.01 MB, free: 4.949 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.402/1.402, allocations: 177.2 MB / 203.4 MB, free: 8.941 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.7067/0.7067, allocations: 74.91 MB / 334.7 MB, free: 15.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 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.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_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_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.002576/0.002576, allocations: 85.22 kB / 496.4 MB, free: 29.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1153, allocations: 73.02 MB / 0.5561 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05626/0.1715, allocations: 42.92 MB / 0.598 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01479/0.1863, allocations: 11.38 MB / 0.6091 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005918/0.1869, allocations: 35.69 kB / 0.6091 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007997/0.1877, allocations: 242.3 kB / 0.6093 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.1892, allocations: 0.5475 MB / 0.6099 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.1913, allocations: 0.7509 MB / 0.6106 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001162/0.1924, allocations: 0.9259 MB / 0.6115 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.1927, allocations: 106 kB / 0.6116 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0319/0.2246, allocations: 12.52 MB / 0.6238 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007074/0.2253, allocations: 378.4 kB / 0.6242 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.903e-05/0.2254, allocations: 56 kB / 0.6243 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1359/0.3613, allocations: 52.64 MB / 0.6757 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003917/0.3617, allocations: 151.4 kB / 0.6758 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004784/0.3622, allocations: 266.7 kB / 0.6761 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002313/0.3645, allocations: 1.109 MB / 0.6771 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3645, allocations: 0 / 0.6771 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3645, allocations: 0 / 0.6771 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.966e-06/0.3645, allocations: 0 / 0.6771 GB, free: 2.727 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.002345/0.3668, allocations: 1.018 MB / 0.6781 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3669, allocations: 8.031 kB / 0.6781 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.3671, allocations: 88.45 kB / 0.6782 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008555/0.368, allocations: 442.8 kB / 0.6787 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.3681, allocations: 151.7 kB / 0.6788 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.429e-05/0.3682, allocations: 51.89 kB / 0.6788 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.3694, allocations: 0.7061 MB / 0.6795 GB, free: 168 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.3695, allocations: 4 kB / 0.6795 GB, free: 164 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.3695, allocations: 19.94 kB / 0.6796 GB, free: 144 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.3696, allocations: 20.98 kB / 0.6796 GB, free: 120 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.3709, allocations: 0.6753 MB / 0.6802 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004044/0.3749, allocations: 1.916 MB / 0.6821 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.3766, allocations: 0.646 MB / 0.6827 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006654/0.3772, allocations: 338.5 kB / 0.6831 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/0.3788, allocations: 320.2 kB / 0.6834 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.3789, allocations: 47.05 kB / 0.6834 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=63): time 2.564e-06/0.3789, allocations: 0 / 0.6834 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65): time 0.004648/0.3835, allocations: 1.99 MB / 0.6854 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.3836, allocations: 64 kB / 0.6854 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000442/0.384, allocations: 362 kB / 0.6858 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.3841, allocations: 37.7 kB / 0.6858 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.3843, allocations: 253.5 kB / 0.686 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.3845, allocations: 238 kB / 0.6863 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.3847, allocations: 106.3 kB / 0.6864 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3849, allocations: 366.8 kB / 0.6867 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005422/0.3855, allocations: 265.2 kB / 0.687 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006308/0.3861, allocations: 332.2 kB / 0.6873 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.3873, allocations: 0.6228 MB / 0.6879 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3873, allocations: 0 / 0.6879 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00188/0.3892, allocations: 0.8606 MB / 0.6887 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.3892, allocations: 9.094 kB / 0.6887 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.3892, allocations: 4 kB / 0.6888 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004641/0.3897, allocations: 132.8 kB / 0.6889 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.3903, allocations: 111.8 kB / 0.689 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/0.3934, allocations: 2.31 MB / 0.6912 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.3938, allocations: 24.02 kB / 0.6913 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.259e-05/0.3939, allocations: 23.98 kB / 0.6913 GB, free: 3.84 MB / 0.5919 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.0003173/0.3942, allocations: 201.7 kB / 0.6915 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.3944, allocations: 63.67 kB / 0.6915 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.3966, allocations: 1.053 MB / 0.6926 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3966, allocations: 4 kB / 0.6926 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3966, allocations: 4 kB / 0.6926 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3966, allocations: 3.984 kB / 0.6926 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.3997, allocations: 1.504 MB / 0.694 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.3997, allocations: 4 kB / 0.6941 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.4002, allocations: 95.88 kB / 0.6941 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004371/0.4006, allocations: 139.6 kB / 0.6943 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.302e-05/0.4007, allocations: 31.94 kB / 0.6943 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2815/0.6822, allocations: 2.297 MB / 0.6965 GB, free: 139.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6822, allocations: 1.312 kB / 0.6966 GB, free: 139.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.6847, allocations: 1.313 MB / 0.6978 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.6849, allocations: 110.8 kB / 0.6979 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.945e-05/0.685, allocations: 15.78 kB / 0.698 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.6853, allocations: 18.97 kB / 0.698 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.6854, allocations: 54.95 kB / 0.698 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/0.6855, allocations: 24.44 kB / 0.698 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003336/0.6858, allocations: 282.9 kB / 0.6983 GB, free: 139 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6858, allocations: 0 / 0.6983 GB, free: 139 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00102/0.6868, allocations: 294.6 kB / 0.6986 GB, free: 138.9 MB / 0.5919 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.0005542/0.6874, allocations: 410.4 kB / 0.699 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.6888, allocations: 0.8767 MB / 0.6998 GB, free: 138.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6888, allocations: 0 / 0.6998 GB, free: 138.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008328/0.6896, allocations: 0.5769 MB / 0.7004 GB, free: 138.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007645/0.6904, allocations: 158.5 kB / 0.7006 GB, free: 138.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.6926, allocations: 1.431 MB / 0.702 GB, free: 137.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.6929, allocations: 303.8 kB / 0.7022 GB, free: 137.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003596/0.6933, allocations: 134.8 kB / 0.7024 GB, free: 137.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.6934, allocations: 63.17 kB / 0.7024 GB, free: 137.3 MB / 0.5919 GB Notification: Performance of SimCode: time 5.82e-07/0.6934, allocations: 0 / 0.7024 GB, free: 137.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.02181/0.7153, allocations: 13.52 MB / 0.7156 GB, free: 131.6 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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.270701866946183]