Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.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.001134/0.001134, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001804/0.002938, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001065/0.001065, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0016/0.002665, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9935/0.9935, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.122/1.115, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.7078/0.7078, allocations: 118.8 MB / 362.9 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08361/0.7914, allocations: 35.85 MB / 398.8 MB, free: 13.2 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-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.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine") translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 400.1 MB, free: 11.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.73e-05, allocations: 5.969 kB / 400.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.3497/0.3498, allocations: 131 MB / 0.5186 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003776/0.3535, allocations: 3.188 MB / 0.5217 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004144/0.354, allocations: 35.69 kB / 0.5218 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003805/0.3543, allocations: 142.7 kB / 0.5219 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008226/0.3552, allocations: 456.9 kB / 0.5223 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00096/0.3561, allocations: 478.1 kB / 0.5228 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009838/0.3571, allocations: 1.062 MB / 0.5238 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.3573, allocations: 112.2 kB / 0.5239 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008928/0.3582, allocations: 0.6105 MB / 0.5245 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005375/0.3588, allocations: 446.9 kB / 0.525 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.986e-05/0.3588, allocations: 52 kB / 0.525 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007067/0.3595, allocations: 427.2 kB / 0.5254 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3597, allocations: 127.5 kB / 0.5255 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.3598, allocations: 195.6 kB / 0.5257 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.361, allocations: 0.7669 MB / 0.5265 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.361, allocations: 0 / 0.5265 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.361, allocations: 0 / 0.5265 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.361, allocations: 0 / 0.5265 GB, free: 8.977 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001337/0.3623, allocations: 1.199 MB / 0.5276 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.3623, allocations: 12.03 kB / 0.5277 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.3625, allocations: 108.8 kB / 0.5278 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/0.363, allocations: 455.2 kB / 0.5282 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-05/0.3631, allocations: 148.4 kB / 0.5283 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.04e-05/0.3632, allocations: 44.33 kB / 0.5284 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.3637, allocations: 483 kB / 0.5288 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.3637, allocations: 7.938 kB / 0.5288 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.3637, allocations: 20 kB / 0.5289 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/0.3637, allocations: 18.25 kB / 0.5289 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.364, allocations: 217.6 kB / 0.5291 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.3656, allocations: 1.348 MB / 0.5304 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.3661, allocations: 346.6 kB / 0.5307 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.3663, allocations: 142.3 kB / 0.5309 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006335/0.3669, allocations: 316.2 kB / 0.5312 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.3669, allocations: 39.06 kB / 0.5312 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=62): time 2.134e-06/0.3669, allocations: 0 / 0.5312 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of matching and sorting (n=64): time 0.001778/0.3687, allocations: 1.139 MB / 0.5323 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.3687, allocations: 59.91 kB / 0.5324 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.3689, allocations: 371.2 kB / 0.5327 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.369, allocations: 41.7 kB / 0.5328 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/0.369, allocations: 210.7 kB / 0.533 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004611/0.3695, allocations: 233.9 kB / 0.5332 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.3696, allocations: 106.3 kB / 0.5333 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.3697, allocations: 378.6 kB / 0.5337 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.677e-05/0.3698, allocations: 69.27 kB / 0.5337 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.3699, allocations: 149.1 kB / 0.5339 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.3702, allocations: 281 kB / 0.5341 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3702, allocations: 4 kB / 0.5341 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004894/0.3707, allocations: 420.6 kB / 0.5345 GB, free: 408 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3707, allocations: 8 kB / 0.5345 GB, free: 400 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3707, allocations: 4 kB / 0.5346 GB, free: 396 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/0.3709, allocations: 103.7 kB / 0.5346 GB, free: 288 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.3712, allocations: 135.8 kB / 0.5348 GB, free: 152 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.3724, allocations: 1.831 MB / 0.5366 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.3726, allocations: 20 kB / 0.5366 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.3726, allocations: 19.98 kB / 0.5366 GB, free: 14.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0001209/0.3728, allocations: 136.5 kB / 0.5367 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3729, allocations: 75.88 kB / 0.5368 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006392/0.3735, allocations: 0.5627 MB / 0.5374 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3735, allocations: 8 kB / 0.5374 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3735, allocations: 7.938 kB / 0.5374 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.3735, allocations: 3.984 kB / 0.5374 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009458/0.3745, allocations: 0.8379 MB / 0.5382 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.3745, allocations: 3.984 kB / 0.5382 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.3747, allocations: 119.8 kB / 0.5383 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.3748, allocations: 67.59 kB / 0.5384 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002102/0.3751, allocations: 113 kB / 0.5385 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.3751, allocations: 15.98 kB / 0.5385 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.3764, allocations: 1.815 MB / 0.5403 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3764, allocations: 5.031 kB / 0.5403 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006622/0.3771, allocations: 0.6314 MB / 0.5409 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.3772, allocations: 23.89 kB / 0.5409 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.3773, allocations: 16 kB / 0.5409 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.3774, allocations: 44.41 kB / 0.541 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.3774, allocations: 23.97 kB / 0.541 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001098/0.3775, allocations: 164.4 kB / 0.5412 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3775, allocations: 0 / 0.5412 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004916/0.378, allocations: 247.5 kB / 0.5414 GB, free: 9.102 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (turbine.m_flow,turbine1.m_flow,turbine1.phi,turbine1.omega) * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002943/0.3783, allocations: 231.7 kB / 0.5416 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006131/0.3789, allocations: 0.5533 MB / 0.5422 GB, free: 8.293 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/0.3789, allocations: 11.94 kB / 0.5422 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.3793, allocations: 464.4 kB / 0.5426 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008827/0.3802, allocations: 1.271 MB / 0.5438 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007115/0.3873, allocations: 1.15 MB / 0.545 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.3874, allocations: 155.2 kB / 0.5451 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002871/0.3877, allocations: 100.7 kB / 0.5452 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/0.3881, allocations: 225.1 kB / 0.5454 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of SimCode: time 1.754e-06/0.3881, allocations: 0 / 0.5454 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of Templates: time 0.01585/0.4039, allocations: 13.93 MB / 0.559 GB, free: 6.996 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8692213809117675]