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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000842/0.000842, allocations: 174.3 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8529/0.8529, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6271/0.6271, allocations: 116 MB / 376 MB, free: 4.188 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.5545 GB, free: 12.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.728e-05, allocations: 11.98 kB / 0.5545 GB, free: 12.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.3724/0.3724, allocations: 130.1 MB / 0.6816 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008997/0.3814, allocations: 10.24 MB / 0.6916 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007633/0.3821, allocations: 33.53 kB / 0.6916 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007941/0.3829, allocations: 270.5 kB / 0.6919 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.3843, allocations: 0.6217 MB / 0.6925 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.3861, allocations: 0.7423 MB / 0.6932 GB, free: 6.027 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.3871, allocations: 1.063 MB / 0.6942 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.3874, allocations: 101.2 kB / 0.6943 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006637/0.388, allocations: 0.5701 MB / 0.6949 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005373/0.3886, allocations: 441.8 kB / 0.6953 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.861e-05/0.3886, allocations: 53.75 kB / 0.6954 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.3904, allocations: 0.9113 MB / 0.6962 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3905, allocations: 163 kB / 0.6964 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.3907, allocations: 236.5 kB / 0.6966 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.3922, allocations: 1.172 MB / 0.6978 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3922, allocations: 0 / 0.6978 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3922, allocations: 1.219 kB / 0.6978 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.427e-06/0.3922, allocations: 0 / 0.6978 GB, free: 5.219 MB / 0.5573 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.001522/0.3937, allocations: 1.031 MB / 0.6988 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3937, allocations: 9.625 kB / 0.6988 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.3939, allocations: 87.91 kB / 0.6989 GB, free: 4.52 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.3945, allocations: 474.1 kB / 0.6993 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.895e-05/0.3946, allocations: 144.4 kB / 0.6995 GB, free: 4.094 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.3947, allocations: 55.14 kB / 0.6995 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007939/0.3955, allocations: 0.7126 MB / 0.7002 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.3955, allocations: 0 / 0.7002 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.3955, allocations: 23.75 kB / 0.7002 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.3956, allocations: 23.25 kB / 0.7003 GB, free: 3.703 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006871/0.3962, allocations: 0.6823 MB / 0.7009 GB, free: 3.484 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.3983, allocations: 1.866 MB / 0.7027 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007238/0.399, allocations: 0.5261 MB / 0.7033 GB, free: 2.23 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.3993, allocations: 298.9 kB / 0.7035 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007831/0.4001, allocations: 316.3 kB / 0.7038 GB, free: 2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.4001, allocations: 40.88 kB / 0.7039 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=62): time 3.136e-06/0.4001, allocations: 3.984 kB / 0.7039 GB, free: 1.953 MB / 0.5573 GB Notification: Performance of matching and sorting (n=64): time 0.002457/0.4026, allocations: 1.804 MB / 0.7056 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.4026, allocations: 65.28 kB / 0.7057 GB, free: 0.8555 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.4029, allocations: 387.3 kB / 0.7061 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.4029, allocations: 36.14 kB / 0.7061 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.403, allocations: 264.3 kB / 0.7064 GB, free: 348 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.403, allocations: 225.6 kB / 0.7066 GB, free: 152 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.4031, allocations: 115.1 kB / 0.7067 GB, free: 76 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4033, allocations: 369.4 kB / 0.707 GB, free: 15.72 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.4035, allocations: 220.4 kB / 0.7073 GB, free: 15.62 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.4039, allocations: 304 kB / 0.7075 GB, free: 15.43 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006315/0.4045, allocations: 0.5591 MB / 0.7081 GB, free: 15.11 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4045, allocations: 3.875 kB / 0.7081 GB, free: 15.11 MB / 0.573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009836/0.4055, allocations: 0.7908 MB / 0.7089 GB, free: 14.69 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4055, allocations: 5.688 kB / 0.7089 GB, free: 14.69 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.4055, allocations: 4.969 kB / 0.7089 GB, free: 14.69 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/0.4058, allocations: 134.4 kB / 0.709 GB, free: 14.62 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.406, allocations: 112 kB / 0.7091 GB, free: 14.59 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.4078, allocations: 2.304 MB / 0.7114 GB, free: 12.65 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.408, allocations: 20.2 kB / 0.7114 GB, free: 12.64 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.408, allocations: 30.27 kB / 0.7114 GB, free: 12.63 MB / 0.573 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.0002012/0.4082, allocations: 205.7 kB / 0.7116 GB, free: 12.45 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.4083, allocations: 70.58 kB / 0.7117 GB, free: 12.41 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.4095, allocations: 0.9695 MB / 0.7126 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.4095, allocations: 12.36 kB / 0.7126 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4095, allocations: 2.719 kB / 0.7126 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4095, allocations: 4 kB / 0.7126 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.4111, allocations: 1.406 MB / 0.714 GB, free: 10.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.4111, allocations: 2.25 kB / 0.714 GB, free: 10.91 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.4113, allocations: 104.3 kB / 0.7141 GB, free: 10.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/0.4115, allocations: 135.2 kB / 0.7142 GB, free: 10.81 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.4116, allocations: 25.86 kB / 0.7143 GB, free: 10.79 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.4131, allocations: 2.245 MB / 0.7165 GB, free: 8.891 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4131, allocations: 8 kB / 0.7165 GB, free: 8.883 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.4144, allocations: 1.17 MB / 0.7176 GB, free: 8.199 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.4145, allocations: 115 kB / 0.7177 GB, free: 8.121 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.4146, allocations: 18.77 kB / 0.7177 GB, free: 8.105 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.4147, allocations: 19.61 kB / 0.7178 GB, free: 8.094 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.4148, allocations: 52.8 kB / 0.7178 GB, free: 8.059 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.4148, allocations: 21.42 kB / 0.7178 GB, free: 8.051 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000207/0.415, allocations: 302.4 kB / 0.7181 GB, free: 7.863 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-08/0.415, allocations: 0 / 0.7181 GB, free: 7.863 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006887/0.4157, allocations: 291.6 kB / 0.7184 GB, free: 7.789 MB / 0.573 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.0004829/0.4162, allocations: 402.1 kB / 0.7188 GB, free: 7.57 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.4172, allocations: 0.8128 MB / 0.7196 GB, free: 7.078 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4172, allocations: 0 / 0.7196 GB, free: 7.078 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005137/0.4177, allocations: 0.5402 MB / 0.7201 GB, free: 6.707 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006689/0.4184, allocations: 230.6 kB / 0.7203 GB, free: 6.59 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.42, allocations: 1.319 MB / 0.7216 GB, free: 5.742 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.4202, allocations: 313.5 kB / 0.7219 GB, free: 5.551 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.4203, allocations: 75.39 kB / 0.722 GB, free: 5.52 MB / 0.573 GB Notification: Performance of SimCode: time 7.42e-07/0.4203, allocations: 0 / 0.722 GB, free: 5.52 MB / 0.573 GB Notification: Performance of Templates: time 0.01329/0.4336, allocations: 14.74 MB / 0.7364 GB, free: 13.7 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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 [Calling sys.exit(0), Time elapsed: 6.242232016287744]