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.001292/0.001292, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001527/0.001527, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.8185/0.8185, allocations: 100.3 MB / 413.5 MB, free: 3.43 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor",fmuType="cs",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.002445/0.002445, allocations: 84.56 kB / 0.564 GB, free: 36.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.136, allocations: 74.46 MB / 0.6367 GB, free: 7.531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05704/0.193, allocations: 42.88 MB / 0.6786 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01428/0.2073, allocations: 11.36 MB / 0.6897 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008341/0.2082, allocations: 27.75 kB / 0.6897 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008799/0.209, allocations: 250.2 kB / 0.6899 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.2107, allocations: 0.5437 MB / 0.6905 GB, free: 296 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.213, allocations: 0.7538 MB / 0.6912 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00125/0.2142, allocations: 0.9182 MB / 0.6921 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.2145, allocations: 106 kB / 0.6922 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03195/0.2465, allocations: 12.5 MB / 0.7044 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006511/0.2471, allocations: 410.3 kB / 0.7048 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.2472, allocations: 56 kB / 0.7049 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4642/0.7114, allocations: 52.47 MB / 0.7561 GB, free: 60.53 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003329/0.7118, allocations: 148.5 kB / 0.7562 GB, free: 60.53 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004466/0.7122, allocations: 265.8 kB / 0.7565 GB, free: 60.53 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002797/0.715, allocations: 1.112 MB / 0.7576 GB, free: 60.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.715, allocations: 0.8125 kB / 0.7576 GB, free: 60.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.994e-06/0.715, allocations: 0 / 0.7576 GB, free: 60.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.055e-05/0.715, allocations: 0 / 0.7576 GB, free: 60.48 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.002495/0.7175, allocations: 1.012 MB / 0.7586 GB, free: 59.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.7176, allocations: 9.5 kB / 0.7586 GB, free: 59.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.279e-05/0.7176, allocations: 12.72 kB / 0.7586 GB, free: 59.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.313e-05/0.7177, allocations: 87.56 kB / 0.7587 GB, free: 59.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.718, allocations: 91.72 kB / 0.7588 GB, free: 59.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007687/0.7187, allocations: 442.7 kB / 0.7592 GB, free: 59.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.7188, allocations: 149.2 kB / 0.7593 GB, free: 59.53 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.7189, allocations: 48.17 kB / 0.7594 GB, free: 59.53 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.7201, allocations: 0.7056 MB / 0.7601 GB, free: 59.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.7202, allocations: 0.9688 kB / 0.7601 GB, free: 59.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.7202, allocations: 20.36 kB / 0.7601 GB, free: 59.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.124e-05/0.7203, allocations: 24.34 kB / 0.7601 GB, free: 59.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.7216, allocations: 0.6782 MB / 0.7608 GB, free: 59.39 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.7254, allocations: 1.985 MB / 0.7627 GB, free: 58.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.7271, allocations: 0.6538 MB / 0.7633 GB, free: 58.81 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006161/0.7277, allocations: 335.3 kB / 0.7637 GB, free: 58.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/0.7293, allocations: 319.6 kB / 0.764 GB, free: 58.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.7294, allocations: 42.72 kB / 0.764 GB, free: 58.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 3.336e-06/0.7294, allocations: 3.938 kB / 0.764 GB, free: 58.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004955/0.7343, allocations: 1.999 MB / 0.766 GB, free: 58.44 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.7344, allocations: 58.62 kB / 0.766 GB, free: 58.38 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006651/0.735, allocations: 422.9 kB / 0.7664 GB, free: 58.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.431e-05/0.7351, allocations: 43.72 kB / 0.7665 GB, free: 58.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.7353, allocations: 242.2 kB / 0.7667 GB, free: 58.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.7354, allocations: 233.1 kB / 0.7669 GB, free: 57.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.7357, allocations: 112.8 kB / 0.767 GB, free: 57.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.7358, allocations: 371.2 kB / 0.7674 GB, free: 57.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/0.7363, allocations: 263.8 kB / 0.7676 GB, free: 57.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.7368, allocations: 335.3 kB / 0.768 GB, free: 57.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.7379, allocations: 0.6254 MB / 0.7686 GB, free: 57.53 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7379, allocations: 0 / 0.7686 GB, free: 57.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001842/0.7397, allocations: 0.8676 MB / 0.7694 GB, free: 57.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.7397, allocations: 7.875 kB / 0.7694 GB, free: 57.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/0.7398, allocations: 7.469 kB / 0.7694 GB, free: 57.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005444/0.7403, allocations: 131 kB / 0.7695 GB, free: 57.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000588/0.7409, allocations: 113.8 kB / 0.7697 GB, free: 57.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/0.7434, allocations: 2.338 MB / 0.7719 GB, free: 56.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004513/0.7438, allocations: 22.47 kB / 0.772 GB, free: 56.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.011e-05/0.7439, allocations: 32.12 kB / 0.772 GB, free: 56.04 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.0003002/0.7442, allocations: 190.8 kB / 0.7722 GB, free: 55.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.7444, allocations: 73.78 kB / 0.7722 GB, free: 55.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.7463, allocations: 1.052 MB / 0.7733 GB, free: 55.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.7463, allocations: 13.86 kB / 0.7733 GB, free: 55.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7463, allocations: 2.156 kB / 0.7733 GB, free: 55.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.7463, allocations: 3.844 kB / 0.7733 GB, free: 55.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.7489, allocations: 1.552 MB / 0.7748 GB, free: 55.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.7489, allocations: 5.688 kB / 0.7748 GB, free: 55.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/0.7493, allocations: 98.61 kB / 0.7749 GB, free: 55.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003714/0.7497, allocations: 133 kB / 0.775 GB, free: 55.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.704e-05/0.7498, allocations: 25.44 kB / 0.7751 GB, free: 55.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.7519, allocations: 2.342 MB / 0.7773 GB, free: 54.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.7519, allocations: 3.469 kB / 0.7773 GB, free: 54.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.754, allocations: 1.315 MB / 0.7786 GB, free: 53.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.7542, allocations: 123.2 kB / 0.7787 GB, free: 53.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.26e-05/0.7543, allocations: 22.92 kB / 0.7788 GB, free: 53.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.7547, allocations: 17.56 kB / 0.7788 GB, free: 53.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.576e-05/0.7548, allocations: 51.83 kB / 0.7788 GB, free: 53.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/0.7548, allocations: 20.58 kB / 0.7789 GB, free: 53.79 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003319/0.7552, allocations: 335.5 kB / 0.7792 GB, free: 53.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7552, allocations: 0 / 0.7792 GB, free: 53.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001057/0.7562, allocations: 292.8 kB / 0.7795 GB, free: 53.67 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.002818/0.759, allocations: 2.158 MB / 0.7816 GB, free: 52.87 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.7606, allocations: 0.8786 MB / 0.7824 GB, free: 52.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7606, allocations: 0 / 0.7824 GB, free: 52.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008384/0.7614, allocations: 0.5779 MB / 0.783 GB, free: 52.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.7624, allocations: 203.3 kB / 0.7832 GB, free: 52.44 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007745/0.7702, allocations: 5.964 MB / 0.789 GB, free: 50.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.7704, allocations: 306.9 kB / 0.7893 GB, free: 50.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004511/0.7709, allocations: 142.8 kB / 0.7894 GB, free: 50.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.7712, allocations: 232.6 kB / 0.7897 GB, free: 49.93 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/0.7712, allocations: 0 / 0.7897 GB, free: 49.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04838/0.8196, allocations: 21.88 MB / 0.811 GB, free: 36.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.65, allocations: 7.094 kB / 0.811 GB, free: 36.74 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: 18.39348695904482]