Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001787/0.001787, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002235/0.002235, allocations: 217.5 kB / 22.25 MB, free: 5.121 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.632/1.632, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.8379/0.8379, allocations: 94.57 MB / 407 MB, free: 9.168 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_ThermofluidStream_Processes_Tests_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_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.002574/0.002574, allocations: 89.3 kB / 0.5549 GB, free: 38.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1519, allocations: 73.06 MB / 0.6263 GB, free: 476 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.0674/0.2193, allocations: 48.03 MB / 0.6732 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01846/0.2377, allocations: 12.64 MB / 0.6855 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009356/0.2387, allocations: 27.75 kB / 0.6856 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.2398, allocations: 278.2 kB / 0.6858 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.2421, allocations: 0.5592 MB / 0.6864 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.2449, allocations: 0.747 MB / 0.6871 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001922/0.2468, allocations: 0.9337 MB / 0.688 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/0.2471, allocations: 106 kB / 0.6881 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03491/0.282, allocations: 12.53 MB / 0.7004 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008036/0.2828, allocations: 418.3 kB / 0.7008 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.2829, allocations: 52 kB / 0.7008 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5359/0.8188, allocations: 52.57 MB / 0.7521 GB, free: 63.89 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003575/0.8192, allocations: 150 kB / 0.7523 GB, free: 63.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005484/0.8198, allocations: 322.5 kB / 0.7526 GB, free: 63.89 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003056/0.8228, allocations: 1.124 MB / 0.7537 GB, free: 63.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8228, allocations: 1.688 kB / 0.7537 GB, free: 63.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8228, allocations: 0 / 0.7537 GB, free: 63.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.8228, allocations: 1.531 kB / 0.7537 GB, free: 63.85 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.002408/0.8252, allocations: 1.019 MB / 0.7547 GB, free: 63.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.8253, allocations: 13.19 kB / 0.7547 GB, free: 63.3 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.578e-05/0.8254, allocations: 86.92 kB / 0.7548 GB, free: 63.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.8255, allocations: 74.28 kB / 0.7549 GB, free: 63.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008689/0.8264, allocations: 444.3 kB / 0.7553 GB, free: 63.03 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.8265, allocations: 147.6 kB / 0.7554 GB, free: 62.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002892/0.8268, allocations: 48.5 kB / 0.7555 GB, free: 62.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.8281, allocations: 0.6597 MB / 0.7561 GB, free: 62.83 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.8281, allocations: 0.8438 kB / 0.7561 GB, free: 62.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.8282, allocations: 17.69 kB / 0.7561 GB, free: 62.83 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/0.8282, allocations: 19.22 kB / 0.7561 GB, free: 62.83 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.8297, allocations: 0.6808 MB / 0.7568 GB, free: 62.83 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004106/0.8338, allocations: 2.408 MB / 0.7592 GB, free: 61.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.8354, allocations: 0.6537 MB / 0.7598 GB, free: 61.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007006/0.8361, allocations: 338.1 kB / 0.7601 GB, free: 61.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001622/0.8378, allocations: 324.9 kB / 0.7604 GB, free: 61.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.8378, allocations: 41.81 kB / 0.7605 GB, free: 61.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.545e-06/0.8378, allocations: 0 / 0.7605 GB, free: 61.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004546/0.8423, allocations: 1.99 MB / 0.7624 GB, free: 61.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.8424, allocations: 58.53 kB / 0.7625 GB, free: 61.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000677/0.8431, allocations: 425.4 kB / 0.7629 GB, free: 61.33 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.8431, allocations: 37.3 kB / 0.7629 GB, free: 61.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.8433, allocations: 242.4 kB / 0.7631 GB, free: 61.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.8436, allocations: 240.7 kB / 0.7634 GB, free: 61.03 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.8438, allocations: 110.9 kB / 0.7635 GB, free: 61.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.8439, allocations: 369.3 kB / 0.7638 GB, free: 60.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/0.8446, allocations: 267.3 kB / 0.7641 GB, free: 60.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008393/0.8454, allocations: 337.7 kB / 0.7644 GB, free: 60.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.8469, allocations: 0.6276 MB / 0.765 GB, free: 60.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.8469, allocations: 0.9375 kB / 0.765 GB, free: 60.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001723/0.8486, allocations: 0.8466 MB / 0.7658 GB, free: 60.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.8486, allocations: 10.16 kB / 0.7659 GB, free: 60.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/0.8486, allocations: 3.594 kB / 0.7659 GB, free: 60.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000447/0.8491, allocations: 129.6 kB / 0.766 GB, free: 60.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006302/0.8497, allocations: 108.9 kB / 0.7661 GB, free: 60.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.8525, allocations: 2.363 MB / 0.7684 GB, free: 59.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005103/0.853, allocations: 27.09 kB / 0.7684 GB, free: 59.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002259/0.8532, allocations: 28.03 kB / 0.7684 GB, free: 59.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.0004237/0.8537, allocations: 198.5 kB / 0.7686 GB, free: 58.99 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.8538, allocations: 63.42 kB / 0.7687 GB, free: 58.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/0.8559, allocations: 1.057 MB / 0.7697 GB, free: 58.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.8559, allocations: 5.469 kB / 0.7697 GB, free: 58.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8559, allocations: 1.812 kB / 0.7697 GB, free: 58.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.8559, allocations: 5.625 kB / 0.7697 GB, free: 58.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.8589, allocations: 1.636 MB / 0.7713 GB, free: 58.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.8589, allocations: 4.781 kB / 0.7713 GB, free: 58.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/0.8595, allocations: 97.05 kB / 0.7714 GB, free: 58.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004177/0.8599, allocations: 140.9 kB / 0.7716 GB, free: 58.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.86, allocations: 19.22 kB / 0.7716 GB, free: 58.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002713/0.8627, allocations: 2.376 MB / 0.7739 GB, free: 57.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.8627, allocations: 1.5 kB / 0.7739 GB, free: 57.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.8649, allocations: 1.3 MB / 0.7752 GB, free: 56.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/0.8654, allocations: 126.1 kB / 0.7753 GB, free: 56.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-05/0.8655, allocations: 12.12 kB / 0.7753 GB, free: 56.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.8659, allocations: 18.34 kB / 0.7753 GB, free: 56.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.866, allocations: 56.28 kB / 0.7754 GB, free: 56.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/0.866, allocations: 20.28 kB / 0.7754 GB, free: 56.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003806/0.8664, allocations: 335.8 kB / 0.7757 GB, free: 56.81 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.8664, allocations: 0 / 0.7757 GB, free: 56.81 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001244/0.8677, allocations: 294.4 kB / 0.776 GB, free: 56.78 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.0031/0.8708, allocations: 2.148 MB / 0.7781 GB, free: 55.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002218/0.873, allocations: 0.8727 MB / 0.779 GB, free: 55.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.873, allocations: 320 / 0.779 GB, free: 55.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009966/0.874, allocations: 0.5794 MB / 0.7795 GB, free: 55.58 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.8754, allocations: 210.1 kB / 0.7797 GB, free: 55.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009295/0.8847, allocations: 5.967 MB / 0.7855 GB, free: 53.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.8852, allocations: 0.9001 MB / 0.7864 GB, free: 52.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004982/0.8857, allocations: 136.5 kB / 0.7866 GB, free: 52.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/0.8861, allocations: 234 kB / 0.7868 GB, free: 52.85 MB / 0.5762 GB Notification: Performance of SimCode: time 1.322e-06/0.8861, allocations: 0 / 0.7868 GB, free: 52.85 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06038/0.9464, allocations: 21.2 MB / 0.8075 GB, free: 39.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/16.07, allocations: 18.06 kB / 0.8075 GB, free: 39.38 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Compressor_fmu --startTime=0 --stopTime=30 --stepSize=0.03 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Compressor.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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: 20.133243205957115]