Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) 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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00488/0.00488, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001229/0.001229, allocations: 192.9 kB / 16.67 MB, free: 5.52 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6301/0.6301, allocations: 91.2 MB / 381.7 MB, free: 7.535 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.00155, allocations: 75.89 kB / 0.5164 GB, free: 4.629 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3055, allocations: 67.68 MB / 0.5825 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1512/0.4568, allocations: 149.4 MB / 0.7283 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3143/0.7711, allocations: 12 MB / 0.74 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000542/0.7717, allocations: 22.03 kB / 0.74 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007462/0.7724, allocations: 293.7 kB / 0.7403 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.7737, allocations: 0.5597 MB / 0.7409 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.7753, allocations: 0.7175 MB / 0.7416 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007401/0.7761, allocations: 0.918 MB / 0.7425 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.7764, allocations: 171 kB / 0.7426 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005361/0.7769, allocations: 389.4 kB / 0.743 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006255/0.7775, allocations: 472 kB / 0.7434 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.945e-05/0.7776, allocations: 54.81 kB / 0.7435 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.7799, allocations: 1.048 MB / 0.7445 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.78, allocations: 152.9 kB / 0.7447 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.7804, allocations: 331 kB / 0.745 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.7816, allocations: 1.096 MB / 0.7461 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.7816, allocations: 0 / 0.7461 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7816, allocations: 4.625 kB / 0.7461 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.7816, allocations: 0 / 0.7461 GB, free: 1.285 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.001967/0.7836, allocations: 1.056 MB / 0.7471 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.7837, allocations: 10.19 kB / 0.7471 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.7838, allocations: 89.84 kB / 0.7472 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.7839, allocations: 71.66 kB / 0.7473 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006102/0.7845, allocations: 0.4992 MB / 0.7477 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.514e-05/0.7846, allocations: 97.86 kB / 0.7478 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.49e-05/0.7847, allocations: 54.03 kB / 0.7479 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008848/0.7856, allocations: 0.6606 MB / 0.7485 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.7856, allocations: 4.938 kB / 0.7485 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.7857, allocations: 14.28 kB / 0.7486 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.374e-05/0.7857, allocations: 28.94 kB / 0.7486 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.787, allocations: 0.6673 MB / 0.7492 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003322/0.7903, allocations: 2.447 MB / 0.7516 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.7914, allocations: 0.6278 MB / 0.7522 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.7919, allocations: 358.1 kB / 0.7526 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002257/0.7942, allocations: 2.614 MB / 0.7551 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.7943, allocations: 41.25 kB / 0.7552 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 1.993e-06/0.7943, allocations: 0.8438 kB / 0.7552 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003492/0.7978, allocations: 2.15 MB / 0.7573 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.418e-05/0.7979, allocations: 111.6 kB / 0.7574 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.7982, allocations: 430 kB / 0.7578 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.7983, allocations: 35.86 kB / 0.7578 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.7984, allocations: 244.2 kB / 0.7581 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.7985, allocations: 222.5 kB / 0.7583 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.7987, allocations: 116.1 kB / 0.7584 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.7988, allocations: 365.9 kB / 0.7587 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003915/0.7992, allocations: 254.2 kB / 0.759 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.7997, allocations: 348.4 kB / 0.7593 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008771/0.8006, allocations: 0.6159 MB / 0.7599 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8006, allocations: 0.6562 kB / 0.7599 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001308/0.8019, allocations: 0.8367 MB / 0.7607 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.8019, allocations: 10.31 kB / 0.7607 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.802, allocations: 5.062 kB / 0.7607 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.8023, allocations: 130.6 kB / 0.7609 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/0.8028, allocations: 111.3 kB / 0.761 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.8052, allocations: 2.464 MB / 0.7634 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.8055, allocations: 19.38 kB / 0.7634 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.8055, allocations: 30.7 kB / 0.7634 GB, free: 8.965 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.0002472/0.8058, allocations: 199.3 kB / 0.7636 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.8059, allocations: 60.41 kB / 0.7637 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.8075, allocations: 1.028 MB / 0.7647 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.8075, allocations: 4.875 kB / 0.7647 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.8075, allocations: 2.531 kB / 0.7647 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.8076, allocations: 4.109 kB / 0.7647 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.8098, allocations: 1.646 MB / 0.7663 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.8098, allocations: 5.656 kB / 0.7663 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004084/0.8102, allocations: 97.08 kB / 0.7664 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003646/0.8106, allocations: 139.5 kB / 0.7665 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.344e-05/0.8107, allocations: 25.03 kB / 0.7665 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002257/0.813, allocations: 2.403 MB / 0.7689 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.813, allocations: 0 / 0.7689 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.8147, allocations: 1.255 MB / 0.7701 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.8149, allocations: 120.6 kB / 0.7702 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.679e-05/0.815, allocations: 20.03 kB / 0.7702 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.8153, allocations: 19.12 kB / 0.7703 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.8153, allocations: 46.16 kB / 0.7703 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/0.8154, allocations: 27.36 kB / 0.7703 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003395/0.8157, allocations: 326.3 kB / 0.7706 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.02e-07/0.8158, allocations: 2.812 kB / 0.7707 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008619/0.8166, allocations: 289.3 kB / 0.7709 GB, free: 6.367 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.002655/0.8193, allocations: 2.07 MB / 0.7729 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001557/0.8208, allocations: 0.8895 MB / 0.7738 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8209, allocations: 3.094 kB / 0.7738 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008492/0.8217, allocations: 0.5854 MB / 0.7744 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008795/0.8226, allocations: 206.1 kB / 0.7746 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007987/0.8306, allocations: 5.868 MB / 0.7803 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.8311, allocations: 0.8982 MB / 0.7812 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004171/0.8315, allocations: 131.2 kB / 0.7813 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.8318, allocations: 231.6 kB / 0.7815 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of SimCode: time 8.32e-07/0.8318, allocations: 1 kB / 0.7815 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.045/0.8768, allocations: 20.02 MB / 0.8011 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.72, allocations: 5.812 kB / 0.8011 GB, free: 10.27 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine_fmu --startTime=0 --stopTime=30 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches