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.001067/0.001071, allocations: 106.4 kB / 17.73 MB, free: 5.367 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.001238/0.001238, allocations: 183.1 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.262/1.262, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001161/0.001161, allocations: 51.94 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08105/0.08222, allocations: 46.62 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2301/0.3124, allocations: 65.74 MB / 440.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006029/0.3185, allocations: 5.459 MB / 445.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.3188, allocations: 7.938 kB / 445.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008766/0.3197, allocations: 346 kB / 446.2 MB, free: 8.277 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007386/0.3204, allocations: 0.5088 MB / 446.7 MB, free: 7.766 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01831/0.3388, allocations: 7.076 MB / 453.8 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.3405, allocations: 1.548 MB / 455.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/0.3408, allocations: 217.7 kB / 455.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000778/0.3416, allocations: 0.623 MB / 456.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00063/0.3423, allocations: 0.5684 MB / 456.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.3424, allocations: 88 kB / 456.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01695/0.3593, allocations: 10.08 MB / 466.9 MB, free: 3.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003899/0.3597, allocations: 327.2 kB / 467.2 MB, free: 3.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005445/0.3603, allocations: 442.3 kB / 467.7 MB, free: 2.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01206/0.3724, allocations: 5.918 MB / 473.6 MB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3724, allocations: 0 / 473.6 MB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3724, allocations: 0 / 473.6 MB, free: 12.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.415e-05/0.3725, allocations: 0 / 473.6 MB, free: 12.84 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.003553/0.376, allocations: 1.552 MB / 475.1 MB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3761, allocations: 8.031 kB / 475.1 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.3762, allocations: 110.5 kB / 475.2 MB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004229/0.3766, allocations: 87.14 kB / 475.3 MB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000633/0.3773, allocations: 452.8 kB / 475.8 MB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.3773, allocations: 45.31 kB / 475.8 MB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.903e-05/0.3774, allocations: 64 kB / 475.9 MB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.379, allocations: 0.8074 MB / 476.7 MB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.379, allocations: 0 / 476.7 MB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.015e-05/0.3791, allocations: 28 kB / 476.7 MB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.3791, allocations: 16 kB / 476.7 MB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.3809, allocations: 1.024 MB / 477.8 MB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0158/0.3967, allocations: 12.79 MB / 490.5 MB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.3985, allocations: 0.7374 MB / 491.3 MB, free: 8.871 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/0.3991, allocations: 417 kB / 491.7 MB, free: 8.465 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01352/0.4126, allocations: 12.23 MB / 0.4921 GB, free: 9.852 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.4127, allocations: 43.22 kB / 0.4921 GB, free: 9.801 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 3.216e-06/0.4127, allocations: 4 kB / 0.4922 GB, free: 9.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.009647/0.4223, allocations: 3.389 MB / 0.4955 GB, free: 6.328 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.4224, allocations: 60.41 kB / 0.4955 GB, free: 6.254 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.4228, allocations: 364.4 kB / 0.4959 GB, free: 5.891 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.166e-05/0.4229, allocations: 41.7 kB / 0.4959 GB, free: 5.844 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.423, allocations: 236.7 kB / 0.4961 GB, free: 5.609 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.4233, allocations: 311.5 kB / 0.4964 GB, free: 5.301 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.4235, allocations: 158.6 kB / 0.4966 GB, free: 5.141 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4236, allocations: 358.8 kB / 0.4969 GB, free: 4.781 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/0.4242, allocations: 373.8 kB / 0.4973 GB, free: 4.414 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008658/0.4251, allocations: 492.2 kB / 0.4977 GB, free: 3.902 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.4267, allocations: 0.9097 MB / 0.4986 GB, free: 2.965 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4267, allocations: 0 / 0.4986 GB, free: 2.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002441/0.4292, allocations: 1.113 MB / 0.4997 GB, free: 1.828 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.4292, allocations: 7.984 kB / 0.4997 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.4292, allocations: 4 kB / 0.4997 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000766/0.43, allocations: 163.5 kB / 0.4999 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007108/0.4307, allocations: 199.6 kB / 0.5001 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.4334, allocations: 4.116 MB / 0.5041 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.4338, allocations: 20.28 kB / 0.5041 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.4339, allocations: 47.97 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.0004083/0.4343, allocations: 229.5 kB / 0.5044 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004343/0.4348, allocations: 59.44 kB / 0.5044 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.4371, allocations: 1.292 MB / 0.5057 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.4371, allocations: 8 kB / 0.5057 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4371, allocations: 0 / 0.5057 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001692/0.4388, allocations: 1.32 MB / 0.507 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.442, allocations: 1.956 MB / 0.5089 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.442, allocations: 4.062 kB / 0.5089 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006647/0.4427, allocations: 167.8 kB / 0.5091 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/0.4443, allocations: 297.1 kB / 0.5094 GB, free: 7.371 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.81e-05/0.4444, allocations: 27.98 kB / 0.5094 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007561/0.4452, allocations: 1.293 MB / 0.5106 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4452, allocations: 0 / 0.5106 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.4477, allocations: 1.425 MB / 0.512 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.4478, allocations: 124.5 kB / 0.5122 GB, free: 4.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.884e-05/0.4479, allocations: 20.06 kB / 0.5122 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000535/0.4485, allocations: 27.98 kB / 0.5122 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.4486, allocations: 52.92 kB / 0.5123 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.4487, allocations: 43.97 kB / 0.5123 GB, free: 4.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002946/0.449, allocations: 283 kB / 0.5126 GB, free: 3.996 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.449, allocations: 4 kB / 0.5126 GB, free: 3.992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00373/0.4528, allocations: 1.394 MB / 0.5139 GB, free: 2.598 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.008668/0.4614, allocations: 3.599 MB / 0.5174 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002099/0.4636, allocations: 1.16 MB / 0.5186 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4636, allocations: 4.062 kB / 0.5186 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008529/0.4644, allocations: 491.2 kB / 0.519 GB, free: 13.28 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.4664, allocations: 397.3 kB / 0.5194 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.4779, allocations: 7.037 MB / 0.5263 GB, free: 5.672 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.4784, allocations: 0.9243 MB / 0.5272 GB, free: 4.719 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007162/0.4791, allocations: 197.2 kB / 0.5274 GB, free: 4.523 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/0.4795, allocations: 231.3 kB / 0.5276 GB, free: 4.297 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4795, allocations: 0 / 0.5276 GB, free: 4.297 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.256/0.7355, allocations: 58.24 MB / 0.5845 GB, free: 136.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.35, allocations: 19.69 kB / 0.5845 GB, free: 136.1 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