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.002009/0.002009, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001733/0.001733, allocations: 218.8 kB / 22.25 MB, free: 5.117 MB / 14.72 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 1.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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.802/0.802, allocations: 100.3 MB / 412.7 MB, free: 3.664 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002669/0.002669, allocations: 87.02 kB / 0.5638 GB, free: 35.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1239, allocations: 74.47 MB / 0.6365 GB, free: 7.141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.4718/0.5958, allocations: 150.1 MB / 0.7831 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01275/0.6085, allocations: 12.2 MB / 0.795 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007784/0.6093, allocations: 29.06 kB / 0.795 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009562/0.6103, allocations: 292 kB / 0.7953 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.612, allocations: 0.57 MB / 0.7959 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.6143, allocations: 0.7281 MB / 0.7966 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001279/0.6155, allocations: 0.9583 MB / 0.7975 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/0.6158, allocations: 102.1 kB / 0.7976 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006847/0.6165, allocations: 412.9 kB / 0.798 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000677/0.6171, allocations: 490 kB / 0.7985 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.056e-05/0.6172, allocations: 53.75 kB / 0.7985 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.6196, allocations: 1.066 MB / 0.7996 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.6198, allocations: 160.4 kB / 0.7997 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004227/0.6202, allocations: 327.5 kB / 0.8 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00281/0.6231, allocations: 1.113 MB / 0.8011 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6231, allocations: 1.203 kB / 0.8011 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6231, allocations: 0 / 0.8011 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.6231, allocations: 0 / 0.8011 GB, free: 14.07 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.002513/0.6256, allocations: 1.029 MB / 0.8021 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.6256, allocations: 9.156 kB / 0.8021 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.6258, allocations: 75.81 kB / 0.8022 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008215/0.6266, allocations: 452.4 kB / 0.8026 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.6267, allocations: 148.6 kB / 0.8028 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.201e-05/0.6268, allocations: 50.3 kB / 0.8028 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.6279, allocations: 0.6633 MB / 0.8035 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.628, allocations: 1.312 kB / 0.8035 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.628, allocations: 21.56 kB / 0.8035 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/0.628, allocations: 19.73 kB / 0.8035 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.6291, allocations: 0.6857 MB / 0.8042 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.6327, allocations: 2.399 MB / 0.8065 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.6339, allocations: 0.5859 MB / 0.8071 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000553/0.6344, allocations: 335.6 kB / 0.8074 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001527/0.6359, allocations: 305.2 kB / 0.8077 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.636, allocations: 41.31 kB / 0.8077 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.445e-06/0.636, allocations: 0 / 0.8077 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.004043/0.64, allocations: 1.944 MB / 0.8096 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.6401, allocations: 59.31 kB / 0.8097 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.6405, allocations: 432.4 kB / 0.8101 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.685e-05/0.6406, allocations: 35.81 kB / 0.8101 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.6408, allocations: 260.8 kB / 0.8104 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.6409, allocations: 234 kB / 0.8106 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.6411, allocations: 110.7 kB / 0.8107 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.6413, allocations: 369.8 kB / 0.8111 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004584/0.6418, allocations: 260.8 kB / 0.8113 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000551/0.6423, allocations: 332.7 kB / 0.8116 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.6434, allocations: 0.6151 MB / 0.8122 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6434, allocations: 2.5 kB / 0.8122 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001644/0.6451, allocations: 0.8404 MB / 0.8131 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6451, allocations: 4.844 kB / 0.8131 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.6451, allocations: 8.203 kB / 0.8131 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000443/0.6455, allocations: 131.3 kB / 0.8132 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/0.646, allocations: 110.5 kB / 0.8133 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/0.6491, allocations: 2.377 MB / 0.8156 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.6496, allocations: 23.52 kB / 0.8157 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.6496, allocations: 27.02 kB / 0.8157 GB, free: 7.172 MB / 0.5919 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.0003805/0.65, allocations: 189.4 kB / 0.8159 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.6501, allocations: 63.36 kB / 0.8159 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.6521, allocations: 1.03 MB / 0.8169 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.6522, allocations: 11.22 kB / 0.8169 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6522, allocations: 6.844 kB / 0.8169 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.6522, allocations: 3.984 kB / 0.8169 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.6552, allocations: 1.622 MB / 0.8185 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/0.6552, allocations: 2.719 kB / 0.8185 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004878/0.6557, allocations: 98.67 kB / 0.8186 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004112/0.6561, allocations: 134.2 kB / 0.8188 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/0.6562, allocations: 16.64 kB / 0.8188 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/0.659, allocations: 2.311 MB / 0.821 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.659, allocations: 4.062 kB / 0.821 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.6613, allocations: 1.255 MB / 0.8223 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.6614, allocations: 58.7 kB / 0.8223 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/0.6615, allocations: 13.75 kB / 0.8223 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.6618, allocations: 20.28 kB / 0.8223 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.908e-05/0.6619, allocations: 43.25 kB / 0.8224 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.662, allocations: 31.66 kB / 0.8224 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003798/0.6624, allocations: 329.6 kB / 0.8227 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6624, allocations: 0 / 0.8227 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009271/0.6633, allocations: 292 kB / 0.823 GB, free: 2.066 MB / 0.5919 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.0006737/0.664, allocations: 391.1 kB / 0.8234 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001713/0.6657, allocations: 0.8509 MB / 0.8242 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6657, allocations: 0 / 0.8242 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009819/0.6667, allocations: 0.5671 MB / 0.8248 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.6677, allocations: 208.5 kB / 0.825 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/0.6703, allocations: 1.448 MB / 0.8264 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.6708, allocations: 0.8973 MB / 0.8273 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004222/0.6712, allocations: 139.7 kB / 0.8274 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.6714, allocations: 63.75 kB / 0.8274 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.6714, allocations: 0 / 0.8274 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.0254/0.6968, allocations: 14.16 MB / 0.8413 GB, free: 5.949 MB / 0.6075 GB " [Timeout remaining time 659] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 6.585691676940769]