Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine") translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005361/0.00536, allocations: 104.9 kB / 15.74 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 199.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6358/0.6358, allocations: 91.19 MB / 381.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 79.88 kB / 0.5168 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2969, allocations: 67.69 MB / 0.5829 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.146/0.4429, allocations: 149.4 MB / 0.7288 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2996/0.7425, allocations: 11.99 MB / 0.7405 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000705/0.7433, allocations: 21.59 kB / 0.7405 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008149/0.7441, allocations: 296.4 kB / 0.7408 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.7454, allocations: 0.5441 MB / 0.7413 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.7475, allocations: 0.716 MB / 0.742 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.7486, allocations: 0.9144 MB / 0.7429 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002917/0.7489, allocations: 170 kB / 0.7431 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005696/0.7494, allocations: 392.3 kB / 0.7435 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006543/0.7501, allocations: 475.8 kB / 0.7439 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.7502, allocations: 54 kB / 0.744 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.7525, allocations: 1.046 MB / 0.745 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.7526, allocations: 149.1 kB / 0.7451 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003829/0.753, allocations: 326.5 kB / 0.7454 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.7546, allocations: 1.106 MB / 0.7465 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7546, allocations: 0 / 0.7465 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7546, allocations: 0.9062 kB / 0.7465 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.7546, allocations: 0 / 0.7465 GB, free: 1.262 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002064/0.7567, allocations: 1.058 MB / 0.7476 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.7567, allocations: 10.53 kB / 0.7476 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.7569, allocations: 72.11 kB / 0.7476 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/0.7576, allocations: 0.5011 MB / 0.7481 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.036e-05/0.7577, allocations: 96.09 kB / 0.7482 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.278e-05/0.7578, allocations: 54.31 kB / 0.7483 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009705/0.7588, allocations: 0.6632 MB / 0.7489 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.7588, allocations: 0 / 0.7489 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.665e-05/0.7589, allocations: 20.81 kB / 0.7489 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.7589, allocations: 25.8 kB / 0.749 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.7602, allocations: 0.6689 MB / 0.7496 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/0.7637, allocations: 2.443 MB / 0.752 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.7648, allocations: 0.6237 MB / 0.7526 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005187/0.7653, allocations: 358.8 kB / 0.7529 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002305/0.7676, allocations: 2.615 MB / 0.7555 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.7677, allocations: 40.72 kB / 0.7555 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.084e-06/0.7677, allocations: 0.625 kB / 0.7555 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003566/0.7713, allocations: 2.153 MB / 0.7576 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/0.7714, allocations: 108.2 kB / 0.7577 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.7717, allocations: 435.9 kB / 0.7582 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/0.7718, allocations: 32.7 kB / 0.7582 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.772, allocations: 244.7 kB / 0.7584 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.7721, allocations: 225.1 kB / 0.7586 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.7723, allocations: 112.9 kB / 0.7587 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.7724, allocations: 369.7 kB / 0.7591 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.7729, allocations: 252.5 kB / 0.7593 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/0.7733, allocations: 344 kB / 0.7597 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008678/0.7742, allocations: 0.6095 MB / 0.7603 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7742, allocations: 1.094 kB / 0.7603 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001302/0.7755, allocations: 0.8432 MB / 0.7611 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.7756, allocations: 9.188 kB / 0.7611 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.7756, allocations: 3.25 kB / 0.7611 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003744/0.776, allocations: 135.8 kB / 0.7612 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.7764, allocations: 116 kB / 0.7613 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.7789, allocations: 2.466 MB / 0.7637 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.7792, allocations: 25.77 kB / 0.7638 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.7793, allocations: 28.41 kB / 0.7638 GB, free: 8.977 MB / 0.5919 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.0002314/0.7795, allocations: 200.8 kB / 0.764 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.7796, allocations: 59.78 kB / 0.764 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.7813, allocations: 1.032 MB / 0.7651 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.7813, allocations: 5.938 kB / 0.7651 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7813, allocations: 2.5 kB / 0.7651 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.7813, allocations: 3.734 kB / 0.7651 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.7837, allocations: 1.652 MB / 0.7667 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.7837, allocations: 0.9375 kB / 0.7667 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/0.7841, allocations: 95.03 kB / 0.7668 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003358/0.7845, allocations: 132.2 kB / 0.7669 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.7845, allocations: 17.77 kB / 0.7669 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/0.7869, allocations: 2.407 MB / 0.7693 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7869, allocations: 0.5625 kB / 0.7693 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.7889, allocations: 1.245 MB / 0.7705 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.7891, allocations: 124.8 kB / 0.7706 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.749e-05/0.7892, allocations: 20.16 kB / 0.7706 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.7895, allocations: 19.2 kB / 0.7706 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.7896, allocations: 46.09 kB / 0.7707 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.7896, allocations: 27.05 kB / 0.7707 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003184/0.7899, allocations: 328.5 kB / 0.771 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.72e-07/0.7899, allocations: 0 / 0.771 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008248/0.7908, allocations: 292 kB / 0.7713 GB, free: 6.383 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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,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.0005264/0.7913, allocations: 382.2 kB / 0.7717 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001396/0.7927, allocations: 0.8846 MB / 0.7725 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7927, allocations: 2.016 kB / 0.7725 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008762/0.7936, allocations: 0.5888 MB / 0.7731 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009433/0.7946, allocations: 214.2 kB / 0.7733 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.7968, allocations: 1.396 MB / 0.7747 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.7972, allocations: 0.8956 MB / 0.7755 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003548/0.7976, allocations: 149.4 kB / 0.7757 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.7977, allocations: 62.45 kB / 0.7758 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/0.7977, allocations: 4.031 kB / 0.7758 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of Templates: time 0.01846/0.8162, allocations: 13.76 MB / 0.7892 GB, free: 2.102 MB / 0.5919 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches