Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01498/0.01498, allocations: 1.773 MB / 18.82 MB, free: 4.246 MB / 14.72 MB " [Timeout remaining time 180] 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.001584/0.001584, allocations: 111.6 kB / 22.07 MB, free: 0.9922 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.001725/0.001725, allocations: 208.5 kB / 25.45 MB, free: 3.25 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.477/1.477, allocations: 230.6 MB / 259.2 MB, free: 13.14 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.115/1.115, allocations: 130.6 MB / 446.3 MB, free: 14.7 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.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) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_simple",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_simple",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt 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: ClaRa 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. Notification: TILMedia 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.4163/0.4163, allocations: 46.16 MB / 0.6552 GB, free: 30.12 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.6014, allocations: 89.04 MB / 0.7421 GB, free: 2.77 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple): time 0.01813/0.6195, allocations: 15 MB / 0.7568 GB, free: 3.711 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03394/0.6534, allocations: 21.31 MB / 0.7776 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002806/0.6562, allocations: 67.69 kB / 0.7776 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004839/0.6611, allocations: 1.55 MB / 0.7792 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004746/0.6658, allocations: 1.278 MB / 0.7804 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01017/0.676, allocations: 3.745 MB / 0.7841 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009836/0.6858, allocations: 5.422 MB / 0.7894 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01364/0.6995, allocations: 6.046 MB / 0.7953 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0101/0.7096, allocations: 3.655 MB / 0.7988 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01062/0.7202, allocations: 5.259 MB / 0.804 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00424/0.7244, allocations: 1.383 MB / 0.8053 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01276/0.7372, allocations: 5.593 MB / 0.8108 GB, free: 12.18 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.00946/0.7466, allocations: 6.255 MB / 0.8169 GB, free: 5.914 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01361/0.7603, allocations: 6.851 MB / 0.8236 GB, free: 15.03 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.03582/0.7961, allocations: 24.85 MB / 0.8479 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.7961, allocations: 0 / 0.8479 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7961, allocations: 0 / 0.8479 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000576/0.7967, allocations: 3.938 kB / 0.8479 GB, free: 6.098 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1147 * Number of variables: 1147 Notification: Performance of Generate backend data structure: time 0.04531/0.842, allocations: 15.73 MB / 0.8632 GB, free: 6.215 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.842, allocations: 8.031 kB / 0.8632 GB, free: 6.207 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001412/0.8422, allocations: 98.83 kB / 0.8633 GB, free: 6.109 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003645/0.8458, allocations: 0.6754 MB / 0.864 GB, free: 5.422 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008485/0.8543, allocations: 1.465 MB / 0.8654 GB, free: 3.949 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4074/1.262, allocations: 18.46 MB / 0.8834 GB, free: 93.54 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003935/1.262, allocations: 342.2 kB / 0.8838 GB, free: 93.34 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001826/1.264, allocations: 328.4 kB / 0.8841 GB, free: 93.24 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03204/1.296, allocations: 17.09 MB / 0.9008 GB, free: 83.06 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001205/1.296, allocations: 9.844 kB / 0.9008 GB, free: 83.05 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001811/1.298, allocations: 251.3 kB / 0.901 GB, free: 82.92 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005996/1.298, allocations: 0.5153 MB / 0.9015 GB, free: 82.76 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04823/1.347, allocations: 31.4 MB / 0.9322 GB, free: 69.8 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06632/1.413, allocations: 30.96 MB / 0.9624 GB, free: 39.22 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/1.426, allocations: 4.07 MB / 0.9664 GB, free: 35.15 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002326/1.429, allocations: 0.976 MB / 0.9673 GB, free: 34.16 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007742/1.429, allocations: 240 kB / 0.9676 GB, free: 33.96 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.363e-05/1.429, allocations: 65.42 kB / 0.9676 GB, free: 33.88 MB / 0.67 GB Notification: Performance of pre-optimization done (n=273): time 4.338e-06/1.429, allocations: 0 / 0.9676 GB, free: 33.88 MB / 0.67 GB Notification: Performance of matching and sorting (n=273): time 0.03001/1.459, allocations: 5.747 MB / 0.9732 GB, free: 28.09 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002167/1.46, allocations: 0.49 MB / 0.9737 GB, free: 27.49 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04262/1.502, allocations: 12.96 MB / 0.9864 GB, free: 14.65 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007399/1.503, allocations: 77.7 kB / 0.9865 GB, free: 14.57 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.008174/1.511, allocations: 5.392 MB / 0.9917 GB, free: 9.461 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001284/1.512, allocations: 1.005 MB / 0.9927 GB, free: 8.582 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006589/1.519, allocations: 1.399 MB / 0.9941 GB, free: 7.172 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.402e-05/1.519, allocations: 303.8 kB / 0.9944 GB, free: 6.875 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006895/1.526, allocations: 2.423 MB / 0.9967 GB, free: 4.445 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008598/1.535, allocations: 4.156 MB / 1.001 GB, free: 15.58 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01584/1.55, allocations: 5.671 MB / 1.006 GB, free: 9.484 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.452e-05/1.551, allocations: 16 kB / 1.006 GB, free: 9.469 MB / 0.6857 GB Notification: Performance of matching and sorting (n=650) (initialization): time 0.02747/1.578, allocations: 7.83 MB / 1.014 GB, free: 1.953 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 7.4e-05/1.578, allocations: 28 kB / 1.014 GB, free: 1.926 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/1.578, allocations: 52 kB / 1.014 GB, free: 1.875 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001008/1.578, allocations: 80 kB / 1.014 GB, free: 1.797 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006289/1.585, allocations: 1.343 MB / 1.015 GB, free: 0.5391 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001588/1.585, allocations: 113.7 kB / 1.016 GB, free: 460 kB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008951/1.594, allocations: 0.6552 MB / 1.016 GB, free: 15.93 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001597/1.595, allocations: 0.5567 MB / 1.017 GB, free: 15.38 MB / 0.7013 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * 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 (650): * Single equations (assignments): 650 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007625/1.603, allocations: 3.384 MB / 1.02 GB, free: 12.03 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003595/1.606, allocations: 1.09 MB / 1.021 GB, free: 10.93 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/1.62, allocations: 4.867 MB / 1.026 GB, free: 6.164 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/1.62, allocations: 24 kB / 1.026 GB, free: 6.141 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/1.62, allocations: 4.5 kB / 1.026 GB, free: 6.137 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.229e-05/1.62, allocations: 15.94 kB / 1.026 GB, free: 6.121 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0304/1.651, allocations: 9.664 MB / 1.035 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/1.651, allocations: 4.625 kB / 1.035 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002534/1.653, allocations: 0.5956 MB / 1.036 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.872e-05/1.653, allocations: 8 kB / 1.036 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004004/1.654, allocations: 123.9 kB / 1.036 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.216e-05/1.654, allocations: 12.73 kB / 1.036 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/1.654, allocations: 7.984 kB / 1.036 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/1.667, allocations: 4.892 MB / 1.041 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006331/1.673, allocations: 1.856 MB / 1.043 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002924/1.676, allocations: 48 kB / 1.043 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004597/1.681, allocations: 90.11 kB / 1.043 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007768/1.682, allocations: 225.8 kB / 1.043 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006919/1.682, allocations: 303.9 kB / 1.043 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.02225/1.705, allocations: 9.122 MB / 1.052 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.11e-07/1.705, allocations: 0 / 1.052 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.008739/1.713, allocations: 1.712 MB / 1.054 GB, free: 9.359 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (simpleFan.kappaA,simpleFan.kappaB,simpleFan1.kappaA,simpleFan1.kappaB,simpleFan2.kappaA,simpleFan2.kappaB) * 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 (267): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01412/1.728, allocations: 6.317 MB / 1.06 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00977/1.737, allocations: 4.35 MB / 1.064 GB, free: 14.95 MB / 0.7482 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.737, allocations: 0 / 1.064 GB, free: 14.95 MB / 0.7482 GB Notification: Performance of simCode: created simulation system equations: time 0.00289/1.74, allocations: 1.187 MB / 1.065 GB, free: 13.75 MB / 0.7482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009102/1.749, allocations: 1.152 MB / 1.067 GB, free: 12.67 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1696/1.919, allocations: 74.98 MB / 1.14 GB, free: 64 kB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01172/1.931, allocations: 5.664 MB / 1.145 GB, free: 10.36 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.01159/1.942, allocations: 3.208 MB / 1.148 GB, free: 7.156 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009585/1.952, allocations: 4.767 MB / 1.153 GB, free: 2.391 MB / 0.8263 GB Notification: Performance of SimCode: time 1.142e-06/1.952, allocations: 0 / 1.153 GB, free: 2.391 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7415/2.693, allocations: 171.5 MB / 1.321 GB, free: 210.3 MB / 0.8732 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.27/37.96, allocations: 12.66 kB / 1.321 GB, free: 210.3 MB / 0.8732 GB " [Timeout remaining time 762] (rm -f ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.pipe ; mkfifo ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.pipe >> ../files/ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple_res.mat --tempDir=temp_ClaRa_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_simple_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_simple.fmu > ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.pipe 2>&1) [Timeout 840.0] diffSimulationResults("ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 799] Reference file matches [Calling sys.exit(0), Time elapsed: 44.629165459948126]