Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_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.001226/0.001226, allocations: 106.2 kB / 16.92 MB, free: 6.145 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.001191/0.001191, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009588/0.0009589, allocations: 43.16 kB / 300.7 MB, free: 5.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08386/0.08483, allocations: 49.44 MB / 350.1 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2037/0.2886, allocations: 65.59 MB / 415.7 MB, free: 464 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006162/0.2948, allocations: 5.448 MB / 421.2 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002971/0.2951, allocations: 13.69 kB / 421.2 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009095/0.296, allocations: 358.2 kB / 421.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007864/0.2968, allocations: 0.5016 MB / 422 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01645/0.3133, allocations: 7.421 MB / 429.5 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.3149, allocations: 1.547 MB / 431 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002962/0.3152, allocations: 224.7 kB / 431.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006725/0.3159, allocations: 0.619 MB / 431.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006192/0.3165, allocations: 0.5645 MB / 432.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.3166, allocations: 84 kB / 432.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01569/0.3323, allocations: 10.03 MB / 442.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003863/0.3327, allocations: 319.3 kB / 442.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005528/0.3333, allocations: 442.3 kB / 443.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01109/0.3444, allocations: 5.933 MB / 449.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3444, allocations: 4 kB / 449.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3444, allocations: 4 kB / 449.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.3445, allocations: 0 / 449.2 MB, free: 0.8633 MB / 350.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.003035/0.3475, allocations: 1.561 MB / 450.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3475, allocations: 8.031 kB / 450.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.3477, allocations: 106.5 kB / 450.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003948/0.3481, allocations: 83.23 kB / 451 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.3486, allocations: 440.8 kB / 451.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.3487, allocations: 45.31 kB / 451.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.122e-05/0.3488, allocations: 67.94 kB / 451.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.3503, allocations: 0.8068 MB / 452.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.3504, allocations: 3.906 kB / 452.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.99e-05/0.3504, allocations: 32 kB / 452.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.3505, allocations: 16 kB / 452.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.3522, allocations: 1.028 MB / 453.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01629/0.3685, allocations: 12.79 MB / 466.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.3702, allocations: 0.7412 MB / 466.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005444/0.3707, allocations: 404.2 kB / 467.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01387/0.3846, allocations: 12.24 MB / 479.6 MB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.3847, allocations: 43.22 kB / 479.6 MB, free: 13.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 3.267e-06/0.3847, allocations: 0 / 479.6 MB, free: 13.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.009039/0.3937, allocations: 3.392 MB / 483 MB, free: 10.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.3938, allocations: 60.41 kB / 483.1 MB, free: 10.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.3942, allocations: 352.5 kB / 483.4 MB, free: 9.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.093e-05/0.3943, allocations: 49.7 kB / 483.5 MB, free: 9.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.3944, allocations: 240.6 kB / 483.7 MB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.3946, allocations: 307.6 kB / 484 MB, free: 9.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.3949, allocations: 162.5 kB / 484.1 MB, free: 9.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.395, allocations: 358.8 kB / 484.5 MB, free: 8.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005572/0.3955, allocations: 369.8 kB / 484.9 MB, free: 8.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000862/0.3964, allocations: 0.4884 MB / 485.3 MB, free: 7.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.398, allocations: 0.8943 MB / 486.2 MB, free: 6.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.398, allocations: 4 kB / 486.2 MB, free: 6.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002371/0.4004, allocations: 1.117 MB / 487.4 MB, free: 5.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4004, allocations: 7.938 kB / 487.4 MB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.4005, allocations: 4 kB / 487.4 MB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007598/0.4012, allocations: 175.5 kB / 487.5 MB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/0.4019, allocations: 179.8 kB / 487.7 MB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/0.4046, allocations: 4.124 MB / 491.8 MB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.4049, allocations: 16 kB / 491.9 MB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/0.405, allocations: 43.98 kB / 491.9 MB, free: 0.9609 MB / 398.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.0002936/0.4053, allocations: 233.8 kB / 492.1 MB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.4057, allocations: 63.34 kB / 492.2 MB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.4079, allocations: 1.284 MB / 493.5 MB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.408, allocations: 11.98 kB / 493.5 MB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.408, allocations: 0 / 493.5 MB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001736/0.4097, allocations: 1.312 MB / 494.8 MB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.4126, allocations: 1.979 MB / 496.8 MB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4126, allocations: 0 / 496.8 MB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/0.4133, allocations: 163.8 kB / 496.9 MB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.415, allocations: 305.2 kB / 497.2 MB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/0.4151, allocations: 31.98 kB / 497.3 MB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000722/0.4158, allocations: 1.293 MB / 498.6 MB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4158, allocations: 4.031 kB / 498.6 MB, free: 10 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.4182, allocations: 1.405 MB / 500 MB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.4183, allocations: 124.5 kB / 0.4884 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.509e-05/0.4184, allocations: 23.98 kB / 0.4884 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004909/0.4189, allocations: 36.08 kB / 0.4884 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/0.419, allocations: 52.86 kB / 0.4885 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.718e-05/0.4191, allocations: 43.97 kB / 0.4885 GB, free: 8.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002921/0.4194, allocations: 283 kB / 0.4888 GB, free: 8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4194, allocations: 0 / 0.4888 GB, free: 8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003238/0.4226, allocations: 1.398 MB / 0.4902 GB, free: 6.602 MB / 414.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.007283/0.4299, allocations: 3.596 MB / 0.4937 GB, free: 2.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002448/0.4324, allocations: 1.265 MB / 0.4949 GB, free: 1.672 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4324, allocations: 0 / 0.4949 GB, free: 1.672 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008499/0.4333, allocations: 499.9 kB / 0.4954 GB, free: 1.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.4351, allocations: 386.2 kB / 0.4958 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.4457, allocations: 7.171 MB / 0.5028 GB, free: 9.469 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.4462, allocations: 0.9089 MB / 0.5036 GB, free: 8.535 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007701/0.447, allocations: 217.1 kB / 0.5038 GB, free: 8.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.4473, allocations: 223.4 kB / 0.5041 GB, free: 8.102 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4473, allocations: 0 / 0.5041 GB, free: 8.102 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2477/0.6951, allocations: 56.64 MB / 0.5594 GB, free: 135.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.29, allocations: 3.25 kB / 0.5594 GB, free: 135.4 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches