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.0007637/0.0007637, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007698/0.0007698, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8087/0.8087, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.576/0.576, allocations: 116 MB / 375.2 MB, free: 4.168 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.363e-06/1.363e-06, allocations: 0 / 0.5532 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.066e-05, allocations: 5.375 kB / 0.5532 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.3268/0.3269, allocations: 130.1 MB / 0.6803 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00708/0.3339, allocations: 10.24 MB / 0.6903 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/0.3344, allocations: 33.47 kB / 0.6904 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008099/0.3352, allocations: 276.3 kB / 0.6906 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.3367, allocations: 0.6129 MB / 0.6912 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.3382, allocations: 0.7479 MB / 0.692 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008439/0.3391, allocations: 1.059 MB / 0.693 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.3393, allocations: 102.9 kB / 0.6931 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006099/0.3399, allocations: 0.563 MB / 0.6936 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005029/0.3404, allocations: 446.1 kB / 0.6941 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.519e-05/0.3405, allocations: 53.41 kB / 0.6941 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.3416, allocations: 0.9133 MB / 0.695 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3417, allocations: 161.7 kB / 0.6952 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.3419, allocations: 236.8 kB / 0.6954 GB, free: 4.984 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.343, allocations: 1.174 MB / 0.6965 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.343, allocations: 2.828 kB / 0.6965 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.342e-06/0.343, allocations: 0 / 0.6965 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.343, allocations: 1.406 kB / 0.6965 GB, free: 4.805 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.001329/0.3443, allocations: 1.026 MB / 0.6975 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3444, allocations: 8.188 kB / 0.6976 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.549e-05/0.3444, allocations: 92.83 kB / 0.6976 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.3446, allocations: 92.41 kB / 0.6977 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.3451, allocations: 469 kB / 0.6982 GB, free: 3.754 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.966e-05/0.3451, allocations: 146.5 kB / 0.6983 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.902e-05/0.3452, allocations: 50.58 kB / 0.6984 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006892/0.3459, allocations: 0.7185 MB / 0.6991 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3459, allocations: 0 / 0.6991 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.3459, allocations: 16.91 kB / 0.6991 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.891e-05/0.346, allocations: 25.34 kB / 0.6991 GB, free: 3.227 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006697/0.3466, allocations: 0.6794 MB / 0.6998 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.3484, allocations: 1.951 MB / 0.7017 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/0.3491, allocations: 0.5332 MB / 0.7022 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.3494, allocations: 296.1 kB / 0.7025 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/0.3501, allocations: 315.7 kB / 0.7028 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.3501, allocations: 45.78 kB / 0.7028 GB, free: 1.477 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=62): time 1.743e-06/0.3501, allocations: 3.938 kB / 0.7028 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of matching and sorting (n=64): time 0.002165/0.3522, allocations: 1.81 MB / 0.7046 GB, free: 452 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.3523, allocations: 59.44 kB / 0.7047 GB, free: 388 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.3525, allocations: 447.4 kB / 0.7051 GB, free: 108 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.3525, allocations: 39.17 kB / 0.7051 GB, free: 68 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.3527, allocations: 258.8 kB / 0.7054 GB, free: 15.84 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.3528, allocations: 230.2 kB / 0.7056 GB, free: 15.64 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.3529, allocations: 112 kB / 0.7057 GB, free: 15.57 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.353, allocations: 372.2 kB / 0.706 GB, free: 15.21 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.3532, allocations: 227.2 kB / 0.7063 GB, free: 15.1 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.3535, allocations: 298.9 kB / 0.7065 GB, free: 14.91 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005952/0.3541, allocations: 0.5601 MB / 0.7071 GB, free: 14.59 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3541, allocations: 2.312 kB / 0.7071 GB, free: 14.59 MB / 0.573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008977/0.355, allocations: 0.7976 MB / 0.7079 GB, free: 14.17 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3551, allocations: 5.25 kB / 0.7079 GB, free: 14.17 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.3551, allocations: 9.297 kB / 0.7079 GB, free: 14.17 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002372/0.3553, allocations: 133.7 kB / 0.708 GB, free: 14.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.3555, allocations: 109.7 kB / 0.7081 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.3571, allocations: 2.34 MB / 0.7104 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.3573, allocations: 24.02 kB / 0.7104 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.3573, allocations: 34.64 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.0001623/0.3575, allocations: 187.1 kB / 0.7106 GB, free: 11.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.3576, allocations: 79.48 kB / 0.7107 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.3587, allocations: 0.9848 MB / 0.7117 GB, free: 11.24 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3587, allocations: 6 kB / 0.7117 GB, free: 11.24 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3587, allocations: 6.438 kB / 0.7117 GB, free: 11.23 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.3587, allocations: 7.969 kB / 0.7117 GB, free: 11.23 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.3601, allocations: 1.464 MB / 0.7131 GB, free: 10.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.3601, allocations: 6.719 kB / 0.7131 GB, free: 10.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.3604, allocations: 103.9 kB / 0.7132 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002003/0.3606, allocations: 120.9 kB / 0.7133 GB, free: 10.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.3606, allocations: 23.61 kB / 0.7134 GB, free: 10.18 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.362, allocations: 2.275 MB / 0.7156 GB, free: 8.234 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.362, allocations: 0 / 0.7156 GB, free: 8.234 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.3632, allocations: 1.17 MB / 0.7167 GB, free: 7.555 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.3634, allocations: 122.9 kB / 0.7169 GB, free: 7.465 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.3634, allocations: 15.12 kB / 0.7169 GB, free: 7.457 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.3636, allocations: 21.11 kB / 0.7169 GB, free: 7.441 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.3636, allocations: 54.55 kB / 0.7169 GB, free: 7.406 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.3637, allocations: 21.17 kB / 0.717 GB, free: 7.398 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002266/0.3639, allocations: 348.6 kB / 0.7173 GB, free: 7.191 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3639, allocations: 3.938 kB / 0.7173 GB, free: 7.188 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004952/0.3644, allocations: 301.4 kB / 0.7176 GB, free: 7.105 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.001714/0.3661, allocations: 2.013 MB / 0.7195 GB, free: 5.773 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009119/0.367, allocations: 0.7983 MB / 0.7203 GB, free: 5.289 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.367, allocations: 2.781 kB / 0.7203 GB, free: 5.289 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004788/0.3675, allocations: 0.5331 MB / 0.7209 GB, free: 4.922 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007038/0.3682, allocations: 277.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.005319/0.3735, allocations: 5.72 MB / 0.7267 GB, free: 1.16 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.3737, allocations: 308.9 kB / 0.727 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002837/0.374, allocations: 147.1 kB / 0.7271 GB, free: 0.8984 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.3742, allocations: 239.4 kB / 0.7274 GB, free: 0.707 MB / 0.573 GB Notification: Performance of SimCode: time 5.51e-07/0.3742, allocations: 4 kB / 0.7274 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.4054, allocations: 23.47 MB / 0.7503 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.975/7.381, allocations: 11.98 kB / 0.7503 GB, free: 14.68 MB / 0.6042 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Turbine_fmu --startTime=0 --stopTime=30 --stepSize=0.03 --timeout=1200 --tolerance=1e-06 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.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: 9.661823567003012]