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.001101/0.001101, allocations: 103.9 kB / 17.15 MB, free: 6.309 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.0009877/0.0009877, allocations: 198 kB / 18.07 MB, free: 5.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.331/1.331, allocations: 205.1 MB / 223.9 MB, free: 12.38 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.001067/0.001067, allocations: 48.16 kB / 280.1 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08202/0.08309, allocations: 46.63 MB / 326.7 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.04983/0.133, allocations: 52.37 MB / 379.1 MB, free: 244 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1655/0.2985, allocations: 5.27 MB / 384.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.2988, allocations: 5.688 kB / 384.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006668/0.2995, allocations: 216.3 kB / 384.5 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000553/0.3, allocations: 358.5 kB / 384.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01382/0.3139, allocations: 5.597 MB / 390.5 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001846/0.3157, allocations: 1.609 MB / 392.1 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.316, allocations: 117 kB / 392.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006939/0.3229, allocations: 3.658 MB / 395.9 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004929/0.3234, allocations: 410.8 kB / 396.3 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.401e-05/0.3235, allocations: 29.72 kB / 396.3 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01568/0.3392, allocations: 9.963 MB / 406.3 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.3396, allocations: 193.9 kB / 406.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004969/0.3401, allocations: 279.4 kB / 406.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.3518, allocations: 5.564 MB / 412.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3518, allocations: 0 / 412.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3518, allocations: 2.469 kB / 412.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.3518, allocations: 0 / 412.3 MB, free: 5.289 MB / 318.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.002919/0.3548, allocations: 1.359 MB / 413.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3548, allocations: 8.031 kB / 413.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.053e-05/0.3549, allocations: 84.33 kB / 413.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/0.3552, allocations: 59.2 kB / 413.8 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.3555, allocations: 364.2 kB / 414.2 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.3556, allocations: 36.09 kB / 414.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.3556, allocations: 45.69 kB / 414.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.3567, allocations: 0.5843 MB / 414.8 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.3567, allocations: 0 / 414.8 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.3568, allocations: 16 kB / 414.8 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.3568, allocations: 12 kB / 414.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.3578, allocations: 0.7462 MB / 415.6 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01531/0.3732, allocations: 11.97 MB / 427.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.3744, allocations: 0.5293 MB / 428.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.3748, allocations: 250.1 kB / 428.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01418/0.389, allocations: 11.89 MB / 440.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.3891, allocations: 47 kB / 440.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.555e-06/0.3891, allocations: 0 / 440.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.005628/0.3948, allocations: 2.114 MB / 442.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.3948, allocations: 59.95 kB / 442.5 MB, free: 3.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.3951, allocations: 318.8 kB / 442.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.3952, allocations: 37.7 kB / 442.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.3954, allocations: 202.8 kB / 443 MB, free: 2.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.3955, allocations: 189 kB / 443.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.3957, allocations: 118.1 kB / 443.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3959, allocations: 354.7 kB / 443.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/0.3963, allocations: 239.4 kB / 443.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/0.3969, allocations: 335.4 kB / 444.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.398, allocations: 0.6104 MB / 444.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.398, allocations: 0 / 444.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001763/0.3998, allocations: 0.7502 MB / 445.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3998, allocations: 7.938 kB / 445.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3998, allocations: 4.281 kB / 445.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00048/0.4003, allocations: 106.5 kB / 445.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.4008, allocations: 129.8 kB / 445.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.4033, allocations: 3.27 MB / 449.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.4037, allocations: 40.06 kB / 449.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.4038, allocations: 31.98 kB / 449.2 MB, free: 12 MB / 366.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.0002619/0.4041, allocations: 190.6 kB / 449.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.4044, allocations: 47.53 kB / 449.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.4058, allocations: 0.8169 MB / 450.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4059, allocations: 8 kB / 450.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.4059, allocations: 0 / 450.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/0.407, allocations: 0.7614 MB / 451 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.409, allocations: 1.297 MB / 452.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.409, allocations: 0 / 452.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.4094, allocations: 101.8 kB / 452.4 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009207/0.4104, allocations: 148.7 kB / 452.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/0.4104, allocations: 19.98 kB / 452.5 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004226/0.4109, allocations: 0.6513 MB / 453.2 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4109, allocations: 7.969 kB / 453.2 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.4125, allocations: 0.8996 MB / 454.1 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.4127, allocations: 108.8 kB / 454.2 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.4127, allocations: 15.94 kB / 454.2 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.4132, allocations: 39.97 kB / 454.3 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.4132, allocations: 32.39 kB / 454.3 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.976e-05/0.4133, allocations: 27.98 kB / 454.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000276/0.4136, allocations: 257.9 kB / 454.6 MB, free: 6.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4136, allocations: 4 kB / 454.6 MB, free: 6.391 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003962/0.4176, allocations: 1.308 MB / 455.9 MB, free: 5.082 MB / 366.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.007422/0.425, allocations: 3.046 MB / 458.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.4264, allocations: 0.7947 MB / 459.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.4264, allocations: 0 / 459.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005412/0.427, allocations: 293.8 kB / 460 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.4283, allocations: 265.6 kB / 460.3 MB, free: 0.793 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008716/0.437, allocations: 5.5 MB / 465.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.4375, allocations: 0.8326 MB / 466.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005642/0.4381, allocations: 152.3 kB / 466.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.4383, allocations: 155.4 kB / 466.9 MB, free: 10 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4384, allocations: 0 / 466.9 MB, free: 10 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07561/0.514, allocations: 51.04 MB / 0.5058 GB, free: 6.902 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.5142, allocations: 265.2 kB / 0.5061 GB, free: 6.547 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.41/3.924, allocations: 0 / 0.5061 GB, free: 6.547 MB / 430.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","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches