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.001568/0.001568, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001895/0.001895, allocations: 169 kB / 23.49 MB, free: 1.062 MB / 18.57 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 0.9812/0.9812, allocations: 177.1 MB / 203.8 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6642/0.6642, allocations: 118.6 MB / 378.9 MB, free: 1.508 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 483.6 MB, free: 8.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.541e-05, allocations: 6.719 kB / 483.6 MB, free: 8.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.03612/0.03613, allocations: 49.83 MB / 0.5209 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.007918/0.04405, allocations: 11.55 MB / 0.5322 GB, free: 3.52 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003157/0.04437, allocations: 43.56 kB / 0.5323 GB, free: 3.477 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005231/0.04489, allocations: 254 kB / 0.5325 GB, free: 3.227 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009016/0.04579, allocations: 0.6092 MB / 0.5331 GB, free: 2.613 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.04687, allocations: 0.7737 MB / 0.5339 GB, free: 1.836 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006851/0.04756, allocations: 1.042 MB / 0.5349 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.04773, allocations: 94.03 kB / 0.535 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02137/0.0691, allocations: 12.74 MB / 0.5474 GB, free: 3.848 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004582/0.06956, allocations: 367 kB / 0.5478 GB, free: 3.488 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 6.505e-05/0.06962, allocations: 52 kB / 0.5478 GB, free: 3.438 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07263/0.1423, allocations: 52.66 MB / 0.5992 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.1425, allocations: 159.4 kB / 0.5994 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003531/0.1429, allocations: 235.4 kB / 0.5996 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002259/0.1451, allocations: 1.055 MB / 0.6006 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1451, allocations: 0 / 0.6006 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1451, allocations: 0 / 0.6006 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.1451, allocations: 0 / 0.6006 GB, free: 12.76 MB / 0.5261 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.001866/0.147, allocations: 1.145 MB / 0.6018 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1471, allocations: 8.031 kB / 0.6018 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003408/0.1474, allocations: 136.4 kB / 0.6019 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007795/0.1482, allocations: 0.4941 MB / 0.6024 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.1483, allocations: 140.4 kB / 0.6025 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.899e-05/0.1484, allocations: 52.36 kB / 0.6026 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008312/0.1492, allocations: 0.5148 MB / 0.6031 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.1492, allocations: 0 / 0.6031 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.1493, allocations: 20 kB / 0.6031 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-05/0.1493, allocations: 21 kB / 0.6031 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006232/0.15, allocations: 309.7 kB / 0.6034 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/0.1529, allocations: 1.849 MB / 0.6052 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.154, allocations: 498 kB / 0.6057 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000369/0.1543, allocations: 195.7 kB / 0.6059 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/0.1554, allocations: 352.2 kB / 0.6062 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.1554, allocations: 41.89 kB / 0.6062 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=63): time 2.545e-06/0.1554, allocations: 0 / 0.6062 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65): time 0.00277/0.1582, allocations: 1.356 MB / 0.6076 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.1582, allocations: 64.05 kB / 0.6076 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.1586, allocations: 422.7 kB / 0.608 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.1587, allocations: 37.7 kB / 0.6081 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.1588, allocations: 304.3 kB / 0.6084 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.159, allocations: 241.9 kB / 0.6086 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.1592, allocations: 120 kB / 0.6087 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1593, allocations: 0.539 MB / 0.6092 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.1596, allocations: 125.2 kB / 0.6094 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.1599, allocations: 213.2 kB / 0.6096 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006076/0.1605, allocations: 354.8 kB / 0.6099 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1605, allocations: 4 kB / 0.6099 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001103/0.1616, allocations: 0.5938 MB / 0.6105 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1616, allocations: 4 kB / 0.6105 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.1617, allocations: 4.156 kB / 0.6105 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003676/0.162, allocations: 111.6 kB / 0.6106 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.1624, allocations: 111.8 kB / 0.6107 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/0.1647, allocations: 2.535 MB / 0.6132 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.1649, allocations: 19.98 kB / 0.6132 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.165, allocations: 23.98 kB / 0.6132 GB, free: 15.4 MB / 0.5417 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.0001827/0.1652, allocations: 188.5 kB / 0.6134 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.1654, allocations: 107.5 kB / 0.6135 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.1667, allocations: 0.7968 MB / 0.6143 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1667, allocations: 11.94 kB / 0.6143 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1667, allocations: 0 / 0.6143 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.1667, allocations: 7.984 kB / 0.6143 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.1685, allocations: 1.192 MB / 0.6155 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.1685, allocations: 4 kB / 0.6155 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.1688, allocations: 95.86 kB / 0.6156 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003255/0.1691, allocations: 123.1 kB / 0.6157 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.1692, allocations: 19.98 kB / 0.6157 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.1711, allocations: 2.536 MB / 0.6182 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1711, allocations: 0 / 0.6182 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.1727, allocations: 0.8773 MB / 0.619 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.1729, allocations: 111.5 kB / 0.6191 GB, free: 9.117 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.173, allocations: 15.95 kB / 0.6191 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.1732, allocations: 16 kB / 0.6192 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/0.1733, allocations: 56.33 kB / 0.6192 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.1733, allocations: 23.98 kB / 0.6192 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002515/0.1736, allocations: 306.8 kB / 0.6195 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.1736, allocations: 0 / 0.6195 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008335/0.1744, allocations: 311.4 kB / 0.6198 GB, free: 8.402 MB / 0.5417 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.0005849/0.175, allocations: 429.1 kB / 0.6202 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.1761, allocations: 0.6878 MB / 0.6209 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1761, allocations: 4 kB / 0.6209 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006558/0.1768, allocations: 0.5282 MB / 0.6214 GB, free: 6.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009088/0.1777, allocations: 249.6 kB / 0.6217 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.1801, allocations: 1.224 MB / 0.6229 GB, free: 5.188 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.1803, allocations: 151.7 kB / 0.623 GB, free: 5.016 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004036/0.1807, allocations: 131.1 kB / 0.6231 GB, free: 4.887 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.1808, allocations: 68.45 kB / 0.6232 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of SimCode: time 1.703e-06/0.1809, allocations: 0 / 0.6232 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of Templates: time 0.02247/0.2033, allocations: 15.41 MB / 0.6382 GB, free: 5.672 MB / 0.5573 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.278889981098473]