Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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) 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(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",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.001462/0.001463, allocations: 102.5 kB / 17.73 MB, free: 5.371 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.001531/0.001531, allocations: 191 kB / 18.66 MB, free: 4.445 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.334/1.334, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.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.001776/0.001776, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1105, allocations: 46.61 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2605/0.3711, allocations: 65.74 MB / 440.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006915/0.378, allocations: 5.457 MB / 445.9 MB, free: 8.629 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005487/0.3786, allocations: 7.938 kB / 445.9 MB, free: 8.621 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.3798, allocations: 357.9 kB / 446.2 MB, free: 8.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.3809, allocations: 0.5011 MB / 446.7 MB, free: 7.766 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01954/0.4005, allocations: 7.076 MB / 453.8 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001981/0.4025, allocations: 1.544 MB / 455.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.4029, allocations: 222.6 kB / 455.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.404, allocations: 0.623 MB / 456.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009193/0.4049, allocations: 0.5723 MB / 456.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.4052, allocations: 80 kB / 456.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01846/0.4236, allocations: 10.1 MB / 466.9 MB, free: 3.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004144/0.4241, allocations: 319.2 kB / 467.2 MB, free: 3.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005541/0.4247, allocations: 434.4 kB / 467.7 MB, free: 2.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.438, allocations: 5.922 MB / 473.6 MB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4381, allocations: 4 kB / 473.6 MB, free: 12.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4381, allocations: 0 / 473.6 MB, free: 12.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.4381, allocations: 4 kB / 473.6 MB, free: 12.83 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00377/0.4419, allocations: 1.544 MB / 475.1 MB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.4419, allocations: 12.03 kB / 475.1 MB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001371/0.4421, allocations: 110.5 kB / 475.2 MB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004303/0.4425, allocations: 88.02 kB / 475.3 MB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006837/0.4432, allocations: 440.8 kB / 475.8 MB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.4433, allocations: 49.31 kB / 475.8 MB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.4434, allocations: 64 kB / 475.9 MB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.445, allocations: 0.8068 MB / 476.7 MB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.445, allocations: 4 kB / 476.7 MB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.4451, allocations: 32 kB / 476.7 MB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.4451, allocations: 12 kB / 476.7 MB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.4469, allocations: 1.024 MB / 477.8 MB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.4635, allocations: 12.79 MB / 490.5 MB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.4653, allocations: 0.7373 MB / 491.3 MB, free: 8.871 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005214/0.4658, allocations: 406.6 kB / 491.7 MB, free: 8.473 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01419/0.48, allocations: 12.26 MB / 0.4921 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/0.4801, allocations: 39.22 kB / 0.4922 GB, free: 9.789 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.985e-06/0.4801, allocations: 0 / 0.4922 GB, free: 9.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.00953/0.4897, allocations: 3.388 MB / 0.4955 GB, free: 6.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.4897, allocations: 60.41 kB / 0.4955 GB, free: 6.246 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/0.4902, allocations: 360.4 kB / 0.4959 GB, free: 5.887 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.041e-05/0.4903, allocations: 49.7 kB / 0.4959 GB, free: 5.832 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.4904, allocations: 232.7 kB / 0.4961 GB, free: 5.602 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.4907, allocations: 307.5 kB / 0.4964 GB, free: 5.297 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.4909, allocations: 158.6 kB / 0.4966 GB, free: 5.137 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4911, allocations: 370.8 kB / 0.4969 GB, free: 4.766 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/0.4917, allocations: 365.8 kB / 0.4973 GB, free: 4.406 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009444/0.4926, allocations: 496.2 kB / 0.4978 GB, free: 3.891 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.4943, allocations: 0.902 MB / 0.4986 GB, free: 2.961 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4943, allocations: 4 kB / 0.4986 GB, free: 2.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002493/0.4968, allocations: 1.117 MB / 0.4997 GB, free: 1.816 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.4968, allocations: 8 kB / 0.4997 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4968, allocations: 288 / 0.4997 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007688/0.4976, allocations: 163.3 kB / 0.4999 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/0.4983, allocations: 191.7 kB / 0.5001 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002803/0.5011, allocations: 4.12 MB / 0.5041 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.5015, allocations: 19.98 kB / 0.5041 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.032e-05/0.5016, allocations: 43.98 kB / 0.5042 GB, free: 12.94 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003319/0.502, allocations: 233.7 kB / 0.5044 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/0.5024, allocations: 59.44 kB / 0.5044 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/0.5046, allocations: 1.288 MB / 0.5057 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.5046, allocations: 8 kB / 0.5057 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.5046, allocations: 0 / 0.5057 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001706/0.5063, allocations: 1.328 MB / 0.507 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003063/0.5094, allocations: 1.964 MB / 0.5089 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5094, allocations: 3.938 kB / 0.5089 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006716/0.5101, allocations: 155.8 kB / 0.5091 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001763/0.5119, allocations: 301.2 kB / 0.5094 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.927e-05/0.512, allocations: 31.98 kB / 0.5094 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008153/0.5128, allocations: 1.281 MB / 0.5106 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5128, allocations: 8.219 kB / 0.5107 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.5153, allocations: 1.421 MB / 0.512 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.5155, allocations: 124.6 kB / 0.5122 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.464e-05/0.5156, allocations: 20 kB / 0.5122 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005133/0.5161, allocations: 35.97 kB / 0.5122 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.5162, allocations: 48.94 kB / 0.5123 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-05/0.5163, allocations: 47.95 kB / 0.5123 GB, free: 4.258 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003083/0.5166, allocations: 279 kB / 0.5126 GB, free: 3.988 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5167, allocations: 0 / 0.5126 GB, free: 3.988 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004089/0.5208, allocations: 1.394 MB / 0.5139 GB, free: 2.594 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009433/0.5302, allocations: 3.607 MB / 0.5175 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002292/0.5325, allocations: 1.156 MB / 0.5186 GB, free: 13.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.5325, allocations: 4 kB / 0.5186 GB, free: 13.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008899/0.5334, allocations: 495.9 kB / 0.5191 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.5355, allocations: 393.2 kB / 0.5194 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.5481, allocations: 7.037 MB / 0.5263 GB, free: 5.664 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/0.5487, allocations: 0.9165 MB / 0.5272 GB, free: 4.719 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007487/0.5494, allocations: 213.1 kB / 0.5274 GB, free: 4.508 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.5498, allocations: 227.3 kB / 0.5276 GB, free: 4.285 MB / 462.1 MB Notification: Performance of SimCode: time 6.22e-07/0.5498, allocations: 0 / 0.5276 GB, free: 4.285 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3689/0.9188, allocations: 58.57 MB / 0.5848 GB, free: 135.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.98, allocations: 12.72 kB / 0.5848 GB, free: 135.8 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches