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.002222/0.002222, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002667/0.002667, allocations: 216.5 kB / 22.26 MB, free: 5.082 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.685/1.685, allocations: 230.6 MB / 256 MB, free: 8.016 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.8958/0.8958, allocations: 100.3 MB / 412.7 MB, free: 3.68 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: "" <> 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: 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.002633/0.002633, allocations: 84.67 kB / 0.5633 GB, free: 35.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1844, allocations: 74.46 MB / 0.636 GB, free: 7.676 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.7227/0.9071, allocations: 150.1 MB / 0.7826 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01617/0.9233, allocations: 12.2 MB / 0.7945 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.9243, allocations: 31.94 kB / 0.7945 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.9255, allocations: 298.4 kB / 0.7948 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.9277, allocations: 0.561 MB / 0.7954 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.9306, allocations: 0.7284 MB / 0.7961 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001445/0.932, allocations: 0.9486 MB / 0.797 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.9323, allocations: 104.2 kB / 0.7971 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009092/0.9332, allocations: 412.8 kB / 0.7975 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008812/0.9341, allocations: 488.5 kB / 0.798 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.9342, allocations: 52.81 kB / 0.798 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.9371, allocations: 1.072 MB / 0.7991 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.9373, allocations: 158.1 kB / 0.7992 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005767/0.9379, allocations: 328.9 kB / 0.7995 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.9404, allocations: 1.111 MB / 0.8006 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.831e-05/0.9405, allocations: 3.312 kB / 0.8006 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.178e-06/0.9405, allocations: 0 / 0.8006 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.876e-05/0.9405, allocations: 0 / 0.8006 GB, free: 14.14 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.002428/0.9429, allocations: 1.03 MB / 0.8016 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.943, allocations: 14.06 kB / 0.8016 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.793e-05/0.9431, allocations: 85.34 kB / 0.8017 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.9434, allocations: 77.36 kB / 0.8018 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000795/0.9442, allocations: 450.8 kB / 0.8022 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.9444, allocations: 144.6 kB / 0.8024 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.9445, allocations: 53.11 kB / 0.8024 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.9458, allocations: 0.658 MB / 0.803 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.9458, allocations: 3.938 kB / 0.8031 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.922e-05/0.9458, allocations: 19.69 kB / 0.8031 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.839e-05/0.9459, allocations: 26.39 kB / 0.8031 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.9471, allocations: 0.6841 MB / 0.8038 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004049/0.9511, allocations: 2.404 MB / 0.8061 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.9525, allocations: 0.5834 MB / 0.8067 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006983/0.9532, allocations: 331.4 kB / 0.807 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/0.9548, allocations: 313.7 kB / 0.8073 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.9549, allocations: 43.22 kB / 0.8073 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 4.809e-06/0.9549, allocations: 3.984 kB / 0.8073 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.004628/0.9595, allocations: 1.936 MB / 0.8092 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.9596, allocations: 56.88 kB / 0.8093 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.9601, allocations: 434.4 kB / 0.8097 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002032/0.9603, allocations: 34.77 kB / 0.8097 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.9605, allocations: 258.8 kB / 0.81 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.9607, allocations: 232.4 kB / 0.8102 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.9608, allocations: 117.2 kB / 0.8103 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.961, allocations: 367.8 kB / 0.8107 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005585/0.9616, allocations: 255.4 kB / 0.8109 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.9621, allocations: 333.6 kB / 0.8112 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.9633, allocations: 0.6145 MB / 0.8118 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9633, allocations: 6.656 kB / 0.8118 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001801/0.9651, allocations: 0.8385 MB / 0.8126 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.9651, allocations: 7.344 kB / 0.8127 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.9651, allocations: 6.734 kB / 0.8127 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004336/0.9655, allocations: 131.1 kB / 0.8128 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005864/0.9661, allocations: 120.1 kB / 0.8129 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/0.9691, allocations: 2.354 MB / 0.8152 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.9695, allocations: 26.92 kB / 0.8152 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.9696, allocations: 30.3 kB / 0.8153 GB, free: 7.348 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.0003082/0.9699, allocations: 187.7 kB / 0.8154 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.9701, allocations: 65.25 kB / 0.8155 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.9721, allocations: 1.027 MB / 0.8165 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.9721, allocations: 7.125 kB / 0.8165 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9721, allocations: 3.094 kB / 0.8165 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.9722, allocations: 3.984 kB / 0.8165 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.9751, allocations: 1.629 MB / 0.8181 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.9751, allocations: 2.5 kB / 0.8181 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.9755, allocations: 96.39 kB / 0.8182 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004012/0.9759, allocations: 134 kB / 0.8183 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.976, allocations: 22.11 kB / 0.8183 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003167/0.9791, allocations: 2.308 MB / 0.8206 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.9791, allocations: 0 / 0.8206 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.9814, allocations: 1.258 MB / 0.8218 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.9816, allocations: 60.83 kB / 0.8219 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.996e-05/0.9817, allocations: 11.83 kB / 0.8219 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.982, allocations: 19.73 kB / 0.8219 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.9821, allocations: 43.25 kB / 0.822 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.963e-05/0.9822, allocations: 23.58 kB / 0.822 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003975/0.9826, allocations: 337.8 kB / 0.8223 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.9826, allocations: 0 / 0.8223 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001546/0.9842, allocations: 287.5 kB / 0.8226 GB, free: 2.254 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.003151/0.9873, allocations: 2.081 MB / 0.8246 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001941/0.9893, allocations: 0.8694 MB / 0.8255 GB, free: 368 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.9893, allocations: 0 / 0.8255 GB, free: 368 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000986/0.9903, allocations: 0.5601 MB / 0.826 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.9914, allocations: 209.1 kB / 0.8262 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009861/1.001, allocations: 5.939 MB / 0.832 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/1.002, allocations: 0.905 MB / 0.8329 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005/1.003, allocations: 144.3 kB / 0.833 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003726/1.003, allocations: 229.5 kB / 0.8332 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of SimCode: time 1.302e-06/1.003, allocations: 0 / 0.8332 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06659/1.069, allocations: 20.61 MB / 0.8534 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/16.41, allocations: 11.55 kB / 0.8534 GB, free: 9.117 MB / 0.6231 GB " [Timeout remaining time 643] (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/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: 20.695757588997367]