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.00129/0.00129, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001317/0.001317, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6801/0.6801, allocations: 89.5 MB / 380.7 MB, free: 8.691 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001575, allocations: 87.88 kB / 459.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1125, allocations: 67.31 MB / 0.5146 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.3588/0.4713, allocations: 149.2 MB / 0.6604 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02434/0.4957, allocations: 11.98 MB / 0.6721 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006164/0.4964, allocations: 7.938 kB / 0.6721 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.4978, allocations: 294.2 kB / 0.6724 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.5003, allocations: 0.5204 MB / 0.6729 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.5036, allocations: 0.7139 MB / 0.6736 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001178/0.5048, allocations: 0.8702 MB / 0.6744 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.5051, allocations: 170.5 kB / 0.6746 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006501/0.5058, allocations: 342.8 kB / 0.6749 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007334/0.5065, allocations: 458.4 kB / 0.6753 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.5067, allocations: 60 kB / 0.6754 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.5087, allocations: 1.053 MB / 0.6764 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.5088, allocations: 147.4 kB / 0.6766 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.5092, allocations: 306.5 kB / 0.6769 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.5107, allocations: 1.03 MB / 0.6779 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.5107, allocations: 0 / 0.6779 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5107, allocations: 0 / 0.6779 GB, free: 252 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.5108, allocations: 0 / 0.6779 GB, free: 252 kB / 0.5137 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.001985/0.5128, allocations: 1.006 MB / 0.6788 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.5128, allocations: 12.03 kB / 0.6789 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.513, allocations: 64.19 kB / 0.6789 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/0.5135, allocations: 391.6 kB / 0.6793 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-05/0.5136, allocations: 101 kB / 0.6794 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.238e-05/0.5137, allocations: 44.56 kB / 0.6794 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.5148, allocations: 0.6641 MB / 0.6801 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.5148, allocations: 3.938 kB / 0.6801 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/0.5148, allocations: 16 kB / 0.6801 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.298e-05/0.5149, allocations: 30.36 kB / 0.6801 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.516, allocations: 0.6597 MB / 0.6808 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003412/0.5195, allocations: 2.426 MB / 0.6831 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.5207, allocations: 0.626 MB / 0.6837 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/0.5213, allocations: 358.3 kB / 0.6841 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002275/0.5235, allocations: 2.612 MB / 0.6866 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.5236, allocations: 47.62 kB / 0.6867 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 1.933e-06/0.5236, allocations: 0 / 0.6867 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64): time 0.003905/0.5275, allocations: 2.128 MB / 0.6888 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.5276, allocations: 115.4 kB / 0.6889 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.5279, allocations: 353.6 kB / 0.6892 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.528, allocations: 37.7 kB / 0.6892 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.5281, allocations: 217.4 kB / 0.6895 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.5283, allocations: 220.7 kB / 0.6897 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.5285, allocations: 114.2 kB / 0.6898 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5286, allocations: 358.8 kB / 0.6901 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004679/0.5291, allocations: 253.1 kB / 0.6904 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.5296, allocations: 350.2 kB / 0.6907 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.5307, allocations: 0.6143 MB / 0.6913 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5307, allocations: 4 kB / 0.6913 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001528/0.5323, allocations: 0.825 MB / 0.6921 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.5323, allocations: 8.625 kB / 0.6921 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.5323, allocations: 4.688 kB / 0.6921 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004086/0.5327, allocations: 132.8 kB / 0.6922 GB, free: 480 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.5332, allocations: 115.8 kB / 0.6924 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.5358, allocations: 2.453 MB / 0.6947 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.5362, allocations: 19.98 kB / 0.6948 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.5363, allocations: 31.97 kB / 0.6948 GB, free: 13.71 MB / 0.545 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.0002353/0.5365, allocations: 201.6 kB / 0.695 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.5366, allocations: 47.44 kB / 0.695 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.5385, allocations: 1.015 MB / 0.696 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.5385, allocations: 4 kB / 0.696 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5385, allocations: 4 kB / 0.696 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5385, allocations: 7.984 kB / 0.696 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.5411, allocations: 1.635 MB / 0.6976 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.5411, allocations: 4 kB / 0.6976 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.5415, allocations: 91.88 kB / 0.6977 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003646/0.5419, allocations: 135.1 kB / 0.6979 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-05/0.542, allocations: 24.47 kB / 0.6979 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002439/0.5444, allocations: 2.396 MB / 0.7002 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5444, allocations: 7.922 kB / 0.7002 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.5464, allocations: 1.247 MB / 0.7014 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.5466, allocations: 116.5 kB / 0.7016 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.5467, allocations: 13.69 kB / 0.7016 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.547, allocations: 23.97 kB / 0.7016 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/0.5471, allocations: 46.27 kB / 0.7016 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.5471, allocations: 20.55 kB / 0.7017 GB, free: 6.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002792/0.5474, allocations: 279.2 kB / 0.7019 GB, free: 6.168 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5474, allocations: 0 / 0.7019 GB, free: 6.168 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008453/0.5483, allocations: 284 kB / 0.7022 GB, free: 5.891 MB / 0.545 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.0006009/0.5489, allocations: 401.7 kB / 0.7026 GB, free: 5.508 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001604/0.5505, allocations: 0.884 MB / 0.7034 GB, free: 4.594 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5505, allocations: 0 / 0.7034 GB, free: 4.594 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009225/0.5514, allocations: 0.5834 MB / 0.704 GB, free: 3.988 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009206/0.5524, allocations: 198.7 kB / 0.7042 GB, free: 3.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.5546, allocations: 1.327 MB / 0.7055 GB, free: 2.492 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.555, allocations: 0.876 MB / 0.7064 GB, free: 1.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003648/0.5554, allocations: 130.1 kB / 0.7065 GB, free: 1.473 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.5555, allocations: 55.41 kB / 0.7065 GB, free: 1.418 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.5556, allocations: 0 / 0.7065 GB, free: 1.418 MB / 0.545 GB Notification: Performance of Templates: time 0.0213/0.5769, allocations: 13.49 MB / 0.7197 GB, free: 4.102 MB / 0.5606 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches