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.001299/0.001299, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001528/0.001528, allocations: 219.5 kB / 23.04 MB, free: 5.074 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.7451/0.7451, allocations: 94.57 MB / 407.8 MB, free: 9.16 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_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.002522/0.002522, allocations: 84.52 kB / 0.5557 GB, free: 38.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1302, allocations: 73.05 MB / 0.6271 GB, free: 476 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.056/0.1862, allocations: 48.03 MB / 0.674 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.2008, allocations: 12.64 MB / 0.6863 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006437/0.2014, allocations: 27.75 kB / 0.6863 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007937/0.2022, allocations: 282.1 kB / 0.6866 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.2038, allocations: 0.5553 MB / 0.6871 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.2059, allocations: 0.7587 MB / 0.6879 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001178/0.2071, allocations: 0.926 MB / 0.6888 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.2074, allocations: 110 kB / 0.6889 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03288/0.2402, allocations: 12.53 MB / 0.7011 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007733/0.241, allocations: 410.3 kB / 0.7015 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.2411, allocations: 56 kB / 0.7016 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4168/0.6579, allocations: 52.57 MB / 0.7529 GB, free: 63.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.6582, allocations: 145.8 kB / 0.753 GB, free: 63.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004304/0.6586, allocations: 327.7 kB / 0.7534 GB, free: 63.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.661, allocations: 1.125 MB / 0.7545 GB, free: 63.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6611, allocations: 1.062 kB / 0.7545 GB, free: 63.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6611, allocations: 0 / 0.7545 GB, free: 63.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.6611, allocations: 0 / 0.7545 GB, free: 63.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.002069/0.6631, allocations: 1.018 MB / 0.7554 GB, free: 63.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.6632, allocations: 8.906 kB / 0.7555 GB, free: 63.36 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.845e-05/0.6632, allocations: 14.41 kB / 0.7555 GB, free: 63.36 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.628e-05/0.6633, allocations: 86.08 kB / 0.7556 GB, free: 63.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.6634, allocations: 78.78 kB / 0.7556 GB, free: 63.28 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000693/0.6641, allocations: 446.7 kB / 0.7561 GB, free: 63.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.513e-05/0.6642, allocations: 150.4 kB / 0.7562 GB, free: 62.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.758e-05/0.6643, allocations: 43.81 kB / 0.7562 GB, free: 62.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.6654, allocations: 0.6599 MB / 0.7569 GB, free: 62.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.6654, allocations: 1.531 kB / 0.7569 GB, free: 62.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/0.6654, allocations: 15.09 kB / 0.7569 GB, free: 62.89 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.973e-05/0.6655, allocations: 27.31 kB / 0.7569 GB, free: 62.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.6667, allocations: 0.675 MB / 0.7576 GB, free: 62.89 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/0.6702, allocations: 2.409 MB / 0.7599 GB, free: 61.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.6715, allocations: 0.6522 MB / 0.7606 GB, free: 61.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005589/0.6721, allocations: 337.4 kB / 0.7609 GB, free: 61.92 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/0.6735, allocations: 319.2 kB / 0.7612 GB, free: 61.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.6736, allocations: 49.75 kB / 0.7612 GB, free: 61.87 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.324e-06/0.6736, allocations: 0 / 0.7612 GB, free: 61.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.003905/0.6775, allocations: 1.986 MB / 0.7632 GB, free: 61.56 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.6775, allocations: 58.69 kB / 0.7632 GB, free: 61.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005825/0.6781, allocations: 430.6 kB / 0.7637 GB, free: 61.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.6781, allocations: 34.89 kB / 0.7637 GB, free: 61.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.6783, allocations: 240.7 kB / 0.7639 GB, free: 61.24 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.6785, allocations: 239.1 kB / 0.7641 GB, free: 61.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.6787, allocations: 110 kB / 0.7643 GB, free: 61.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6788, allocations: 370.3 kB / 0.7646 GB, free: 60.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/0.6793, allocations: 264.2 kB / 0.7649 GB, free: 60.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.6799, allocations: 338.5 kB / 0.7652 GB, free: 60.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.6812, allocations: 0.6266 MB / 0.7658 GB, free: 60.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6812, allocations: 0.5938 kB / 0.7658 GB, free: 60.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001642/0.6829, allocations: 0.8543 MB / 0.7666 GB, free: 60.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.6829, allocations: 5.438 kB / 0.7666 GB, free: 60.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.6829, allocations: 8.25 kB / 0.7666 GB, free: 60.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.6833, allocations: 126.9 kB / 0.7668 GB, free: 60.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.6838, allocations: 108.6 kB / 0.7669 GB, free: 60.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.6862, allocations: 2.372 MB / 0.7692 GB, free: 59.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.6866, allocations: 27.52 kB / 0.7692 GB, free: 59.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.358e-05/0.6867, allocations: 27.8 kB / 0.7692 GB, free: 59.16 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.0003122/0.687, allocations: 191.9 kB / 0.7694 GB, free: 59.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.6872, allocations: 65.19 kB / 0.7695 GB, free: 59.01 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.689, allocations: 1.053 MB / 0.7705 GB, free: 58.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.689, allocations: 9.594 kB / 0.7705 GB, free: 58.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.689, allocations: 2.75 kB / 0.7705 GB, free: 58.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.689, allocations: 3.891 kB / 0.7705 GB, free: 58.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.6916, allocations: 1.631 MB / 0.7721 GB, free: 58.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.6916, allocations: 2.75 kB / 0.7721 GB, free: 58.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/0.6921, allocations: 102.6 kB / 0.7722 GB, free: 58.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003982/0.6925, allocations: 133.3 kB / 0.7723 GB, free: 58.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.334e-05/0.6925, allocations: 23.8 kB / 0.7724 GB, free: 58.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/0.6948, allocations: 2.38 MB / 0.7747 GB, free: 57.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6948, allocations: 0 / 0.7747 GB, free: 57.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.6968, allocations: 1.305 MB / 0.776 GB, free: 56.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.6971, allocations: 123.9 kB / 0.7761 GB, free: 56.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.802e-05/0.6972, allocations: 14.06 kB / 0.7761 GB, free: 56.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.6975, allocations: 18.19 kB / 0.7761 GB, free: 56.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.402e-05/0.6976, allocations: 49.03 kB / 0.7762 GB, free: 56.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.6976, allocations: 25.5 kB / 0.7762 GB, free: 56.94 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003275/0.698, allocations: 332.9 kB / 0.7765 GB, free: 56.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.698, allocations: 0 / 0.7765 GB, free: 56.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00104/0.699, allocations: 288.4 kB / 0.7768 GB, free: 56.82 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.002633/0.7016, allocations: 2.149 MB / 0.7789 GB, free: 56 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.7032, allocations: 0.8789 MB / 0.7797 GB, free: 55.81 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7032, allocations: 0 / 0.7797 GB, free: 55.81 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008537/0.704, allocations: 0.5796 MB / 0.7803 GB, free: 55.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.7051, allocations: 196.8 kB / 0.7805 GB, free: 55.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007919/0.713, allocations: 5.978 MB / 0.7863 GB, free: 53.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.7133, allocations: 0.8966 MB / 0.7872 GB, free: 52.95 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004459/0.7138, allocations: 141.9 kB / 0.7873 GB, free: 52.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.7141, allocations: 229.7 kB / 0.7876 GB, free: 52.9 MB / 0.5762 GB Notification: Performance of SimCode: time 9.91e-07/0.7141, allocations: 0 / 0.7876 GB, free: 52.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04527/0.7593, allocations: 21.23 MB / 0.8083 GB, free: 39.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.09, allocations: 9.531 kB / 0.8083 GB, free: 39.38 MB / 0.5762 GB " [Timeout remaining time 646] (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: 17.679038980044425]