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.001469/0.001469, allocations: 110.8 kB / 15.99 MB, free: 6.367 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.001566/0.001566, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.268/1.268, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6376/0.6376, allocations: 91.18 MB / 381.9 MB, free: 7.613 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 75.88 kB / 460.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1123, allocations: 67.68 MB / 0.5158 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.3306/0.4429, allocations: 147.7 MB / 0.66 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01199/0.455, allocations: 12.02 MB / 0.6718 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006173/0.4556, allocations: 27.81 kB / 0.6718 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008658/0.4565, allocations: 258.7 kB / 0.672 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.4577, allocations: 0.4974 MB / 0.6725 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.4594, allocations: 0.6517 MB / 0.6731 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009084/0.4603, allocations: 0.9168 MB / 0.674 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.4606, allocations: 170 kB / 0.6742 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004803/0.4611, allocations: 386.4 kB / 0.6746 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005507/0.4617, allocations: 482.2 kB / 0.675 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.841e-05/0.4618, allocations: 56 kB / 0.6751 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.4636, allocations: 1.066 MB / 0.6761 GB, free: 280 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.4638, allocations: 159.4 kB / 0.6763 GB, free: 120 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002817/0.4641, allocations: 318.4 kB / 0.6766 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009142/0.465, allocations: 0.8029 MB / 0.6774 GB, free: 15 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.465, allocations: 0 / 0.6774 GB, free: 15 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.015e-06/0.465, allocations: 4 kB / 0.6774 GB, free: 15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.465, allocations: 4 kB / 0.6774 GB, free: 14.99 MB / 0.5294 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.001869/0.4669, allocations: 1.056 MB / 0.6784 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4669, allocations: 11.97 kB / 0.6784 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.4671, allocations: 72.09 kB / 0.6785 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.4677, allocations: 477.6 kB / 0.6789 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-05/0.4678, allocations: 100.7 kB / 0.679 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.434e-05/0.4679, allocations: 44 kB / 0.6791 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.469, allocations: 0.6534 MB / 0.6797 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.469, allocations: 12.45 kB / 0.6797 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/0.4691, allocations: 20 kB / 0.6798 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.4691, allocations: 21 kB / 0.6798 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.4702, allocations: 0.6636 MB / 0.6804 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.4735, allocations: 2.457 MB / 0.6828 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.4746, allocations: 0.6163 MB / 0.6834 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005784/0.4752, allocations: 364.2 kB / 0.6838 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002284/0.4775, allocations: 2.616 MB / 0.6863 GB, free: 5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.4775, allocations: 43.12 kB / 0.6864 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.745e-06/0.4775, allocations: 0.75 kB / 0.6864 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64): time 0.003831/0.4814, allocations: 2.148 MB / 0.6885 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.4814, allocations: 59.97 kB / 0.6885 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.4819, allocations: 430 kB / 0.6889 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.4819, allocations: 37.7 kB / 0.689 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.4821, allocations: 245.4 kB / 0.6892 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.4822, allocations: 212.8 kB / 0.6894 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.4824, allocations: 118.1 kB / 0.6895 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4825, allocations: 370.8 kB / 0.6899 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004561/0.483, allocations: 253.1 kB / 0.6901 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.4835, allocations: 332.6 kB / 0.6904 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009986/0.4845, allocations: 0.611 MB / 0.691 GB, free: 15.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4845, allocations: 0 / 0.691 GB, free: 15.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00146/0.486, allocations: 0.8385 MB / 0.6918 GB, free: 15.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.486, allocations: 11.94 kB / 0.6919 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.4861, allocations: 8.188 kB / 0.6919 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003941/0.4865, allocations: 126.6 kB / 0.692 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.4869, allocations: 119.7 kB / 0.6921 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/0.4895, allocations: 2.462 MB / 0.6945 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.4898, allocations: 32.83 kB / 0.6945 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.4899, allocations: 27.98 kB / 0.6946 GB, free: 12.23 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.0002258/0.4901, allocations: 189.6 kB / 0.6947 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.4902, allocations: 63.25 kB / 0.6948 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.492, allocations: 1.03 MB / 0.6958 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.4921, allocations: 8 kB / 0.6958 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4921, allocations: 4.516 kB / 0.6958 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.4921, allocations: 3.984 kB / 0.6958 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.4945, allocations: 1.645 MB / 0.6974 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.4946, allocations: 4 kB / 0.6974 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.495, allocations: 106 kB / 0.6975 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003752/0.4954, allocations: 132.6 kB / 0.6977 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.4955, allocations: 16.67 kB / 0.6977 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.4978, allocations: 2.411 MB / 0.7 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4979, allocations: 0 / 0.7 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.4998, allocations: 1.245 MB / 0.7012 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.775e-05/0.5, allocations: 128.4 kB / 0.7014 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.302e-05/0.5, allocations: 23.91 kB / 0.7014 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/0.5004, allocations: 27.89 kB / 0.7014 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.5005, allocations: 41.62 kB / 0.7015 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.5005, allocations: 23.98 kB / 0.7015 GB, free: 4.898 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003364/0.5009, allocations: 330.9 kB / 0.7018 GB, free: 4.578 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5009, allocations: 0 / 0.7018 GB, free: 4.578 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007942/0.5017, allocations: 280 kB / 0.7021 GB, free: 4.305 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.0006502/0.5023, allocations: 396.5 kB / 0.7024 GB, free: 3.926 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001803/0.5041, allocations: 0.9778 MB / 0.7034 GB, free: 2.918 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5042, allocations: 0 / 0.7034 GB, free: 2.918 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008883/0.5051, allocations: 0.5871 MB / 0.704 GB, free: 2.309 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009396/0.506, allocations: 197.5 kB / 0.7042 GB, free: 2.137 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.5085, allocations: 1.646 MB / 0.7058 GB, free: 488 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.509, allocations: 0.8996 MB / 0.7066 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.5092, allocations: 67.39 kB / 0.7067 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.5092, allocations: 4 kB / 0.7067 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.0178/0.527, allocations: 14.32 MB / 0.7207 GB, free: 1.301 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 -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