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.001036/0.001036, 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.0009371/0.0009371, allocations: 173 kB / 23.49 MB, free: 1.059 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.9363/0.9363, allocations: 177.1 MB / 203.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.7201/0.7201, allocations: 118.6 MB / 378.9 MB, free: 1.453 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 483.6 MB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.785e-05, allocations: 5.109 kB / 483.6 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.04296/0.04299, allocations: 49.83 MB / 0.5209 GB, free: 15.08 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.009077/0.05207, allocations: 11.55 MB / 0.5322 GB, free: 3.488 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005533/0.05262, allocations: 31.69 kB / 0.5323 GB, free: 3.457 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006292/0.05325, allocations: 269.9 kB / 0.5325 GB, free: 3.191 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.0544, allocations: 0.6014 MB / 0.5331 GB, free: 2.586 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.05598, allocations: 0.7737 MB / 0.5339 GB, free: 1.809 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007794/0.05676, allocations: 1.038 MB / 0.5349 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.05695, allocations: 102 kB / 0.535 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02292/0.07987, allocations: 12.75 MB / 0.5474 GB, free: 3.809 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004764/0.08035, allocations: 355 kB / 0.5478 GB, free: 3.461 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 6.538e-05/0.08041, allocations: 56 kB / 0.5478 GB, free: 3.406 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07159/0.152, allocations: 52.65 MB / 0.5992 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003241/0.1523, allocations: 163.3 kB / 0.5994 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.1527, allocations: 235.4 kB / 0.5996 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002573/0.1553, allocations: 1.055 MB / 0.6006 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1553, allocations: 0 / 0.6006 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1553, allocations: 0 / 0.6006 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.1553, allocations: 0 / 0.6006 GB, free: 12.74 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.001596/0.1569, allocations: 1.145 MB / 0.6018 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1569, allocations: 8.031 kB / 0.6018 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/0.1572, allocations: 136.4 kB / 0.6019 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000604/0.1578, allocations: 0.4902 MB / 0.6024 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.1579, allocations: 148.3 kB / 0.6025 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.726e-05/0.158, allocations: 48.38 kB / 0.6026 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.1586, allocations: 0.511 MB / 0.6031 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.1586, allocations: 3.984 kB / 0.6031 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.1587, allocations: 16 kB / 0.6031 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/0.1587, allocations: 29 kB / 0.6031 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.1592, allocations: 305.7 kB / 0.6034 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.1614, allocations: 1.853 MB / 0.6052 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008366/0.1623, allocations: 498.1 kB / 0.6057 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.1626, allocations: 191.9 kB / 0.6059 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008524/0.1634, allocations: 356.2 kB / 0.6062 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1634, allocations: 41.89 kB / 0.6062 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=63): time 2.014e-06/0.1634, allocations: 0 / 0.6062 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65): time 0.002315/0.1658, allocations: 1.356 MB / 0.6076 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.1658, allocations: 56.06 kB / 0.6076 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.1661, allocations: 430.7 kB / 0.608 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.1661, allocations: 33.7 kB / 0.6081 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.1663, allocations: 308.3 kB / 0.6084 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.1664, allocations: 237.9 kB / 0.6086 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.1665, allocations: 124 kB / 0.6087 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1667, allocations: 0.5391 MB / 0.6092 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.1669, allocations: 113.2 kB / 0.6093 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.1672, allocations: 213.2 kB / 0.6095 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.1677, allocations: 358.8 kB / 0.6099 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1677, allocations: 0 / 0.6099 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001147/0.1688, allocations: 0.5939 MB / 0.6105 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.1688, allocations: 4 kB / 0.6105 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/0.1689, allocations: 8 kB / 0.6105 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/0.1692, allocations: 111.6 kB / 0.6106 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.1695, allocations: 111.9 kB / 0.6107 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.1716, allocations: 2.536 MB / 0.6132 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.1718, allocations: 12 kB / 0.6132 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.1719, allocations: 27.98 kB / 0.6132 GB, free: 15.39 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.0001933/0.1721, allocations: 192.5 kB / 0.6134 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.1723, allocations: 103.5 kB / 0.6135 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.1734, allocations: 0.8001 MB / 0.6143 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1734, allocations: 7.938 kB / 0.6143 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1734, allocations: 7.938 kB / 0.6143 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.1734, allocations: 11.97 kB / 0.6143 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.1748, allocations: 1.193 MB / 0.6155 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.1748, allocations: 4 kB / 0.6155 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.1751, allocations: 95.88 kB / 0.6156 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/0.1753, allocations: 115.5 kB / 0.6157 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.1754, allocations: 19.98 kB / 0.6157 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.1771, allocations: 2.547 MB / 0.6182 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1771, allocations: 0 / 0.6182 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.1782, allocations: 0.8695 MB / 0.619 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.1784, allocations: 111.5 kB / 0.6191 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.1784, allocations: 19.95 kB / 0.6191 GB, free: 9.074 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.1786, allocations: 19.98 kB / 0.6192 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.1787, allocations: 44.41 kB / 0.6192 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.1787, allocations: 27.98 kB / 0.6192 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000208/0.1789, allocations: 310.8 kB / 0.6195 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.1789, allocations: 0 / 0.6195 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006977/0.1796, allocations: 303.4 kB / 0.6198 GB, free: 8.383 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.0005164/0.1801, allocations: 433.2 kB / 0.6202 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008989/0.181, allocations: 0.6878 MB / 0.6209 GB, free: 7.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.181, allocations: 0 / 0.6209 GB, free: 7.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005081/0.1815, allocations: 0.5321 MB / 0.6214 GB, free: 6.656 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006954/0.1822, allocations: 252 kB / 0.6217 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.1841, allocations: 1.208 MB / 0.6228 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.1842, allocations: 159.7 kB / 0.623 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002854/0.1845, allocations: 130.9 kB / 0.6231 GB, free: 4.867 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.1846, allocations: 68.45 kB / 0.6232 GB, free: 4.801 MB / 0.5417 GB Notification: Performance of SimCode: time 1.032e-06/0.1846, allocations: 0 / 0.6232 GB, free: 4.801 MB / 0.5417 GB Notification: Performance of Templates: time 0.01831/0.2029, allocations: 15.42 MB / 0.6382 GB, free: 5.641 MB / 0.5573 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.397161266999319]