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.000979/0.000979, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001409/0.001409, allocations: 169 kB / 23.02 MB, free: 1.543 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.9806/0.9806, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.6631/0.6631, allocations: 118.6 MB / 378.6 MB, free: 1.504 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 2.655e-06/2.655e-06, allocations: 0 / 483.6 MB, free: 8.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.664e-05/3.929e-05, allocations: 5.125 kB / 483.6 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.02675/0.02679, allocations: 28.72 MB / 0.5003 GB, free: 3.816 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.02986, allocations: 2.515 MB / 0.5028 GB, free: 1.418 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005218/0.03038, allocations: 35.62 kB / 0.5028 GB, free: 1.383 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.03077, allocations: 134.8 kB / 0.5029 GB, free: 1.25 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008926/0.03166, allocations: 448.8 kB / 0.5034 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.03277, allocations: 0.4942 MB / 0.5039 GB, free: 320 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.03383, allocations: 1.046 MB / 0.5049 GB, free: 15.26 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.03408, allocations: 98.27 kB / 0.505 GB, free: 15.16 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/Media/myMedia/Water/IF97_Utilities.mo:901:9-901:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/Media/myMedia/Water/IF97_Utilities.mo:938:9-938:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/Media/myMedia/Water/IF97_Utilities.mo:901:9-901:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/Media/myMedia/Water/IF97_Utilities.mo:938:9-938:73:writable] Warning: Output parameter bpro.cv was not assigned a value Notification: Performance of NFEvalConstants.evaluate: time 0.02395/0.05803, allocations: 12.74 MB / 0.5174 GB, free: 2.328 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005023/0.05854, allocations: 375 kB / 0.5178 GB, free: 1.961 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.803e-05/0.05861, allocations: 56 kB / 0.5178 GB, free: 1.906 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005438/0.06405, allocations: 3.526 MB / 0.5213 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.0642, allocations: 163.4 kB / 0.5214 GB, free: 14.19 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.06446, allocations: 235.4 kB / 0.5216 GB, free: 13.96 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.06571, allocations: 0.8486 MB / 0.5225 GB, free: 13.11 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.06572, allocations: 4 kB / 0.5225 GB, free: 13.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.604e-06/0.06572, allocations: 0 / 0.5225 GB, free: 13.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.06574, allocations: 0 / 0.5225 GB, free: 13.1 MB / 458.7 MB 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.001651/0.06739, allocations: 1.11 MB / 0.5236 GB, free: 11.95 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.06744, allocations: 12.03 kB / 0.5236 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002573/0.06769, allocations: 140.3 kB / 0.5237 GB, free: 11.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005798/0.06827, allocations: 0.4903 MB / 0.5242 GB, free: 11.29 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.06838, allocations: 144.3 kB / 0.5243 GB, free: 11.12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.001e-05/0.06845, allocations: 52.31 kB / 0.5244 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.06907, allocations: 0.511 MB / 0.5249 GB, free: 10.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.06909, allocations: 0 / 0.5249 GB, free: 10.52 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.06912, allocations: 20 kB / 0.5249 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.06917, allocations: 24.98 kB / 0.5249 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004518/0.06962, allocations: 309.7 kB / 0.5252 GB, free: 10.17 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.07179, allocations: 1.849 MB / 0.527 GB, free: 8.27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008391/0.07262, allocations: 0.4902 MB / 0.5275 GB, free: 7.766 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.0729, allocations: 191.7 kB / 0.5277 GB, free: 7.578 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007425/0.07365, allocations: 324.2 kB / 0.528 GB, free: 7.262 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.07367, allocations: 41.89 kB / 0.528 GB, free: 7.211 MB / 458.7 MB Notification: Performance of pre-optimization done (n=63): time 2.044e-06/0.07368, allocations: 0 / 0.528 GB, free: 7.211 MB / 458.7 MB Notification: Performance of matching and sorting (n=65): time 0.002149/0.07582, allocations: 1.36 MB / 0.5293 GB, free: 5.812 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.07586, allocations: 60.06 kB / 0.5294 GB, free: 5.742 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.07615, allocations: 422.7 kB / 0.5298 GB, free: 5.316 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.07619, allocations: 41.7 kB / 0.5298 GB, free: 5.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.07634, allocations: 296.3 kB / 0.5301 GB, free: 4.973 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.07647, allocations: 241.9 kB / 0.5304 GB, free: 4.734 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.07659, allocations: 116 kB / 0.5305 GB, free: 4.613 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.07676, allocations: 0.5391 MB / 0.531 GB, free: 4.062 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.07695, allocations: 121.2 kB / 0.5311 GB, free: 3.945 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.07717, allocations: 205.2 kB / 0.5313 GB, free: 3.719 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.0776, allocations: 354.8 kB / 0.5316 GB, free: 3.348 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.07761, allocations: 0 / 0.5316 GB, free: 3.348 MB / 458.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008151/0.07842, allocations: 0.5977 MB / 0.5322 GB, free: 2.738 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.07844, allocations: 4 kB / 0.5322 GB, free: 2.734 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.07845, allocations: 8.141 kB / 0.5322 GB, free: 2.727 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000292/0.07875, allocations: 115.5 kB / 0.5324 GB, free: 2.609 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.07901, allocations: 115.8 kB / 0.5325 GB, free: 2.496 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.08076, allocations: 2.539 MB / 0.5349 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.08094, allocations: 16 kB / 0.535 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.08098, allocations: 27.97 kB / 0.535 GB, free: 15.8 MB / 474.7 MB 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.0001737/0.08115, allocations: 184.5 kB / 0.5352 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.0813, allocations: 99.48 kB / 0.5353 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009209/0.08222, allocations: 0.7222 MB / 0.536 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.08223, allocations: 11.92 kB / 0.536 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.08224, allocations: 4 kB / 0.536 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.08224, allocations: 3.938 kB / 0.536 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.08379, allocations: 1.208 MB / 0.5372 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.08379, allocations: 4 kB / 0.5372 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.08405, allocations: 107.9 kB / 0.5373 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002867/0.08434, allocations: 119.7 kB / 0.5374 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.08438, allocations: 27.92 kB / 0.5374 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.08624, allocations: 2.535 MB / 0.5399 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.08625, allocations: 3.938 kB / 0.5399 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.08741, allocations: 0.8973 MB / 0.5408 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.08758, allocations: 107.5 kB / 0.5409 GB, free: 9.539 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.08763, allocations: 23.98 kB / 0.5409 GB, free: 9.516 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.08779, allocations: 12 kB / 0.5409 GB, free: 9.504 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.08789, allocations: 56.33 kB / 0.541 GB, free: 9.449 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.08793, allocations: 23.98 kB / 0.541 GB, free: 9.426 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002404/0.08817, allocations: 298.8 kB / 0.5413 GB, free: 9.133 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08817, allocations: 4 kB / 0.5413 GB, free: 9.129 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006922/0.08886, allocations: 251.5 kB / 0.5415 GB, free: 8.883 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (51): * Single equations (assignments): 48 * 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.0003843/0.08924, allocations: 238.6 kB / 0.5417 GB, free: 8.637 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009185/0.09016, allocations: 0.6878 MB / 0.5424 GB, free: 7.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.09017, allocations: 0 / 0.5424 GB, free: 7.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.09066, allocations: 0.5322 MB / 0.5429 GB, free: 7.344 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006856/0.09135, allocations: 252 kB / 0.5432 GB, free: 7.105 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.09323, allocations: 1.235 MB / 0.5444 GB, free: 5.82 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.09335, allocations: 155.7 kB / 0.5445 GB, free: 5.648 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002685/0.09361, allocations: 123.7 kB / 0.5446 GB, free: 5.527 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.09375, allocations: 64.45 kB / 0.5447 GB, free: 5.465 MB / 474.7 MB Notification: Performance of SimCode: time 8.52e-07/0.09375, allocations: 0 / 0.5447 GB, free: 5.465 MB / 474.7 MB Notification: Performance of Templates: time 0.01602/0.1098, allocations: 13.73 MB / 0.5581 GB, free: 8.02 MB / 490.7 MB " [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: 3.9418790959753096]