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.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.001236/0.001236, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001307/0.001307, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9147/0.9147, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.6015/0.6015, allocations: 80.18 MB / 339.4 MB, free: 7.535 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.497e-06/3.497e-06, allocations: 1.688 kB / 0.4924 GB, free: 6.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.354e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1361/0.1362, allocations: 130.1 MB / 0.6194 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.009122/0.1453, allocations: 10.23 MB / 0.6294 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007792/0.1461, allocations: 27.75 kB / 0.6295 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0008768/0.1469, allocations: 274 kB / 0.6297 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.1484, allocations: 0.6053 MB / 0.6303 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.1505, allocations: 0.731 MB / 0.631 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.1517, allocations: 1.034 MB / 0.632 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.152, allocations: 102.2 kB / 0.6321 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008425/0.1528, allocations: 0.5609 MB / 0.6327 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004943/0.1533, allocations: 450.8 kB / 0.6331 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 6.45e-05/0.1534, allocations: 52 kB / 0.6332 GB, free: 7.789 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.1547, allocations: 0.9083 MB / 0.634 GB, free: 6.879 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1548, allocations: 155.4 kB / 0.6342 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.155, allocations: 235.4 kB / 0.6344 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.1564, allocations: 1.153 MB / 0.6355 GB, free: 5.34 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1564, allocations: 4 kB / 0.6355 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1564, allocations: 0 / 0.6355 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.1564, allocations: 0 / 0.6355 GB, free: 5.336 MB / 0.5417 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.001732/0.1581, allocations: 1.014 MB / 0.6365 GB, free: 4.289 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1582, allocations: 13.47 kB / 0.6365 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.723e-05/0.1583, allocations: 86.7 kB / 0.6366 GB, free: 4.184 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.1585, allocations: 96.45 kB / 0.6367 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000644/0.1591, allocations: 451.3 kB / 0.6372 GB, free: 3.617 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.1592, allocations: 152.3 kB / 0.6373 GB, free: 3.445 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.448e-05/0.1593, allocations: 48.08 kB / 0.6373 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009407/0.1602, allocations: 0.7139 MB / 0.638 GB, free: 2.648 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1603, allocations: 0 / 0.638 GB, free: 2.648 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.1603, allocations: 20 kB / 0.6381 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.774e-05/0.1604, allocations: 28.98 kB / 0.6381 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007649/0.1611, allocations: 0.6792 MB / 0.6388 GB, free: 1.922 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2777/0.4388, allocations: 1.983 MB / 0.6407 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.4401, allocations: 0.5893 MB / 0.6413 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/0.4406, allocations: 331.8 kB / 0.6416 GB, free: 149.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000968/0.4416, allocations: 307.5 kB / 0.6419 GB, free: 149.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.4416, allocations: 41.81 kB / 0.6419 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=62): time 2.184e-06/0.4416, allocations: 0.75 kB / 0.6419 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=64): time 0.003223/0.4448, allocations: 1.944 MB / 0.6438 GB, free: 148.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.4449, allocations: 63.17 kB / 0.6439 GB, free: 148.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/0.4454, allocations: 440.6 kB / 0.6443 GB, free: 148.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.4454, allocations: 39.95 kB / 0.6443 GB, free: 148.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.4455, allocations: 256.3 kB / 0.6446 GB, free: 148.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.978e-05/0.4456, allocations: 228.8 kB / 0.6448 GB, free: 148.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.4457, allocations: 114.2 kB / 0.6449 GB, free: 148.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.676e-05/0.4458, allocations: 372.9 kB / 0.6453 GB, free: 147.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.4462, allocations: 254.4 kB / 0.6455 GB, free: 147.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.4466, allocations: 336.5 kB / 0.6458 GB, free: 147.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008579/0.4475, allocations: 0.6195 MB / 0.6464 GB, free: 147.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4475, allocations: 0 / 0.6464 GB, free: 147.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001268/0.4487, allocations: 0.8472 MB / 0.6473 GB, free: 146.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.4488, allocations: 6.094 kB / 0.6473 GB, free: 146.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.4488, allocations: 4.766 kB / 0.6473 GB, free: 146.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003106/0.4491, allocations: 142.5 kB / 0.6474 GB, free: 146.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.4494, allocations: 108.2 kB / 0.6475 GB, free: 146.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.4513, allocations: 2.339 MB / 0.6498 GB, free: 145 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.4514, allocations: 22.48 kB / 0.6498 GB, free: 145 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.4515, allocations: 27.3 kB / 0.6498 GB, free: 145 MB / 0.5417 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.0001688/0.4517, allocations: 186.3 kB / 0.65 GB, free: 144.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.4518, allocations: 79.23 kB / 0.6501 GB, free: 144.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.4533, allocations: 1.041 MB / 0.6511 GB, free: 144.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.4534, allocations: 6.188 kB / 0.6511 GB, free: 144.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.4534, allocations: 2.656 kB / 0.6511 GB, free: 144.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4534, allocations: 4.781 kB / 0.6511 GB, free: 144.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.4553, allocations: 1.549 MB / 0.6526 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.4553, allocations: 2.781 kB / 0.6526 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.4556, allocations: 96.02 kB / 0.6527 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/0.4559, allocations: 128.2 kB / 0.6528 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.4559, allocations: 22.27 kB / 0.6529 GB, free: 143.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/0.4575, allocations: 2.286 MB / 0.6551 GB, free: 141.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4575, allocations: 0 / 0.6551 GB, free: 141.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.4591, allocations: 1.262 MB / 0.6563 GB, free: 140.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.4592, allocations: 55.98 kB / 0.6564 GB, free: 140.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.4592, allocations: 11.56 kB / 0.6564 GB, free: 140.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.4594, allocations: 22.14 kB / 0.6564 GB, free: 140.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.4594, allocations: 48.53 kB / 0.6565 GB, free: 140.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.4595, allocations: 22.48 kB / 0.6565 GB, free: 140.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002381/0.4597, allocations: 334.5 kB / 0.6568 GB, free: 140.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3e-08/0.4597, allocations: 0 / 0.6568 GB, free: 140.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007244/0.4604, allocations: 296.4 kB / 0.6571 GB, free: 140.5 MB / 0.5417 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.002134/0.4625, allocations: 2.127 MB / 0.6592 GB, free: 139.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.4637, allocations: 0.8529 MB / 0.66 GB, free: 138.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4637, allocations: 0 / 0.66 GB, free: 138.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005345/0.4643, allocations: 0.5684 MB / 0.6606 GB, free: 138.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/0.4651, allocations: 279.5 kB / 0.6608 GB, free: 138.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/0.4703, allocations: 5.861 MB / 0.6665 GB, free: 133.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.4705, allocations: 309.8 kB / 0.6668 GB, free: 133.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002867/0.4708, allocations: 148.9 kB / 0.667 GB, free: 133 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.471, allocations: 232.4 kB / 0.6672 GB, free: 132.7 MB / 0.5417 GB Notification: Performance of SimCode: time 7.12e-07/0.471, allocations: 0 / 0.6672 GB, free: 132.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03854/0.5095, allocations: 23.42 MB / 0.6901 GB, free: 109.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.652, allocations: 7.531 kB / 0.6901 GB, free: 109.6 MB / 0.5417 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.csv --start-time 0 --stop-time 30 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.03 ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.488925704732537]