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.001659/0.001659, allocations: 113.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.001886/0.001886, allocations: 214.4 kB / 22.25 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 8.012 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.8558/0.8558, allocations: 100.3 MB / 412.7 MB, free: 3.672 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.002521/0.002521, allocations: 83.55 kB / 0.5632 GB, free: 35.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1559, allocations: 74.47 MB / 0.636 GB, free: 7.652 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.06502/0.2209, allocations: 48.03 MB / 0.6829 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01793/0.2389, allocations: 12.63 MB / 0.6952 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009342/0.2398, allocations: 35.69 kB / 0.6952 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.2408, allocations: 278.2 kB / 0.6955 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002004/0.2428, allocations: 0.5553 MB / 0.696 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.2454, allocations: 0.7586 MB / 0.6968 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.2469, allocations: 0.9337 MB / 0.6977 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000415/0.2473, allocations: 97.98 kB / 0.6978 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0329/0.2802, allocations: 12.53 MB / 0.71 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008069/0.281, allocations: 414.3 kB / 0.7104 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.753e-05/0.2811, allocations: 52 kB / 0.7105 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5432/0.8243, allocations: 52.57 MB / 0.7618 GB, free: 52.99 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.8245, allocations: 152.2 kB / 0.762 GB, free: 52.99 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006284/0.8252, allocations: 321.2 kB / 0.7623 GB, free: 52.99 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002815/0.828, allocations: 1.122 MB / 0.7634 GB, free: 52.92 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.828, allocations: 1.375 kB / 0.7634 GB, free: 52.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.828, allocations: 0 / 0.7634 GB, free: 52.92 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.828, allocations: 5.422 kB / 0.7634 GB, free: 52.91 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.00209/0.8301, allocations: 1.012 MB / 0.7644 GB, free: 52.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.8301, allocations: 10.47 kB / 0.7644 GB, free: 52.36 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.8302, allocations: 90.33 kB / 0.7644 GB, free: 52.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.8304, allocations: 70.77 kB / 0.7645 GB, free: 52.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008794/0.8313, allocations: 442 kB / 0.7649 GB, free: 52.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.644e-05/0.8314, allocations: 147.3 kB / 0.7651 GB, free: 51.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.19e-05/0.8314, allocations: 53.11 kB / 0.7651 GB, free: 51.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.8326, allocations: 0.6597 MB / 0.7658 GB, free: 51.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.8326, allocations: 0.5625 kB / 0.7658 GB, free: 51.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.212e-05/0.8327, allocations: 15.19 kB / 0.7658 GB, free: 51.89 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.854e-05/0.8327, allocations: 22.19 kB / 0.7658 GB, free: 51.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.8343, allocations: 0.6792 MB / 0.7665 GB, free: 51.89 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003771/0.8381, allocations: 2.412 MB / 0.7688 GB, free: 50.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.8396, allocations: 0.6457 MB / 0.7695 GB, free: 50.92 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008066/0.8404, allocations: 337.3 kB / 0.7698 GB, free: 50.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001819/0.8422, allocations: 323.9 kB / 0.7701 GB, free: 50.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.8423, allocations: 45.62 kB / 0.7701 GB, free: 50.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.305e-06/0.8423, allocations: 1.812 kB / 0.7701 GB, free: 50.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004421/0.8467, allocations: 1.989 MB / 0.7721 GB, free: 50.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.8467, allocations: 61.72 kB / 0.7721 GB, free: 50.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.8472, allocations: 425.6 kB / 0.7725 GB, free: 50.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.8472, allocations: 38.17 kB / 0.7726 GB, free: 50.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.8474, allocations: 235.9 kB / 0.7728 GB, free: 50.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.8475, allocations: 235.5 kB / 0.773 GB, free: 50.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.8477, allocations: 115.8 kB / 0.7731 GB, free: 50.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.8478, allocations: 369.8 kB / 0.7735 GB, free: 49.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005974/0.8484, allocations: 263.5 kB / 0.7737 GB, free: 49.72 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/0.849, allocations: 337 kB / 0.7741 GB, free: 49.67 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.8501, allocations: 0.6201 MB / 0.7747 GB, free: 49.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.8501, allocations: 6.062 kB / 0.7747 GB, free: 49.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001583/0.8517, allocations: 0.8627 MB / 0.7755 GB, free: 49.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.8517, allocations: 5.25 kB / 0.7755 GB, free: 49.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.8518, allocations: 5.438 kB / 0.7755 GB, free: 49.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003657/0.8521, allocations: 128.7 kB / 0.7756 GB, free: 49.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/0.8526, allocations: 109.5 kB / 0.7758 GB, free: 49.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.8552, allocations: 2.372 MB / 0.7781 GB, free: 48.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.8556, allocations: 19.34 kB / 0.7781 GB, free: 48.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.8556, allocations: 28.05 kB / 0.7781 GB, free: 48.11 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.0002338/0.8558, allocations: 200.2 kB / 0.7783 GB, free: 47.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/0.8561, allocations: 62.41 kB / 0.7784 GB, free: 47.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.858, allocations: 1.055 MB / 0.7794 GB, free: 47.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.858, allocations: 9.5 kB / 0.7794 GB, free: 47.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.858, allocations: 2.75 kB / 0.7794 GB, free: 47.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.858, allocations: 6.672 kB / 0.7794 GB, free: 47.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.8607, allocations: 1.631 MB / 0.781 GB, free: 47.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.8607, allocations: 3.156 kB / 0.781 GB, free: 47.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.8612, allocations: 101.5 kB / 0.7811 GB, free: 47.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004112/0.8616, allocations: 142.8 kB / 0.7812 GB, free: 47.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.8617, allocations: 21.8 kB / 0.7813 GB, free: 47.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/0.864, allocations: 2.372 MB / 0.7836 GB, free: 46.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.864, allocations: 2.406 kB / 0.7836 GB, free: 46.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.8659, allocations: 1.297 MB / 0.7848 GB, free: 45.89 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.8661, allocations: 121.3 kB / 0.785 GB, free: 45.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.994e-05/0.8662, allocations: 17.34 kB / 0.785 GB, free: 45.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.8666, allocations: 19.75 kB / 0.785 GB, free: 45.85 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/0.8667, allocations: 48.55 kB / 0.785 GB, free: 45.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.8668, allocations: 24.14 kB / 0.7851 GB, free: 45.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003322/0.8671, allocations: 330.2 kB / 0.7854 GB, free: 45.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8671, allocations: 0 / 0.7854 GB, free: 45.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001124/0.8682, allocations: 294.5 kB / 0.7857 GB, free: 45.73 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.002883/0.8711, allocations: 2.152 MB / 0.7878 GB, free: 44.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.8727, allocations: 0.885 MB / 0.7886 GB, free: 44.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.8727, allocations: 0 / 0.7886 GB, free: 44.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008236/0.8735, allocations: 0.5767 MB / 0.7892 GB, free: 44.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.8746, allocations: 208.9 kB / 0.7894 GB, free: 44.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008076/0.8827, allocations: 5.958 MB / 0.7952 GB, free: 41.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.8831, allocations: 0.9049 MB / 0.7961 GB, free: 41.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00043/0.8835, allocations: 138.4 kB / 0.7962 GB, free: 41.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.8839, allocations: 227.2 kB / 0.7964 GB, free: 41 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.8839, allocations: 1.906 kB / 0.7964 GB, free: 41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05544/0.9393, allocations: 21.21 MB / 0.8172 GB, free: 24.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.31, allocations: 6.469 kB / 0.8172 GB, free: 24.27 MB / 0.5762 GB " [Timeout remaining time 645] (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: 19.108201229013503]