Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_OM_adaptions_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_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008535/0.0008534, allocations: 168.2 kB / 16.1 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.235/1.235, allocations: 205 MB / 221.9 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007274/0.0007274, allocations: 86.36 kB / 269.9 MB, free: 8.668 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6072/0.6072, allocations: 90.52 MB / 408.3 MB, free: 3.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002982, allocations: 8 kB / 484.8 MB, free: 7.211 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2431, allocations: 65.8 MB / 0.5377 GB, free: 35.01 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1281/0.3712, allocations: 145.7 MB / 0.68 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.2268/0.5981, allocations: 11.87 MB / 0.6916 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004497/0.5985, allocations: 16.25 kB / 0.6917 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006923/0.5992, allocations: 256.9 kB / 0.6919 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.6003, allocations: 0.4943 MB / 0.6924 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.602, allocations: 0.6324 MB / 0.693 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009553/0.6029, allocations: 1.109 MB / 0.6941 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.6032, allocations: 142.7 kB / 0.6942 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004318/0.6036, allocations: 317.2 kB / 0.6945 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005358/0.6041, allocations: 444.1 kB / 0.6949 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.193e-05/0.6042, allocations: 27.62 kB / 0.695 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.6061, allocations: 1.054 MB / 0.696 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.6062, allocations: 114.1 kB / 0.6961 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.6065, allocations: 279.3 kB / 0.6964 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007837/0.6072, allocations: 0.7478 MB / 0.6971 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6073, allocations: 0 / 0.6971 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6073, allocations: 4 kB / 0.6971 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.6073, allocations: 3.938 kB / 0.6971 GB, free: 1.215 MB / 0.4948 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.001576/0.6089, allocations: 0.9098 MB / 0.698 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.6089, allocations: 8.031 kB / 0.698 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.609, allocations: 60.75 kB / 0.6981 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.6094, allocations: 394.4 kB / 0.6984 GB, free: 16.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.064e-05/0.6095, allocations: 94.97 kB / 0.6985 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-05/0.6096, allocations: 49.34 kB / 0.6986 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.6106, allocations: 0.6521 MB / 0.6992 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.6106, allocations: 1.156 kB / 0.6992 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.6107, allocations: 21.84 kB / 0.6992 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.224e-05/0.6107, allocations: 26.94 kB / 0.6993 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.6119, allocations: 0.6809 MB / 0.6999 GB, free: 16.22 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/0.6152, allocations: 2.745 MB / 0.7026 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.6164, allocations: 0.7245 MB / 0.7033 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005878/0.617, allocations: 399.9 kB / 0.7037 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002174/0.6192, allocations: 2.637 MB / 0.7063 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.6193, allocations: 37.88 kB / 0.7063 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=64): time 2.524e-06/0.6193, allocations: 0 / 0.7063 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66): time 0.003614/0.6229, allocations: 2.342 MB / 0.7086 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.6229, allocations: 62.09 kB / 0.7087 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.6232, allocations: 312 kB / 0.709 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.6232, allocations: 40.08 kB / 0.709 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.6233, allocations: 219.7 kB / 0.7092 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.6235, allocations: 221.2 kB / 0.7094 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.6235, allocations: 13.62 kB / 0.7094 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6236, allocations: 356.3 kB / 0.7098 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.6241, allocations: 298.2 kB / 0.71 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/0.6245, allocations: 361.4 kB / 0.7104 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.6256, allocations: 0.6805 MB / 0.7111 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6256, allocations: 0 / 0.7111 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001479/0.6271, allocations: 0.9031 MB / 0.7119 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.6271, allocations: 6.922 kB / 0.7119 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.6272, allocations: 4.344 kB / 0.7119 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003687/0.6275, allocations: 135.4 kB / 0.7121 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.628, allocations: 110.7 kB / 0.7122 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.6302, allocations: 2.244 MB / 0.7144 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.6305, allocations: 32.23 kB / 0.7144 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.6306, allocations: 34.88 kB / 0.7144 GB, free: 8.945 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002164/0.6308, allocations: 180.9 kB / 0.7146 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.806e-05/0.6309, allocations: 53 kB / 0.7147 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.6326, allocations: 1.06 MB / 0.7157 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.6326, allocations: 9.297 kB / 0.7157 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6326, allocations: 4.797 kB / 0.7157 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.6326, allocations: 6.859 kB / 0.7157 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/0.6351, allocations: 1.862 MB / 0.7175 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.6351, allocations: 6.844 kB / 0.7175 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.6356, allocations: 116.1 kB / 0.7177 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003231/0.6359, allocations: 132.1 kB / 0.7178 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/0.636, allocations: 26.42 kB / 0.7178 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/0.638, allocations: 2.185 MB / 0.7199 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.638, allocations: 0 / 0.7199 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.6399, allocations: 1.468 MB / 0.7214 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.64, allocations: 125.9 kB / 0.7215 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.6401, allocations: 14.31 kB / 0.7215 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.6405, allocations: 36.17 kB / 0.7215 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/0.6406, allocations: 49.92 kB / 0.7216 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.63e-05/0.6406, allocations: 32.03 kB / 0.7216 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001694/0.6408, allocations: 218.8 kB / 0.7218 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6408, allocations: 0 / 0.7218 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007709/0.6416, allocations: 286.7 kB / 0.7221 GB, free: 6.516 MB / 0.5105 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 (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0004885/0.6421, allocations: 391.6 kB / 0.7225 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.6436, allocations: 1.029 MB / 0.7235 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6436, allocations: 0 / 0.7235 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008704/0.6444, allocations: 0.6875 MB / 0.7241 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007621/0.6452, allocations: 154.7 kB / 0.7243 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.6471, allocations: 1.602 MB / 0.7259 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.6475, allocations: 0.8805 MB / 0.7267 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.6477, allocations: 75.3 kB / 0.7268 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of SimCode: time 3.5e-07/0.6477, allocations: 0 / 0.7268 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of Templates: time 0.01369/0.6614, allocations: 13.33 MB / 0.7398 GB, free: 15.66 MB / 0.5261 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","../files/ThermofluidStream_OM_adaptions_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