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.001168/0.001168, allocations: 97.98 kB / 17.58 MB, free: 5.418 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.001195/0.001195, allocations: 192 kB / 18.51 MB, free: 4.508 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.167/1.167, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001596/0.001596, allocations: 55.92 kB / 280.7 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07488/0.0765, allocations: 46.63 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0476/0.1241, allocations: 50.69 MB / 378.1 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1417/0.2658, allocations: 5.18 MB / 383.3 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.266, allocations: 7.188 kB / 383.3 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000701/0.2668, allocations: 248.7 kB / 383.5 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005509/0.2673, allocations: 360.6 kB / 383.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01346/0.2808, allocations: 6.758 MB / 390.6 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.2819, allocations: 1.09 MB / 391.7 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.2821, allocations: 144.2 kB / 391.8 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005493/0.2876, allocations: 3.59 MB / 395.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.288, allocations: 402.7 kB / 395.8 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.078e-05/0.2881, allocations: 62.41 kB / 395.9 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01442/0.3025, allocations: 9.656 MB / 405.5 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.3028, allocations: 220.5 kB / 405.8 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003988/0.3032, allocations: 305.7 kB / 406.1 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007332/0.3105, allocations: 5.481 MB / 411.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3106, allocations: 0 / 411.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3106, allocations: 0 / 411.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3106, allocations: 4 kB / 411.5 MB, free: 4.496 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.002115/0.3127, allocations: 1.352 MB / 412.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.3127, allocations: 8.031 kB / 412.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.382e-05/0.3128, allocations: 85.14 kB / 413 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/0.3131, allocations: 63.53 kB / 413 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.3134, allocations: 355.4 kB / 413.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.3135, allocations: 33 kB / 413.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.3135, allocations: 45.69 kB / 413.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009788/0.3145, allocations: 0.5843 MB / 414.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.3145, allocations: 3.562 kB / 414.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.3146, allocations: 20 kB / 414.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3146, allocations: 8 kB / 414.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.3156, allocations: 0.7462 MB / 414.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/0.3298, allocations: 11.98 MB / 426.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.3309, allocations: 0.5272 MB / 427.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.3313, allocations: 257 kB / 427.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01309/0.3444, allocations: 11.89 MB / 439.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.3444, allocations: 43 kB / 439.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.625e-06/0.3444, allocations: 3.938 kB / 439.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.005135/0.3496, allocations: 2.129 MB / 441.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.3496, allocations: 55.97 kB / 441.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.3499, allocations: 318.8 kB / 442 MB, free: 1.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.35, allocations: 37.7 kB / 442.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.3501, allocations: 202.5 kB / 442.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.3502, allocations: 185.5 kB / 442.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.3504, allocations: 118.1 kB / 442.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3505, allocations: 350.8 kB / 442.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.3508, allocations: 237 kB / 443.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/0.3514, allocations: 342.5 kB / 443.5 MB, free: 368 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.3525, allocations: 0.601 MB / 444.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3525, allocations: 0 / 444.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001589/0.3541, allocations: 0.7546 MB / 444.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.3541, allocations: 11.94 kB / 444.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3541, allocations: 288 / 444.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004261/0.3545, allocations: 109.6 kB / 444.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.355, allocations: 121.8 kB / 445.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.3572, allocations: 3.476 MB / 448.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.3574, allocations: 16 kB / 448.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.3575, allocations: 32 kB / 448.6 MB, free: 10.94 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.0002166/0.3577, allocations: 196.1 kB / 448.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.358, allocations: 39.72 kB / 448.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.3594, allocations: 0.8221 MB / 449.6 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3594, allocations: 4 kB / 449.6 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3594, allocations: 0 / 449.6 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009995/0.3604, allocations: 0.7666 MB / 450.4 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.3622, allocations: 1.296 MB / 451.7 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3622, allocations: 0 / 451.7 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.3627, allocations: 102 kB / 451.8 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008435/0.3635, allocations: 156.5 kB / 452 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.3636, allocations: 16 kB / 452 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003529/0.3639, allocations: 0.6407 MB / 452.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3639, allocations: 7.359 kB / 452.6 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.3654, allocations: 0.9104 MB / 453.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.168e-05/0.3655, allocations: 112.8 kB / 453.6 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.3656, allocations: 12 kB / 453.7 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.366, allocations: 19.98 kB / 453.7 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.366, allocations: 40.23 kB / 453.7 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/0.3661, allocations: 27.97 kB / 453.7 MB, free: 5.586 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002486/0.3663, allocations: 253.9 kB / 454 MB, free: 5.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3664, allocations: 0 / 454 MB, free: 5.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003259/0.3696, allocations: 1.304 MB / 455.3 MB, free: 4.035 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.006702/0.3763, allocations: 3.055 MB / 458.3 MB, free: 1.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.3778, allocations: 0.852 MB / 459.2 MB, free: 224 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3778, allocations: 0 / 459.2 MB, free: 224 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005142/0.3783, allocations: 288.7 kB / 459.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.3796, allocations: 278.2 kB / 459.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007701/0.3873, allocations: 5.347 MB / 465.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.3877, allocations: 0.8403 MB / 465.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004938/0.3882, allocations: 148.2 kB / 466.1 MB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.3885, allocations: 155.4 kB / 466.2 MB, free: 9.035 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3885, allocations: 0 / 466.2 MB, free: 9.035 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.328/5.717, allocations: 51.7 MB / 0.5058 GB, free: 5.234 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/20.9, allocations: 7.641 kB / 0.5058 GB, free: 5.227 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","/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