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.001108/0.001108, allocations: 110.6 kB / 17.73 MB, free: 5.32 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.001154/0.001154, allocations: 190.9 kB / 18.67 MB, free: 4.387 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.336/1.336, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001364/0.001364, allocations: 47.94 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08768/0.08905, allocations: 46.62 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2503/0.3394, allocations: 65.73 MB / 440.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006633/0.3461, allocations: 5.456 MB / 445.9 MB, free: 8.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003785/0.3465, allocations: 7.938 kB / 445.9 MB, free: 8.613 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.3476, allocations: 365.9 kB / 446.2 MB, free: 8.254 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.3486, allocations: 0.5128 MB / 446.7 MB, free: 7.738 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01948/0.3681, allocations: 7.095 MB / 453.8 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00191/0.3701, allocations: 1.548 MB / 455.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003466/0.3704, allocations: 222.5 kB / 455.6 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008932/0.3713, allocations: 0.6308 MB / 456.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007014/0.372, allocations: 0.5645 MB / 456.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.3722, allocations: 88 kB / 456.9 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01859/0.3908, allocations: 10.1 MB / 467 MB, free: 3.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005511/0.3914, allocations: 327.2 kB / 467.3 MB, free: 3.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007505/0.3921, allocations: 438.3 kB / 467.7 MB, free: 2.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01566/0.4078, allocations: 5.935 MB / 473.6 MB, free: 12.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4078, allocations: 0 / 473.6 MB, free: 12.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4078, allocations: 0 / 473.6 MB, free: 12.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.415e-05/0.4079, allocations: 0 / 473.6 MB, free: 12.75 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.004537/0.4124, allocations: 1.601 MB / 475.2 MB, free: 11.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4125, allocations: 8.031 kB / 475.3 MB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001986/0.4127, allocations: 107.4 kB / 475.4 MB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005044/0.4132, allocations: 87.56 kB / 475.4 MB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007717/0.414, allocations: 453 kB / 475.9 MB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.4141, allocations: 45.31 kB / 475.9 MB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.4142, allocations: 64 kB / 476 MB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.4161, allocations: 0.8107 MB / 476.8 MB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.4161, allocations: 0 / 476.8 MB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.484e-05/0.4162, allocations: 28 kB / 476.8 MB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.4162, allocations: 16 kB / 476.8 MB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.4181, allocations: 1.032 MB / 477.9 MB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01829/0.4364, allocations: 12.79 MB / 490.7 MB, free: 9.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.4384, allocations: 0.741 MB / 491.4 MB, free: 8.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/0.439, allocations: 410.7 kB / 491.8 MB, free: 8.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.016/0.4551, allocations: 12.24 MB / 0.4922 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.4551, allocations: 47.22 kB / 0.4923 GB, free: 9.645 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.324e-06/0.4552, allocations: 0 / 0.4923 GB, free: 9.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.009478/0.4646, allocations: 3.398 MB / 0.4956 GB, free: 6.172 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.4647, allocations: 64.41 kB / 0.4957 GB, free: 6.094 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.4651, allocations: 352.5 kB / 0.496 GB, free: 5.742 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.15e-05/0.4652, allocations: 45.64 kB / 0.496 GB, free: 5.691 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.4654, allocations: 245.2 kB / 0.4963 GB, free: 5.449 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.4656, allocations: 333.1 kB / 0.4966 GB, free: 5.121 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/0.4659, allocations: 154.6 kB / 0.4967 GB, free: 4.965 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.4661, allocations: 362.8 kB / 0.4971 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/0.4667, allocations: 373.8 kB / 0.4974 GB, free: 4.234 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008979/0.4676, allocations: 496.2 kB / 0.4979 GB, free: 3.719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.4693, allocations: 0.8982 MB / 0.4988 GB, free: 2.793 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4693, allocations: 0 / 0.4988 GB, free: 2.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002514/0.4718, allocations: 1.129 MB / 0.4999 GB, free: 1.641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.4718, allocations: 4 kB / 0.4999 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.4719, allocations: 4 kB / 0.4999 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008101/0.4727, allocations: 167.4 kB / 0.5001 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.4734, allocations: 187.8 kB / 0.5002 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00329/0.4767, allocations: 4.124 MB / 0.5043 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004376/0.4772, allocations: 24.09 kB / 0.5043 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.199e-05/0.4773, allocations: 43.98 kB / 0.5043 GB, free: 12.75 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.0003844/0.4777, allocations: 229.4 kB / 0.5046 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003874/0.4781, allocations: 63.67 kB / 0.5046 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.4804, allocations: 1.285 MB / 0.5059 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.4804, allocations: 8 kB / 0.5059 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.4804, allocations: 0 / 0.5059 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001758/0.4822, allocations: 1.316 MB / 0.5072 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003366/0.4855, allocations: 1.972 MB / 0.5091 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.4856, allocations: 4 kB / 0.5091 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007015/0.4863, allocations: 159.8 kB / 0.5092 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001741/0.488, allocations: 297.3 kB / 0.5095 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/0.4881, allocations: 23.98 kB / 0.5096 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000893/0.489, allocations: 1.293 MB / 0.5108 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.489, allocations: 3.938 kB / 0.5108 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.4915, allocations: 1.418 MB / 0.5122 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.4917, allocations: 132.8 kB / 0.5123 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.75e-05/0.4918, allocations: 19.98 kB / 0.5123 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005445/0.4924, allocations: 27.98 kB / 0.5124 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-05/0.4925, allocations: 56.86 kB / 0.5124 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/0.4926, allocations: 43.97 kB / 0.5125 GB, free: 4.082 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003006/0.4929, allocations: 283 kB / 0.5127 GB, free: 3.809 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4929, allocations: 4 kB / 0.5127 GB, free: 3.805 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003803/0.4967, allocations: 1.407 MB / 0.5141 GB, free: 2.395 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.008555/0.5053, allocations: 3.623 MB / 0.5177 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002235/0.5076, allocations: 1.168 MB / 0.5188 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.5076, allocations: 0 / 0.5188 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009385/0.5086, allocations: 491.2 kB / 0.5193 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.5106, allocations: 390.2 kB / 0.5196 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.5241, allocations: 7.073 MB / 0.5265 GB, free: 5.406 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/0.5248, allocations: 0.9165 MB / 0.5274 GB, free: 4.461 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008214/0.5256, allocations: 213.2 kB / 0.5276 GB, free: 4.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004041/0.526, allocations: 227.4 kB / 0.5279 GB, free: 4.027 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.526, allocations: 0 / 0.5279 GB, free: 4.027 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2825/0.8085, allocations: 58.24 MB / 0.5847 GB, free: 135.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.35, allocations: 3.781 kB / 0.5847 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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.csv","/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