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.00118/0.00118, allocations: 107.8 kB / 15.98 MB, free: 6.34 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.001091/0.001091, allocations: 190.2 kB / 16.9 MB, free: 6.184 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.533/1.533, allocations: 205.1 MB / 222.8 MB, free: 12.47 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.1861/0.1861, allocations: 43.52 MB / 313.6 MB, free: 0.6992 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.001318/0.001318, allocations: 70.97 kB / 382.3 MB, free: 56.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08357/0.0849, allocations: 57.79 MB / 440.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3469/0.4318, allocations: 146.1 MB / 0.5725 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006986/0.4388, allocations: 5.657 MB / 0.578 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.44, allocations: 28.81 kB / 0.578 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.4411, allocations: 289.8 kB / 0.5783 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.4433, allocations: 0.802 MB / 0.5791 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.4457, allocations: 0.9524 MB / 0.58 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001838/0.4475, allocations: 1.815 MB / 0.5818 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005702/0.4481, allocations: 457.3 kB / 0.5822 GB, free: 11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.4492, allocations: 0.7551 MB / 0.583 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008213/0.45, allocations: 0.7413 MB / 0.5837 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.004e-05/0.4501, allocations: 62.81 kB / 0.5838 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009198/0.4511, allocations: 0.535 MB / 0.5843 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.4513, allocations: 272.6 kB / 0.5845 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.4516, allocations: 404.4 kB / 0.5849 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.4527, allocations: 1.13 MB / 0.586 GB, free: 9.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4528, allocations: 4 kB / 0.586 GB, free: 9.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4528, allocations: 0 / 0.586 GB, free: 9.777 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4528, allocations: 0 / 0.586 GB, free: 9.777 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.001912/0.4547, allocations: 1.058 MB / 0.5871 GB, free: 9.066 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.4547, allocations: 13.98 kB / 0.5871 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.4549, allocations: 103 kB / 0.5872 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/0.4552, allocations: 90.98 kB / 0.5873 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006323/0.4558, allocations: 0.5069 MB / 0.5878 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/0.4559, allocations: 100.4 kB / 0.5879 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/0.456, allocations: 53.77 kB / 0.5879 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.4571, allocations: 0.8199 MB / 0.5887 GB, free: 8.188 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.4571, allocations: 6.25 kB / 0.5887 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.509e-05/0.4572, allocations: 25.75 kB / 0.5887 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/0.4572, allocations: 36.64 kB / 0.5888 GB, free: 8.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008696/0.4581, allocations: 0.6499 MB / 0.5894 GB, free: 8.059 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.003714/0.4618, allocations: 3.974 MB / 0.5933 GB, free: 5.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.4625, allocations: 426.6 kB / 0.5937 GB, free: 4.957 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.4628, allocations: 213 kB / 0.5939 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005002/0.4633, allocations: 0.7283 MB / 0.5946 GB, free: 4.066 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.4633, allocations: 47.58 kB / 0.5947 GB, free: 4.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 1.933e-06/0.4633, allocations: 0 / 0.5947 GB, free: 4.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.002818/0.4662, allocations: 1.545 MB / 0.5962 GB, free: 3.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.4662, allocations: 138.2 kB / 0.5963 GB, free: 2.973 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.4668, allocations: 0.5698 MB / 0.5969 GB, free: 2.637 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/0.4668, allocations: 36.48 kB / 0.5969 GB, free: 2.598 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.4671, allocations: 357.4 kB / 0.5972 GB, free: 2.285 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.4672, allocations: 156.3 kB / 0.5974 GB, free: 2.152 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.4674, allocations: 146.6 kB / 0.5975 GB, free: 2.062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4675, allocations: 373.6 kB / 0.5979 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.4678, allocations: 217.8 kB / 0.5981 GB, free: 1.594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.4683, allocations: 0.512 MB / 0.5986 GB, free: 1.086 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008373/0.4692, allocations: 0.7552 MB / 0.5993 GB, free: 464 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4692, allocations: 2.5 kB / 0.5993 GB, free: 464 kB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001395/0.4706, allocations: 0.9101 MB / 0.6002 GB, free: 15.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4706, allocations: 19.72 kB / 0.6002 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4706, allocations: 9.625 kB / 0.6002 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/0.472, allocations: 289.5 kB / 0.6005 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.4723, allocations: 124.6 kB / 0.6006 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008783/0.4732, allocations: 0.8805 MB / 0.6015 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.4737, allocations: 52.94 kB / 0.6015 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/0.4737, allocations: 33.78 kB / 0.6016 GB, free: 15.06 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.0002827/0.474, allocations: 250.6 kB / 0.6018 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.4742, allocations: 67.94 kB / 0.6019 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.4753, allocations: 0.7694 MB / 0.6026 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.4753, allocations: 4.844 kB / 0.6026 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4753, allocations: 0 / 0.6026 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.4754, allocations: 10.86 kB / 0.6026 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.4771, allocations: 1.413 MB / 0.604 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4772, allocations: 7.969 kB / 0.604 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000971/0.4781, allocations: 206.5 kB / 0.6042 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.833e-05/0.4782, allocations: 22.28 kB / 0.6043 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.4783, allocations: 13.53 kB / 0.6043 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/0.4804, allocations: 2.869 MB / 0.6071 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4804, allocations: 0 / 0.6071 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.4818, allocations: 1.012 MB / 0.6081 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/0.482, allocations: 201.4 kB / 0.6083 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.142e-05/0.4821, allocations: 11.31 kB / 0.6083 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.4826, allocations: 34.92 kB / 0.6083 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.4827, allocations: 40.77 kB / 0.6083 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.4827, allocations: 27.5 kB / 0.6084 GB, free: 9.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000439/0.4832, allocations: 432.5 kB / 0.6088 GB, free: 8.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4832, allocations: 0 / 0.6088 GB, free: 8.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007572/0.4839, allocations: 231.6 kB / 0.609 GB, free: 8.934 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.001981/0.4859, allocations: 1.707 MB / 0.6107 GB, free: 7.641 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.4872, allocations: 0.6603 MB / 0.6113 GB, free: 7.242 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4872, allocations: 3.859 kB / 0.6113 GB, free: 7.238 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009882/0.4882, allocations: 454.7 kB / 0.6117 GB, free: 6.781 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.4899, allocations: 391.6 kB / 0.6121 GB, free: 6.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009524/0.4994, allocations: 6.91 MB / 0.6189 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006379/0.5001, allocations: 0.9385 MB / 0.6198 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007824/0.5009, allocations: 210.1 kB / 0.62 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/0.5013, allocations: 235.4 kB / 0.6202 GB, free: 13.73 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5013, allocations: 0 / 0.6202 GB, free: 13.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1169/0.6182, allocations: 22.12 MB / 0.6418 GB, free: 7.648 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000384/0.6186, allocations: 298.9 kB / 0.6421 GB, free: 7.266 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/3.091, allocations: 0 / 0.6421 GB, free: 7.266 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches