Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 100.6 kB / 16.27 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 186.9 kB / 17.2 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1936/0.1936, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001583, allocations: 65.97 kB / 382.8 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.09852, allocations: 57.78 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3706/0.4692, allocations: 147.6 MB / 0.5744 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006007/0.4752, allocations: 5.589 MB / 0.5799 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006746/0.4759, allocations: 18.69 kB / 0.5799 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008901/0.4769, allocations: 323.1 kB / 0.5802 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.4787, allocations: 0.8577 MB / 0.581 GB, free: 12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00244/0.4812, allocations: 1.019 MB / 0.582 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.483, allocations: 1.794 MB / 0.5838 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006491/0.4837, allocations: 472.1 kB / 0.5842 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.485, allocations: 0.7501 MB / 0.585 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009749/0.486, allocations: 0.7052 MB / 0.5857 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.4861, allocations: 71.72 kB / 0.5857 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.4873, allocations: 0.5306 MB / 0.5862 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.4875, allocations: 259.1 kB / 0.5865 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.4879, allocations: 400.3 kB / 0.5869 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.4892, allocations: 1.122 MB / 0.588 GB, free: 9.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4892, allocations: 3.938 kB / 0.588 GB, free: 9.875 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4892, allocations: 0 / 0.588 GB, free: 9.875 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.4892, allocations: 6.312 kB / 0.588 GB, free: 9.871 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001778/0.491, allocations: 1.062 MB / 0.589 GB, free: 9.152 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.491, allocations: 15.17 kB / 0.589 GB, free: 9.145 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.4912, allocations: 98.25 kB / 0.5891 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003228/0.4915, allocations: 88.3 kB / 0.5892 GB, free: 9.055 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006641/0.4922, allocations: 0.5162 MB / 0.5897 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.183e-05/0.4923, allocations: 98.16 kB / 0.5898 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.31e-05/0.4923, allocations: 49.91 kB / 0.5899 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.4934, allocations: 0.8216 MB / 0.5907 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.4934, allocations: 0 / 0.5907 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.535e-05/0.4935, allocations: 27.89 kB / 0.5907 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.632e-05/0.4935, allocations: 39.98 kB / 0.5907 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008899/0.4944, allocations: 0.6474 MB / 0.5914 GB, free: 8.156 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003886/0.4983, allocations: 3.979 MB / 0.5952 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006795/0.499, allocations: 429 kB / 0.5957 GB, free: 5.051 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.4993, allocations: 200.3 kB / 0.5958 GB, free: 5.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005541/0.4999, allocations: 0.7415 MB / 0.5966 GB, free: 4.156 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.4999, allocations: 41.61 kB / 0.5966 GB, free: 4.113 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.004e-06/0.4999, allocations: 0 / 0.5966 GB, free: 4.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.002951/0.5029, allocations: 1.543 MB / 0.5981 GB, free: 3.262 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.503, allocations: 134.2 kB / 0.5982 GB, free: 3.105 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005599/0.5035, allocations: 0.5677 MB / 0.5988 GB, free: 2.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/0.5036, allocations: 36.33 kB / 0.5988 GB, free: 2.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.5038, allocations: 360 kB / 0.5992 GB, free: 2.418 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.504, allocations: 159.7 kB / 0.5993 GB, free: 2.281 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.5041, allocations: 143.5 kB / 0.5995 GB, free: 2.195 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5043, allocations: 370 kB / 0.5998 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.5046, allocations: 217.6 kB / 0.6 GB, free: 1.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005085/0.5051, allocations: 0.5091 MB / 0.6005 GB, free: 1.219 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/0.506, allocations: 0.7703 MB / 0.6013 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.506, allocations: 2.031 kB / 0.6013 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001421/0.5075, allocations: 0.9102 MB / 0.6022 GB, free: 96 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5075, allocations: 11.56 kB / 0.6022 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.5075, allocations: 9.812 kB / 0.6022 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.5089, allocations: 296.8 kB / 0.6025 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.5092, allocations: 117.3 kB / 0.6026 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009567/0.5102, allocations: 0.8883 MB / 0.6034 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.5106, allocations: 24.41 kB / 0.6035 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/0.5107, allocations: 39.95 kB / 0.6035 GB, free: 15.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002983/0.511, allocations: 249 kB / 0.6037 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.5111, allocations: 63.81 kB / 0.6038 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.5123, allocations: 0.7706 MB / 0.6046 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.5123, allocations: 9.219 kB / 0.6046 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5124, allocations: 0 / 0.6046 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.5124, allocations: 3.938 kB / 0.6046 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.5142, allocations: 1.417 MB / 0.606 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.5142, allocations: 6.25 kB / 0.606 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009783/0.5152, allocations: 204.9 kB / 0.6062 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.632e-05/0.5153, allocations: 22.94 kB / 0.6062 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.5154, allocations: 16.52 kB / 0.6062 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.5172, allocations: 2.873 MB / 0.609 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5172, allocations: 2.906 kB / 0.609 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.5186, allocations: 1.004 MB / 0.61 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.5189, allocations: 203.5 kB / 0.6102 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.051e-05/0.519, allocations: 12.84 kB / 0.6102 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.5193, allocations: 22.36 kB / 0.6102 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/0.5194, allocations: 38.61 kB / 0.6102 GB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.5195, allocations: 26.86 kB / 0.6103 GB, free: 9.379 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004855/0.52, allocations: 428.9 kB / 0.6107 GB, free: 9.133 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.52, allocations: 0 / 0.6107 GB, free: 9.133 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007869/0.5208, allocations: 225.2 kB / 0.6109 GB, free: 9.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001899/0.5227, allocations: 1.721 MB / 0.6126 GB, free: 7.609 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.5241, allocations: 0.6578 MB / 0.6132 GB, free: 6.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5241, allocations: 3.859 kB / 0.6132 GB, free: 6.945 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.5252, allocations: 450.3 kB / 0.6137 GB, free: 6.492 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.5269, allocations: 382.6 kB / 0.614 GB, free: 6.133 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009443/0.5363, allocations: 6.719 MB / 0.6206 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.5369, allocations: 0.9307 MB / 0.6215 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007561/0.5376, allocations: 206.1 kB / 0.6217 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.538, allocations: 243.3 kB / 0.6219 GB, free: 13.64 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.538, allocations: 0 / 0.6219 GB, free: 13.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05151/0.5895, allocations: 22.29 MB / 0.6437 GB, free: 7.352 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.73, allocations: 7.906 kB / 0.6437 GB, free: 7.344 MB / 478.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches