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.001212/0.001212, 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.000933/0.000933, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8945/0.8945, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.6356/0.6356, allocations: 116 MB / 375.2 MB, free: 4.191 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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 0.5532 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.434e-05, allocations: 2.281 kB / 0.5533 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.3909/0.3909, allocations: 130.1 MB / 0.6803 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009413/0.4004, allocations: 10.24 MB / 0.6903 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007321/0.4011, allocations: 33.53 kB / 0.6904 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009157/0.402, allocations: 275.5 kB / 0.6906 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.4036, allocations: 0.619 MB / 0.6912 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.4054, allocations: 0.7453 MB / 0.692 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.4066, allocations: 1.059 MB / 0.693 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.4068, allocations: 102.2 kB / 0.6931 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006452/0.4075, allocations: 0.5657 MB / 0.6937 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004978/0.408, allocations: 436.2 kB / 0.6941 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.705e-05/0.408, allocations: 56.56 kB / 0.6941 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.4096, allocations: 0.9155 MB / 0.695 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.4098, allocations: 168.4 kB / 0.6952 GB, free: 5.004 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.41, allocations: 235.3 kB / 0.6954 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.4114, allocations: 1.179 MB / 0.6966 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4114, allocations: 1.375 kB / 0.6966 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4114, allocations: 0 / 0.6966 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.4114, allocations: 0 / 0.6966 GB, free: 4.809 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.001421/0.4129, allocations: 1.027 MB / 0.6976 GB, free: 4.152 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4129, allocations: 9.531 kB / 0.6976 GB, free: 4.152 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.281e-05/0.413, allocations: 85.98 kB / 0.6976 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.4131, allocations: 88.58 kB / 0.6977 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/0.4137, allocations: 471.8 kB / 0.6982 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.141e-05/0.4138, allocations: 148.7 kB / 0.6983 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.4139, allocations: 50.48 kB / 0.6984 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/0.4147, allocations: 0.7137 MB / 0.6991 GB, free: 3.258 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.4147, allocations: 0 / 0.6991 GB, free: 3.258 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.4147, allocations: 16.88 kB / 0.6991 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.4147, allocations: 30.56 kB / 0.6991 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007754/0.4155, allocations: 0.68 MB / 0.6998 GB, free: 3.016 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.4177, allocations: 1.947 MB / 0.7017 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007793/0.4184, allocations: 0.5312 MB / 0.7022 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.4188, allocations: 293.6 kB / 0.7025 GB, free: 1.594 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007886/0.4196, allocations: 318.7 kB / 0.7028 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.4196, allocations: 43.69 kB / 0.7028 GB, free: 1.477 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=62): time 2.484e-06/0.4196, allocations: 3.938 kB / 0.7028 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of matching and sorting (n=64): time 0.002702/0.4223, allocations: 1.809 MB / 0.7046 GB, free: 456 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.4223, allocations: 60 kB / 0.7047 GB, free: 392 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.4226, allocations: 442.9 kB / 0.7051 GB, free: 116 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.4227, allocations: 40.61 kB / 0.7051 GB, free: 72 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.4228, allocations: 264.4 kB / 0.7054 GB, free: 15.83 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.423, allocations: 226.8 kB / 0.7056 GB, free: 15.64 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.4231, allocations: 115 kB / 0.7057 GB, free: 15.57 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4232, allocations: 371.1 kB / 0.706 GB, free: 15.21 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.4235, allocations: 225.4 kB / 0.7063 GB, free: 15.1 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.4238, allocations: 302.5 kB / 0.7065 GB, free: 14.91 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006633/0.4245, allocations: 0.5611 MB / 0.7071 GB, free: 14.59 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4245, allocations: 0 / 0.7071 GB, free: 14.59 MB / 0.573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001056/0.4255, allocations: 0.7925 MB / 0.7079 GB, free: 14.18 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.4256, allocations: 9.656 kB / 0.7079 GB, free: 14.17 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.4256, allocations: 2.688 kB / 0.7079 GB, free: 14.17 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.4259, allocations: 145.2 kB / 0.708 GB, free: 14.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.4262, allocations: 104.7 kB / 0.7081 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.4281, allocations: 2.347 MB / 0.7104 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.4284, allocations: 15.53 kB / 0.7104 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.4285, allocations: 36.25 kB / 0.7105 GB, free: 12.06 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.0002499/0.4287, allocations: 195 kB / 0.7106 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.4289, allocations: 75.39 kB / 0.7107 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.43, allocations: 0.9894 MB / 0.7117 GB, free: 11.23 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.4301, allocations: 5.469 kB / 0.7117 GB, free: 11.23 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.4301, allocations: 2.844 kB / 0.7117 GB, free: 11.23 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.4301, allocations: 3.984 kB / 0.7117 GB, free: 11.23 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.4317, allocations: 1.468 MB / 0.7131 GB, free: 10.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.4317, allocations: 2.594 kB / 0.7131 GB, free: 10.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.432, allocations: 100.7 kB / 0.7132 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002336/0.4322, allocations: 129.3 kB / 0.7134 GB, free: 10.19 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.4322, allocations: 19.83 kB / 0.7134 GB, free: 10.18 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.4339, allocations: 2.276 MB / 0.7156 GB, free: 8.238 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4339, allocations: 0 / 0.7156 GB, free: 8.238 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.4352, allocations: 1.177 MB / 0.7167 GB, free: 7.555 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.4355, allocations: 120.8 kB / 0.7169 GB, free: 7.465 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.4355, allocations: 12.91 kB / 0.7169 GB, free: 7.457 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.4357, allocations: 22.05 kB / 0.7169 GB, free: 7.441 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/0.4358, allocations: 54.98 kB / 0.7169 GB, free: 7.406 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.4358, allocations: 23.23 kB / 0.717 GB, free: 7.398 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000284/0.4361, allocations: 351.5 kB / 0.7173 GB, free: 7.188 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.4361, allocations: 3.938 kB / 0.7173 GB, free: 7.184 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007293/0.4368, allocations: 302.4 kB / 0.7176 GB, free: 7.102 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.002005/0.4388, allocations: 2.01 MB / 0.7196 GB, free: 5.773 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.4399, allocations: 0.7968 MB / 0.7203 GB, free: 5.293 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4399, allocations: 384 / 0.7203 GB, free: 5.293 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006244/0.4406, allocations: 0.536 MB / 0.7209 GB, free: 4.926 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009511/0.4415, allocations: 274.7 kB / 0.7211 GB, free: 4.785 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006308/0.4478, allocations: 5.716 MB / 0.7267 GB, free: 1.164 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.4481, allocations: 309.6 kB / 0.727 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003899/0.4485, allocations: 151.2 kB / 0.7271 GB, free: 0.8945 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.4487, allocations: 239.2 kB / 0.7274 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of SimCode: time 1.433e-06/0.4487, allocations: 0 / 0.7274 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/0.4887, allocations: 23.48 MB / 0.7503 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.39, allocations: 7.422 kB / 0.7503 GB, free: 14.66 MB / 0.6042 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_Turbine.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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_dev_ThermofluidStream.Processes.Tests.Turbine_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.061578405089676]