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.0009733/0.0009733, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.338/1.338, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6347/0.6347, allocations: 89.64 MB / 381.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003951, allocations: 11.78 kB / 461.3 MB, free: 24.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1138, allocations: 68.83 MB / 0.5177 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.3921/0.5059, allocations: 145.5 MB / 0.6598 GB, free: 5.277 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01324/0.5192, allocations: 11.91 MB / 0.6714 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007894/0.5201, allocations: 9.75 kB / 0.6714 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009271/0.521, allocations: 252.2 kB / 0.6717 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.5226, allocations: 0.4917 MB / 0.6721 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.5246, allocations: 0.6374 MB / 0.6728 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.5258, allocations: 1.077 MB / 0.6738 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.5262, allocations: 145 kB / 0.674 GB, free: 9.934 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006693/0.5268, allocations: 310.5 kB / 0.6743 GB, free: 9.773 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007281/0.5276, allocations: 433.6 kB / 0.6747 GB, free: 9.531 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.5277, allocations: 29.78 kB / 0.6747 GB, free: 9.531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.53, allocations: 1.027 MB / 0.6757 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.5302, allocations: 115.4 kB / 0.6758 GB, free: 8.945 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000498/0.5307, allocations: 302.8 kB / 0.6761 GB, free: 8.738 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.5319, allocations: 0.732 MB / 0.6768 GB, free: 8.062 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.532, allocations: 0 / 0.6768 GB, free: 8.062 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.532, allocations: 7.938 kB / 0.6768 GB, free: 8.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.532, allocations: 0 / 0.6768 GB, free: 8.055 MB / 494.1 MB 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.001979/0.534, allocations: 0.8963 MB / 0.6777 GB, free: 7.105 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.534, allocations: 12.03 kB / 0.6777 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.5342, allocations: 64.12 kB / 0.6778 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005882/0.5348, allocations: 395.7 kB / 0.6781 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.5349, allocations: 95.08 kB / 0.6782 GB, free: 6.504 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.535, allocations: 48.56 kB / 0.6783 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.5362, allocations: 0.6636 MB / 0.6789 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.5363, allocations: 0 / 0.6789 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.5363, allocations: 16 kB / 0.6789 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.5364, allocations: 24.92 kB / 0.679 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.5376, allocations: 0.6792 MB / 0.6796 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003926/0.5415, allocations: 2.451 MB / 0.682 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.5428, allocations: 0.6291 MB / 0.6826 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/0.5435, allocations: 363.9 kB / 0.683 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002515/0.546, allocations: 2.62 MB / 0.6855 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.5461, allocations: 39.06 kB / 0.6856 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 2.895e-06/0.5461, allocations: 0 / 0.6856 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64): time 0.004505/0.5506, allocations: 2.152 MB / 0.6877 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.5506, allocations: 63.95 kB / 0.6877 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.5511, allocations: 357.5 kB / 0.6881 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/0.5512, allocations: 41.7 kB / 0.6881 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.5513, allocations: 209.5 kB / 0.6883 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.5515, allocations: 216.8 kB / 0.6885 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.951e-05/0.5516, allocations: 53.7 kB / 0.6886 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.5518, allocations: 358.8 kB / 0.6889 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/0.5523, allocations: 261.1 kB / 0.6892 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/0.5528, allocations: 332.6 kB / 0.6895 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.5539, allocations: 0.6259 MB / 0.6901 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5539, allocations: 0 / 0.6901 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001617/0.5556, allocations: 0.8348 MB / 0.6909 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.5556, allocations: 8 kB / 0.6909 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.5556, allocations: 4 kB / 0.6909 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004332/0.5561, allocations: 128.8 kB / 0.6911 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.5566, allocations: 112.7 kB / 0.6912 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.5592, allocations: 2.252 MB / 0.6934 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.5596, allocations: 16 kB / 0.6934 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/0.5597, allocations: 35.97 kB / 0.6934 GB, free: 5.891 MB / 0.4981 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.0002853/0.56, allocations: 197.6 kB / 0.6936 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.5601, allocations: 47.44 kB / 0.6936 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.5621, allocations: 1.034 MB / 0.6947 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.5621, allocations: 4 kB / 0.6947 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.5621, allocations: 4 kB / 0.6947 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.5621, allocations: 7.984 kB / 0.6947 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.5648, allocations: 1.639 MB / 0.6963 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.5648, allocations: 4 kB / 0.6963 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.5653, allocations: 99.86 kB / 0.6964 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004117/0.5657, allocations: 140.6 kB / 0.6965 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/0.5658, allocations: 19.98 kB / 0.6965 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/0.5682, allocations: 2.178 MB / 0.6986 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5682, allocations: 0 / 0.6986 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.5704, allocations: 1.26 MB / 0.6999 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.5706, allocations: 132.5 kB / 0.7 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/0.5707, allocations: 12 kB / 0.7 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.571, allocations: 27.89 kB / 0.7 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.743e-05/0.5711, allocations: 52.44 kB / 0.7001 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.5712, allocations: 19.98 kB / 0.7001 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003261/0.5715, allocations: 279.1 kB / 0.7004 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5715, allocations: 0 / 0.7004 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009263/0.5725, allocations: 284 kB / 0.7006 GB, free: 14.2 MB / 0.5137 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.000697/0.5732, allocations: 391.3 kB / 0.701 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.5749, allocations: 0.896 MB / 0.7019 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5749, allocations: 0 / 0.7019 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009685/0.5759, allocations: 0.5871 MB / 0.7025 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.5771, allocations: 181.9 kB / 0.7026 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.5798, allocations: 1.684 MB / 0.7043 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.5803, allocations: 0.8801 MB / 0.7051 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.5805, allocations: 63.39 kB / 0.7052 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.5805, allocations: 0 / 0.7052 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of Templates: time 0.01975/0.6002, allocations: 13.36 MB / 0.7183 GB, free: 12.07 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,turbine.m_flow,turbine1.m_flow,turbine1.omega,turbine1.phi Variables in the result:time,turbine.m_flow,turbine1.m_flow,turbine1.omega,turbine1.phi