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.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_dev_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_dev_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.001707/0.001707, allocations: 109.7 kB / 16.41 MB, free: 6.504 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.001833/0.001833, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7522/0.7522, allocations: 97.65 MB / 388.8 MB, free: 1.43 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 82.78 kB / 0.5268 GB, free: 38.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09425/0.0966, allocations: 69.24 MB / 0.5944 GB, free: 500 kB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1744/0.271, allocations: 149.8 MB / 0.7407 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.2907/0.5617, allocations: 12.03 MB / 0.7524 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005816/0.5623, allocations: 23.28 kB / 0.7524 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008238/0.5631, allocations: 296.1 kB / 0.7527 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.5645, allocations: 0.5656 MB / 0.7533 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.5664, allocations: 0.7135 MB / 0.754 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001053/0.5674, allocations: 0.9405 MB / 0.7549 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.5677, allocations: 117.5 kB / 0.755 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006623/0.5683, allocations: 404 kB / 0.7554 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007014/0.569, allocations: 471.9 kB / 0.7558 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.5692, allocations: 53 kB / 0.7559 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.5713, allocations: 1.058 MB / 0.7569 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.5714, allocations: 153.1 kB / 0.7571 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.5719, allocations: 327.7 kB / 0.7574 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.5737, allocations: 1.115 MB / 0.7585 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.5737, allocations: 5.203 kB / 0.7585 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5737, allocations: 0.9062 kB / 0.7585 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.5737, allocations: 0 / 0.7585 GB, free: 1.32 MB / 0.5919 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.002162/0.5759, allocations: 1.089 MB / 0.7595 GB, free: 16.69 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.5759, allocations: 11 kB / 0.7595 GB, free: 16.69 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.5761, allocations: 76 kB / 0.7596 GB, free: 16.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008227/0.5769, allocations: 0.5071 MB / 0.7601 GB, free: 16.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.577, allocations: 94.97 kB / 0.7602 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.5771, allocations: 56.05 kB / 0.7603 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.5782, allocations: 0.6621 MB / 0.7609 GB, free: 16.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.5782, allocations: 4.062 kB / 0.7609 GB, free: 16.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.705e-05/0.5783, allocations: 19.31 kB / 0.7609 GB, free: 16.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-05/0.5783, allocations: 23.02 kB / 0.7609 GB, free: 16.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.5795, allocations: 0.6679 MB / 0.7616 GB, free: 16.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/0.5833, allocations: 2.458 MB / 0.764 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.5845, allocations: 0.5849 MB / 0.7646 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005679/0.585, allocations: 324.9 kB / 0.7649 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002865/0.5879, allocations: 2.616 MB / 0.7674 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.009e-05/0.5879, allocations: 43.94 kB / 0.7675 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.605e-06/0.588, allocations: 0 / 0.7675 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=64): time 0.004342/0.5923, allocations: 2.158 MB / 0.7696 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.5924, allocations: 108.1 kB / 0.7697 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.5928, allocations: 433.5 kB / 0.7701 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.022e-05/0.5928, allocations: 37.23 kB / 0.7701 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.593, allocations: 260.5 kB / 0.7704 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.5931, allocations: 230.8 kB / 0.7706 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.5933, allocations: 112.6 kB / 0.7707 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.5934, allocations: 368.8 kB / 0.7711 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.5939, allocations: 254.7 kB / 0.7713 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.5943, allocations: 344.1 kB / 0.7716 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009536/0.5953, allocations: 0.6122 MB / 0.7722 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5953, allocations: 0.8125 kB / 0.7722 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001434/0.5967, allocations: 0.8368 MB / 0.7731 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.5967, allocations: 8.922 kB / 0.7731 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.5967, allocations: 5.188 kB / 0.7731 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003997/0.5971, allocations: 134.4 kB / 0.7732 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.5976, allocations: 104.3 kB / 0.7733 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.6004, allocations: 2.477 MB / 0.7757 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.6007, allocations: 21.97 kB / 0.7757 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.6008, allocations: 31.05 kB / 0.7758 GB, free: 9 MB / 0.6075 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.0002641/0.601, allocations: 189 kB / 0.7759 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.6012, allocations: 68.3 kB / 0.776 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.603, allocations: 1.025 MB / 0.777 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.603, allocations: 7.094 kB / 0.777 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.603, allocations: 3.406 kB / 0.777 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.603, allocations: 3.844 kB / 0.777 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.6054, allocations: 1.65 MB / 0.7786 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.6054, allocations: 4.156 kB / 0.7786 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.6059, allocations: 99.56 kB / 0.7787 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003669/0.6063, allocations: 130.9 kB / 0.7789 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.355e-05/0.6063, allocations: 21.52 kB / 0.7789 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002549/0.6089, allocations: 2.409 MB / 0.7812 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.6089, allocations: 0.5469 kB / 0.7812 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.6108, allocations: 1.244 MB / 0.7824 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.6109, allocations: 133.1 kB / 0.7826 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.623e-05/0.611, allocations: 17.19 kB / 0.7826 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.6114, allocations: 19.28 kB / 0.7826 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/0.6114, allocations: 46.69 kB / 0.7827 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.6115, allocations: 24.33 kB / 0.7827 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003435/0.6118, allocations: 332.6 kB / 0.783 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6118, allocations: 1.031 kB / 0.783 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009109/0.6127, allocations: 289 kB / 0.7833 GB, free: 6.398 MB / 0.6075 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.0005964/0.6133, allocations: 394.9 kB / 0.7836 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.6149, allocations: 0.8637 MB / 0.7845 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.6149, allocations: 0.75 kB / 0.7845 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009052/0.6158, allocations: 0.5585 MB / 0.785 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.6168, allocations: 206 kB / 0.7852 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.6192, allocations: 1.434 MB / 0.7866 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.6198, allocations: 0.9011 MB / 0.7875 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004044/0.6202, allocations: 144.3 kB / 0.7876 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.6203, allocations: 64.12 kB / 0.7877 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of SimCode: time 4.5e-07/0.6203, allocations: 0 / 0.7877 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of Templates: time 0.0204/0.6407, allocations: 13.88 MB / 0.8013 GB, free: 2.906 MB / 0.6075 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.makefile (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=1200 -s gbode -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches