Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.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.001826/0.001826, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002305/0.002305, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.789 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.8322/0.8322, allocations: 100.9 MB / 413.3 MB, free: 2.875 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.Compressor,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor",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.002863/0.002863, allocations: 90.73 kB / 0.5641 GB, free: 35.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.166, allocations: 74.61 MB / 0.6369 GB, free: 6.473 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.06305/0.229, allocations: 42.92 MB / 0.6789 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01507/0.2441, allocations: 11.37 MB / 0.69 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007497/0.2449, allocations: 27.75 kB / 0.69 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008307/0.2457, allocations: 250.2 kB / 0.6902 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.2472, allocations: 0.5475 MB / 0.6908 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002185/0.2494, allocations: 0.7408 MB / 0.6915 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.2507, allocations: 0.9298 MB / 0.6924 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002552/0.2509, allocations: 93.97 kB / 0.6925 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02949/0.2804, allocations: 12.51 MB / 0.7047 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006383/0.2811, allocations: 382.4 kB / 0.7051 GB, free: 428 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.2812, allocations: 55.94 kB / 0.7051 GB, free: 372 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4728/0.754, allocations: 52.45 MB / 0.7563 GB, free: 59.1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003604/0.7543, allocations: 148.2 kB / 0.7565 GB, free: 59.1 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004785/0.7548, allocations: 267.6 kB / 0.7567 GB, free: 59.1 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002637/0.7574, allocations: 1.117 MB / 0.7578 GB, free: 59.04 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7574, allocations: 0 / 0.7578 GB, free: 59.04 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7574, allocations: 0 / 0.7578 GB, free: 59.04 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.7574, allocations: 1 kB / 0.7578 GB, free: 59.04 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002406/0.7599, allocations: 1.004 MB / 0.7588 GB, free: 58.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.7599, allocations: 11.66 kB / 0.7588 GB, free: 58.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.76, allocations: 85.3 kB / 0.7589 GB, free: 58.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/0.7603, allocations: 86.48 kB / 0.759 GB, free: 58.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008596/0.7612, allocations: 449.8 kB / 0.7594 GB, free: 58.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.7613, allocations: 147.8 kB / 0.7595 GB, free: 58.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.7614, allocations: 53.56 kB / 0.7596 GB, free: 58.1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.7626, allocations: 0.7015 MB / 0.7603 GB, free: 57.97 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.7626, allocations: 1.844 kB / 0.7603 GB, free: 57.97 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.474e-05/0.7627, allocations: 22.27 kB / 0.7603 GB, free: 57.97 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/0.7627, allocations: 23.28 kB / 0.7603 GB, free: 57.97 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.7641, allocations: 0.6758 MB / 0.761 GB, free: 57.97 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003712/0.7678, allocations: 1.99 MB / 0.7629 GB, free: 57.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.7694, allocations: 0.6447 MB / 0.7636 GB, free: 57.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006419/0.77, allocations: 340 kB / 0.7639 GB, free: 57.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/0.7716, allocations: 319.1 kB / 0.7642 GB, free: 57.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.7716, allocations: 41.38 kB / 0.7642 GB, free: 57.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.475e-06/0.7716, allocations: 0 / 0.7642 GB, free: 57.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004875/0.7765, allocations: 2 MB / 0.7662 GB, free: 57.01 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.7765, allocations: 62.12 kB / 0.7662 GB, free: 56.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/0.7771, allocations: 426.9 kB / 0.7667 GB, free: 56.83 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/0.7772, allocations: 37.98 kB / 0.7667 GB, free: 56.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.7774, allocations: 245 kB / 0.7669 GB, free: 56.69 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.7775, allocations: 233 kB / 0.7671 GB, free: 56.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.7777, allocations: 111 kB / 0.7672 GB, free: 56.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7778, allocations: 372.8 kB / 0.7676 GB, free: 56.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/0.7784, allocations: 266.4 kB / 0.7679 GB, free: 56.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/0.779, allocations: 332.5 kB / 0.7682 GB, free: 56.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.7802, allocations: 0.6243 MB / 0.7688 GB, free: 56.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7802, allocations: 1.531 kB / 0.7688 GB, free: 56.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002034/0.7822, allocations: 0.8613 MB / 0.7696 GB, free: 55.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.7822, allocations: 5.375 kB / 0.7696 GB, free: 55.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.7822, allocations: 11.23 kB / 0.7696 GB, free: 55.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005148/0.7828, allocations: 131.8 kB / 0.7698 GB, free: 55.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.7834, allocations: 114.9 kB / 0.7699 GB, free: 55.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/0.7859, allocations: 2.346 MB / 0.7722 GB, free: 54.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/0.7864, allocations: 19.77 kB / 0.7722 GB, free: 54.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/0.7864, allocations: 24.05 kB / 0.7722 GB, free: 54.59 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.0003162/0.7867, allocations: 196.3 kB / 0.7724 GB, free: 54.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.787, allocations: 71.89 kB / 0.7725 GB, free: 54.45 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.7889, allocations: 1.063 MB / 0.7735 GB, free: 54.31 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.7889, allocations: 9.641 kB / 0.7735 GB, free: 54.31 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7889, allocations: 2.594 kB / 0.7735 GB, free: 54.31 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.7889, allocations: 0 / 0.7735 GB, free: 54.31 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/0.7915, allocations: 1.545 MB / 0.775 GB, free: 54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-05/0.7916, allocations: 6.375 kB / 0.775 GB, free: 54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/0.792, allocations: 99.39 kB / 0.7751 GB, free: 54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003601/0.7924, allocations: 143.3 kB / 0.7753 GB, free: 53.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/0.7924, allocations: 19.45 kB / 0.7753 GB, free: 53.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.7945, allocations: 2.353 MB / 0.7776 GB, free: 52.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7945, allocations: 1.422 kB / 0.7776 GB, free: 52.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.7966, allocations: 1.311 MB / 0.7789 GB, free: 52.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.797, allocations: 122 kB / 0.779 GB, free: 52.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-05/0.7971, allocations: 13.16 kB / 0.779 GB, free: 52.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.7974, allocations: 16.48 kB / 0.779 GB, free: 52.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.7975, allocations: 53.95 kB / 0.7791 GB, free: 52.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.7975, allocations: 24.77 kB / 0.7791 GB, free: 52.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003537/0.7979, allocations: 332 kB / 0.7794 GB, free: 52.26 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7979, allocations: 1.312 kB / 0.7794 GB, free: 52.26 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001111/0.799, allocations: 293.5 kB / 0.7797 GB, free: 52.22 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (compressor1.m_flow,compressor1.phi,compressor1.omega,splitterN.inlet.m_flow) * 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,12,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.8019, allocations: 2.158 MB / 0.7818 GB, free: 51.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.8035, allocations: 0.8799 MB / 0.7826 GB, free: 51.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.8035, allocations: 0 / 0.7826 GB, free: 51.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008781/0.8044, allocations: 0.5788 MB / 0.7832 GB, free: 51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.8054, allocations: 200.6 kB / 0.7834 GB, free: 50.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008563/0.814, allocations: 5.979 MB / 0.7892 GB, free: 48.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.8143, allocations: 306.1 kB / 0.7895 GB, free: 48.62 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004445/0.8147, allocations: 141.8 kB / 0.7897 GB, free: 48.58 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.815, allocations: 237.3 kB / 0.7899 GB, free: 48.41 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/0.815, allocations: 0 / 0.7899 GB, free: 48.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0564/0.8714, allocations: 22.15 MB / 0.8115 GB, free: 34.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.43, allocations: 3.094 kB / 0.8115 GB, free: 34.69 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor_fmu --startTime=0 --stopTime=30 --stepSize=0.03 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.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: 17.109318426810205]