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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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: translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine") translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007713/0.007713, allocations: 96.7 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 198.2 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7438/0.7438, allocations: 93.7 MB / 384.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 91.83 kB / 0.5204 GB, free: 5.82 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1384, allocations: 68.26 MB / 0.5871 GB, free: 1.477 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.4275/0.566, allocations: 149.4 MB / 0.7329 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0161/0.5821, allocations: 12.03 MB / 0.7447 GB, free: 1 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006622/0.5828, allocations: 23.81 kB / 0.7447 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.5839, allocations: 294.1 kB / 0.745 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.5856, allocations: 0.5554 MB / 0.7455 GB, free: 132 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.5879, allocations: 0.7209 MB / 0.7462 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.5893, allocations: 0.9337 MB / 0.7471 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003705/0.5897, allocations: 178.5 kB / 0.7473 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007859/0.5905, allocations: 394.4 kB / 0.7477 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008581/0.5914, allocations: 470.3 kB / 0.7481 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.5915, allocations: 52 kB / 0.7482 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.5938, allocations: 1.053 MB / 0.7492 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.594, allocations: 155.4 kB / 0.7494 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.5944, allocations: 330.3 kB / 0.7497 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.5962, allocations: 1.106 MB / 0.7508 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5962, allocations: 0 / 0.7508 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.066e-06/0.5963, allocations: 4 kB / 0.7508 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.5963, allocations: 3.938 kB / 0.7508 GB, free: 10.75 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.00224/0.5985, allocations: 1.089 MB / 0.7518 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.5986, allocations: 12.03 kB / 0.7518 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.5987, allocations: 72.52 kB / 0.7519 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007802/0.5995, allocations: 0.5097 MB / 0.7524 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.5996, allocations: 101.3 kB / 0.7525 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.116e-05/0.5997, allocations: 44 kB / 0.7525 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.6009, allocations: 0.6692 MB / 0.7532 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.601, allocations: 0 / 0.7532 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.183e-05/0.601, allocations: 16 kB / 0.7532 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/0.6011, allocations: 24.98 kB / 0.7532 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.6024, allocations: 0.6675 MB / 0.7539 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00398/0.6064, allocations: 2.462 MB / 0.7563 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.6077, allocations: 0.6259 MB / 0.7569 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006902/0.6084, allocations: 359 kB / 0.7572 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002946/0.6114, allocations: 2.616 MB / 0.7598 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.6114, allocations: 39.12 kB / 0.7598 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.545e-06/0.6115, allocations: 0 / 0.7598 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.004606/0.6161, allocations: 2.164 MB / 0.7619 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.6162, allocations: 111.4 kB / 0.7621 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005244/0.6167, allocations: 430.1 kB / 0.7625 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.6168, allocations: 37.7 kB / 0.7625 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.617, allocations: 261.6 kB / 0.7628 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.6172, allocations: 226 kB / 0.763 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.6174, allocations: 114.2 kB / 0.7631 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002296/0.6176, allocations: 370.8 kB / 0.7634 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005748/0.6182, allocations: 253.1 kB / 0.7637 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/0.6189, allocations: 350.2 kB / 0.764 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.6201, allocations: 0.6104 MB / 0.7646 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6201, allocations: 0 / 0.7646 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001853/0.622, allocations: 0.8427 MB / 0.7654 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.622, allocations: 4 kB / 0.7654 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.622, allocations: 7.938 kB / 0.7654 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000468/0.6225, allocations: 140.8 kB / 0.7656 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/0.623, allocations: 103.9 kB / 0.7657 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003185/0.6262, allocations: 2.476 MB / 0.7681 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.6266, allocations: 20.86 kB / 0.7681 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/0.6267, allocations: 23.98 kB / 0.7681 GB, free: 7.746 MB / 0.6075 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.0003048/0.627, allocations: 197.6 kB / 0.7683 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.6271, allocations: 59.62 kB / 0.7684 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.6293, allocations: 1.043 MB / 0.7694 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.6293, allocations: 8 kB / 0.7694 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.6293, allocations: 0 / 0.7694 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.6293, allocations: 3.984 kB / 0.7694 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.6322, allocations: 1.654 MB / 0.771 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.6322, allocations: 6.25 kB / 0.771 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000471/0.6327, allocations: 95.86 kB / 0.7711 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004118/0.6331, allocations: 132.7 kB / 0.7712 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/0.6332, allocations: 15.98 kB / 0.7713 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002871/0.6361, allocations: 2.415 MB / 0.7736 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6361, allocations: 0 / 0.7736 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.6384, allocations: 1.254 MB / 0.7748 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.6385, allocations: 136.7 kB / 0.775 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.645e-05/0.6386, allocations: 15.12 kB / 0.775 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.639, allocations: 19.98 kB / 0.775 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.665e-05/0.6391, allocations: 44.5 kB / 0.775 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.776e-05/0.6391, allocations: 19.98 kB / 0.7751 GB, free: 392 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003935/0.6395, allocations: 334.9 kB / 0.7754 GB, free: 60 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6395, allocations: 0 / 0.7754 GB, free: 60 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009302/0.6405, allocations: 291.5 kB / 0.7757 GB, free: 15.77 MB / 0.6231 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.0006646/0.6411, allocations: 398.2 kB / 0.776 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00188/0.643, allocations: 0.8958 MB / 0.7769 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.6431, allocations: 0 / 0.7769 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.6441, allocations: 0.5832 MB / 0.7775 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.6451, allocations: 211.4 kB / 0.7777 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.6478, allocations: 1.424 MB / 0.7791 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/0.6484, allocations: 0.9073 MB / 0.78 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004244/0.6489, allocations: 140.7 kB / 0.7801 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.649, allocations: 63.41 kB / 0.7802 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of SimCode: time 7.32e-07/0.6491, allocations: 0 / 0.7802 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of Templates: time 0.02339/0.6725, allocations: 13.78 MB / 0.7936 GB, free: 13.33 MB / 0.6387 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.makefile [Timeout 660] (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 & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1200] 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] Reference file matches