Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.00108/0.00108, allocations: 101.5 kB / 17.72 MB, free: 5.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.001165/0.001166, allocations: 188.1 kB / 18.66 MB, free: 4.41 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.294/1.294, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001242/0.001242, allocations: 47.94 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08105/0.0823, allocations: 46.62 MB / 374.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2248/0.3072, allocations: 50.7 MB / 425.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006369/0.3136, allocations: 5.192 MB / 430.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003619/0.314, allocations: 11.31 kB / 430.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008356/0.3149, allocations: 245.7 kB / 430.8 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008273/0.3157, allocations: 366.8 kB / 431.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02086/0.3366, allocations: 6.754 MB / 437.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.3381, allocations: 1.092 MB / 439 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.3384, allocations: 149.5 kB / 439.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006259/0.3446, allocations: 3.593 MB / 442.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005485/0.3452, allocations: 398.7 kB / 443.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.3453, allocations: 56 kB / 443.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01713/0.3625, allocations: 9.822 MB / 453 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004038/0.3629, allocations: 223.5 kB / 453.2 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006501/0.3636, allocations: 310.8 kB / 453.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.3764, allocations: 5.474 MB / 459 MB, free: 11.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3765, allocations: 0 / 459 MB, free: 11.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3765, allocations: 0 / 459 MB, free: 11.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.246e-05/0.3765, allocations: 0 / 459 MB, free: 11.39 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003407/0.3799, allocations: 1.349 MB / 460.4 MB, free: 9.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.38, allocations: 15.97 kB / 460.4 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001514/0.3802, allocations: 86.52 kB / 460.5 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004308/0.3806, allocations: 59.42 kB / 460.5 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006017/0.3812, allocations: 373.8 kB / 460.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.3813, allocations: 33 kB / 460.9 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.662e-05/0.3814, allocations: 44 kB / 460.9 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.3827, allocations: 0.5842 MB / 461.5 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.3828, allocations: 7.906 kB / 461.5 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.698e-05/0.3828, allocations: 20 kB / 461.6 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3828, allocations: 8 kB / 461.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.3842, allocations: 0.7456 MB / 462.3 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01651/0.4007, allocations: 11.96 MB / 474.3 MB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.4022, allocations: 0.5274 MB / 474.8 MB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/0.4026, allocations: 258 kB / 475.1 MB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01455/0.4171, allocations: 11.89 MB / 486.9 MB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.4172, allocations: 45.75 kB / 487 MB, free: 10.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.044e-06/0.4172, allocations: 0 / 487 MB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.005976/0.4232, allocations: 2.124 MB / 489.1 MB, free: 8.676 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.4233, allocations: 55.97 kB / 489.2 MB, free: 8.609 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.4237, allocations: 319 kB / 489.5 MB, free: 8.285 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.481e-05/0.4237, allocations: 37.7 kB / 489.5 MB, free: 8.242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.4239, allocations: 204.3 kB / 489.7 MB, free: 8.039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.424, allocations: 189.2 kB / 489.9 MB, free: 7.852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.4242, allocations: 118.2 kB / 490 MB, free: 7.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.4244, allocations: 346.8 kB / 490.4 MB, free: 7.383 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.4247, allocations: 237 kB / 490.6 MB, free: 7.148 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006168/0.4254, allocations: 339.3 kB / 490.9 MB, free: 6.789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.4265, allocations: 0.5995 MB / 491.5 MB, free: 6.156 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4265, allocations: 0 / 491.5 MB, free: 6.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001807/0.4283, allocations: 0.7517 MB / 492.3 MB, free: 5.387 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.4284, allocations: 16.22 kB / 492.3 MB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.4284, allocations: 4 kB / 492.3 MB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004994/0.4289, allocations: 98.52 kB / 492.4 MB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.4294, allocations: 127.8 kB / 492.5 MB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/0.4318, allocations: 3.472 MB / 496 MB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.4322, allocations: 15.98 kB / 496 MB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-05/0.4323, allocations: 32 kB / 496 MB, free: 1.312 MB / 414.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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0002872/0.4326, allocations: 193.6 kB / 496.2 MB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.4329, allocations: 47.52 kB / 496.3 MB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.4345, allocations: 0.8229 MB / 497.1 MB, free: 216 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4345, allocations: 4 kB / 497.1 MB, free: 212 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4345, allocations: 0 / 497.1 MB, free: 212 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/0.4356, allocations: 0.7597 MB / 497.9 MB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.4377, allocations: 1.305 MB / 499.2 MB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4378, allocations: 4 kB / 499.2 MB, free: 14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004557/0.4382, allocations: 103.9 kB / 499.3 MB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009266/0.4392, allocations: 148.5 kB / 499.4 MB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.4392, allocations: 16 kB / 499.4 MB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003955/0.4396, allocations: 0.6444 MB / 0.4884 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4397, allocations: 0 / 0.4884 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.4414, allocations: 0.9132 MB / 0.4892 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.4415, allocations: 116.7 kB / 0.4894 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.539e-05/0.4416, allocations: 12 kB / 0.4894 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/0.4421, allocations: 19.98 kB / 0.4894 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.4421, allocations: 36.39 kB / 0.4894 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.839e-05/0.4422, allocations: 23.98 kB / 0.4894 GB, free: 11.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002731/0.4425, allocations: 261.9 kB / 0.4897 GB, free: 11.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4425, allocations: 4 kB / 0.4897 GB, free: 11.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003521/0.446, allocations: 1.304 MB / 0.491 GB, free: 10.34 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007609/0.4536, allocations: 3.05 MB / 0.4939 GB, free: 7.258 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.4553, allocations: 0.8079 MB / 0.4947 GB, free: 6.418 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4553, allocations: 0 / 0.4947 GB, free: 6.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000554/0.4559, allocations: 291.2 kB / 0.495 GB, free: 6.133 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.4573, allocations: 274 kB / 0.4953 GB, free: 5.867 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009064/0.4664, allocations: 5.288 MB / 0.5004 GB, free: 412 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.4669, allocations: 0.8326 MB / 0.5013 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005614/0.4674, allocations: 144.3 kB / 0.5014 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.4677, allocations: 159.4 kB / 0.5015 GB, free: 15.24 MB / 446.1 MB Notification: Performance of SimCode: time 2.064e-06/0.4677, allocations: 0 / 0.5015 GB, free: 15.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2524/0.7202, allocations: 52.03 MB / 0.5524 GB, free: 158.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.03, allocations: 10.38 kB / 0.5524 GB, free: 158.2 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches