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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 111.6 kB / 18.13 MB, free: 3.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 197.2 kB / 21.43 MB, free: 412 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 250.2 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7627/0.7627, allocations: 94.6 MB / 400 MB, free: 15.74 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002289/0.002289, allocations: 83.25 kB / 0.5457 GB, free: 43.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.123, allocations: 71.85 MB / 0.6158 GB, free: 8.996 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.5002/0.6232, allocations: 150.1 MB / 0.7624 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.6351, allocations: 12.18 MB / 0.7743 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007531/0.6358, allocations: 23 kB / 0.7743 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008324/0.6367, allocations: 295.9 kB / 0.7746 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.638, allocations: 0.5683 MB / 0.7752 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.6399, allocations: 0.7186 MB / 0.7759 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.6411, allocations: 0.9411 MB / 0.7768 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.6414, allocations: 104.8 kB / 0.7769 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006464/0.642, allocations: 402.3 kB / 0.7773 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005709/0.6426, allocations: 488.3 kB / 0.7777 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.199e-05/0.6427, allocations: 53.31 kB / 0.7778 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.6446, allocations: 1.065 MB / 0.7788 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.6448, allocations: 153.1 kB / 0.779 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.6451, allocations: 324.8 kB / 0.7793 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.6468, allocations: 1.115 MB / 0.7804 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6468, allocations: 1.812 kB / 0.7804 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6468, allocations: 0 / 0.7804 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.6469, allocations: 0.6562 kB / 0.7804 GB, free: 2.461 MB / 0.5762 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.002188/0.649, allocations: 1.096 MB / 0.7814 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.6491, allocations: 9.625 kB / 0.7814 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.6492, allocations: 87.62 kB / 0.7815 GB, free: 17.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.6493, allocations: 72.06 kB / 0.7816 GB, free: 17.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007692/0.6501, allocations: 0.5176 MB / 0.7821 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.6502, allocations: 99.95 kB / 0.7822 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/0.6503, allocations: 44.16 kB / 0.7822 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/0.6512, allocations: 0.6517 MB / 0.7829 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.6513, allocations: 6.141 kB / 0.7829 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.6513, allocations: 28.05 kB / 0.7829 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/0.6513, allocations: 17.62 kB / 0.7829 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009811/0.6523, allocations: 0.6683 MB / 0.7836 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.6557, allocations: 2.455 MB / 0.786 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.6567, allocations: 0.5892 MB / 0.7865 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005116/0.6573, allocations: 323.2 kB / 0.7869 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002732/0.66, allocations: 2.621 MB / 0.7894 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.66, allocations: 38.56 kB / 0.7895 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.505e-06/0.66, allocations: 3.406 kB / 0.7895 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003737/0.6638, allocations: 2.159 MB / 0.7916 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.6638, allocations: 57.41 kB / 0.7916 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/0.6642, allocations: 433.6 kB / 0.792 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.6642, allocations: 32.7 kB / 0.7921 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.6644, allocations: 258.9 kB / 0.7923 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.6645, allocations: 232.1 kB / 0.7925 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.6646, allocations: 111.1 kB / 0.7926 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6648, allocations: 371.7 kB / 0.793 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/0.6652, allocations: 256.2 kB / 0.7932 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/0.6656, allocations: 329.6 kB / 0.7936 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000865/0.6665, allocations: 0.6121 MB / 0.7942 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6665, allocations: 0.9062 kB / 0.7942 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001352/0.6679, allocations: 0.8325 MB / 0.795 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.6679, allocations: 6.375 kB / 0.795 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.6679, allocations: 8.25 kB / 0.795 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003951/0.6683, allocations: 142 kB / 0.7951 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.6688, allocations: 109.6 kB / 0.7952 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.6714, allocations: 2.466 MB / 0.7976 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.6718, allocations: 21.36 kB / 0.7976 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/0.6719, allocations: 31.11 kB / 0.7977 GB, free: 10.16 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.0002895/0.6721, allocations: 190.5 kB / 0.7979 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.6723, allocations: 61.64 kB / 0.7979 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.674, allocations: 1.032 MB / 0.7989 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.674, allocations: 9.125 kB / 0.7989 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.674, allocations: 2.531 kB / 0.7989 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.674, allocations: 6.172 kB / 0.7989 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.6763, allocations: 1.648 MB / 0.8006 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.6763, allocations: 6.75 kB / 0.8006 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.6768, allocations: 96.36 kB / 0.8006 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003469/0.6771, allocations: 131.5 kB / 0.8008 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.6771, allocations: 20.41 kB / 0.8008 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002411/0.6796, allocations: 2.404 MB / 0.8031 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6796, allocations: 3.188 kB / 0.8031 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.6814, allocations: 1.257 MB / 0.8044 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.6815, allocations: 129.8 kB / 0.8045 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.756e-05/0.6816, allocations: 16.44 kB / 0.8045 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.6819, allocations: 15.42 kB / 0.8045 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.682, allocations: 47.94 kB / 0.8046 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.6821, allocations: 23.5 kB / 0.8046 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003586/0.6824, allocations: 336.3 kB / 0.8049 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6824, allocations: 0 / 0.8049 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008813/0.6833, allocations: 285.1 kB / 0.8052 GB, free: 7.547 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.002872/0.6862, allocations: 2.079 MB / 0.8072 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.6878, allocations: 0.8518 MB / 0.8081 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6878, allocations: 0.5938 kB / 0.8081 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008988/0.6887, allocations: 0.564 MB / 0.8086 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.6897, allocations: 203.9 kB / 0.8088 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008753/0.6985, allocations: 5.932 MB / 0.8146 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.6991, allocations: 0.8983 MB / 0.8155 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004797/0.6995, allocations: 137.8 kB / 0.8156 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003413/0.6999, allocations: 236.2 kB / 0.8158 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of SimCode: time 9.01e-07/0.6999, allocations: 0 / 0.8158 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05315/0.753, allocations: 20.23 MB / 0.8356 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.09, allocations: 6.469 kB / 0.8356 GB, free: 4.129 MB / 0.6075 GB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.775782368145883]