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.001128/0.001128, allocations: 106.5 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.00121/0.00121, allocations: 187 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.357/1.357, 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.001335/0.001335, allocations: 43.94 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08591/0.08726, allocations: 46.63 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2275/0.3148, allocations: 50.69 MB / 425.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006134/0.321, allocations: 5.199 MB / 430.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.3213, allocations: 5.469 kB / 430.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007556/0.3221, allocations: 248.4 kB / 430.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006448/0.3227, allocations: 363.9 kB / 431.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01819/0.3409, allocations: 6.751 MB / 437.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.3424, allocations: 1.092 MB / 439 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.3426, allocations: 158.4 kB / 439.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006325/0.349, allocations: 3.593 MB / 442.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005741/0.3496, allocations: 394.7 kB / 443.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.556e-05/0.3497, allocations: 60 kB / 443.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01828/0.368, allocations: 9.815 MB / 453 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003784/0.3684, allocations: 223.5 kB / 453.2 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005165/0.3689, allocations: 306.9 kB / 453.5 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01455/0.3835, allocations: 5.485 MB / 459 MB, free: 11.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3835, allocations: 0 / 459 MB, free: 11.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3836, allocations: 0 / 459 MB, free: 11.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3836, allocations: 0 / 459 MB, free: 11.45 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.003117/0.3867, allocations: 1.345 MB / 460.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3867, allocations: 12.03 kB / 460.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.959e-05/0.3868, allocations: 82.52 kB / 460.4 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003274/0.3872, allocations: 67.42 kB / 460.5 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.3877, allocations: 369.8 kB / 460.9 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.3877, allocations: 33 kB / 460.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/0.3878, allocations: 44 kB / 460.9 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.389, allocations: 0.5882 MB / 461.5 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.3891, allocations: 3.906 kB / 461.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.142e-05/0.3891, allocations: 20.62 kB / 461.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.3891, allocations: 8 kB / 461.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.3904, allocations: 0.7495 MB / 462.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01522/0.4056, allocations: 11.96 MB / 474.3 MB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.407, allocations: 0.5289 MB / 474.8 MB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/0.4074, allocations: 254 kB / 475.1 MB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01464/0.4221, allocations: 11.89 MB / 486.9 MB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.023e-05/0.4222, allocations: 49.25 kB / 487 MB, free: 10.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 3.417e-06/0.4222, allocations: 0 / 487 MB, free: 10.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.006348/0.4285, allocations: 2.119 MB / 489.1 MB, free: 8.758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.4286, allocations: 55.97 kB / 489.2 MB, free: 8.691 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/0.429, allocations: 311 kB / 489.5 MB, free: 8.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-05/0.4291, allocations: 41.7 kB / 489.5 MB, free: 8.328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.4292, allocations: 212.2 kB / 489.7 MB, free: 8.117 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.4294, allocations: 193.2 kB / 489.9 MB, free: 7.926 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.4296, allocations: 110.2 kB / 490 MB, free: 7.812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4298, allocations: 346.8 kB / 490.4 MB, free: 7.465 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.4302, allocations: 240.9 kB / 490.6 MB, free: 7.227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/0.4308, allocations: 343.3 kB / 490.9 MB, free: 6.863 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.432, allocations: 0.5995 MB / 491.5 MB, free: 6.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.432, allocations: 0 / 491.5 MB, free: 6.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001737/0.4337, allocations: 0.7518 MB / 492.3 MB, free: 5.461 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.4338, allocations: 11.94 kB / 492.3 MB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.4338, allocations: 0 / 492.3 MB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004629/0.4342, allocations: 110.5 kB / 492.4 MB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.4347, allocations: 128 kB / 492.5 MB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.4373, allocations: 3.464 MB / 496 MB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.4376, allocations: 16.98 kB / 496 MB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/0.4377, allocations: 28 kB / 496 MB, free: 1.395 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.0002721/0.438, allocations: 201.7 kB / 496.2 MB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.4383, allocations: 47.53 kB / 496.3 MB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.4398, allocations: 0.8151 MB / 497.1 MB, free: 300 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4398, allocations: 7.938 kB / 497.1 MB, free: 292 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.4398, allocations: 0 / 497.1 MB, free: 292 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001081/0.4409, allocations: 0.7558 MB / 497.8 MB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.4429, allocations: 1.309 MB / 499.2 MB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4429, allocations: 0.875 kB / 499.2 MB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.4434, allocations: 99.88 kB / 499.3 MB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008744/0.4442, allocations: 152.6 kB / 499.4 MB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/0.4443, allocations: 19.98 kB / 499.4 MB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000381/0.4447, allocations: 0.6484 MB / 0.4884 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4447, allocations: 0 / 0.4884 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.4463, allocations: 0.9133 MB / 0.4892 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.4464, allocations: 116.7 kB / 0.4894 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.4465, allocations: 8 kB / 0.4894 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.4469, allocations: 19.98 kB / 0.4894 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.447, allocations: 36.39 kB / 0.4894 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.335e-05/0.447, allocations: 35.92 kB / 0.4895 GB, free: 11.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000264/0.4473, allocations: 261.9 kB / 0.4897 GB, free: 11.72 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4473, allocations: 3.938 kB / 0.4897 GB, free: 11.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003514/0.4508, allocations: 1.304 MB / 0.491 GB, free: 10.41 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.007536/0.4584, allocations: 3.05 MB / 0.494 GB, free: 7.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.4598, allocations: 0.7959 MB / 0.4947 GB, free: 6.496 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4599, allocations: 7.938 kB / 0.4947 GB, free: 6.488 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005181/0.4604, allocations: 291.8 kB / 0.495 GB, free: 6.203 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.4618, allocations: 273.3 kB / 0.4953 GB, free: 5.938 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008507/0.4703, allocations: 5.28 MB / 0.5004 GB, free: 492 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.4707, allocations: 0.8365 MB / 0.5013 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004943/0.4712, allocations: 148.2 kB / 0.5014 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.4715, allocations: 155.4 kB / 0.5015 GB, free: 15.32 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4715, allocations: 4 kB / 0.5015 GB, free: 15.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2656/0.7371, allocations: 52.03 MB / 0.5524 GB, free: 158.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/14.96, allocations: 13.91 kB / 0.5524 GB, free: 158.5 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