Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001074, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.178/1.178, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 61.16 kB / 306.4 MB, free: 0.9805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07685/0.07816, allocations: 50.52 MB / 356.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1795/0.2577, allocations: 52.32 MB / 409.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005629/0.2633, allocations: 5.28 MB / 414.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.2637, allocations: 6.312 kB / 414.5 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006908/0.2644, allocations: 225.7 kB / 414.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006609/0.2651, allocations: 356 kB / 415.1 MB, free: 348 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01547/0.2806, allocations: 5.96 MB / 421 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.282, allocations: 1.606 MB / 422.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.2822, allocations: 122.5 kB / 422.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006372/0.2886, allocations: 3.659 MB / 426.4 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005634/0.2891, allocations: 414.5 kB / 426.8 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.223e-05/0.2892, allocations: 32 kB / 426.8 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01436/0.3036, allocations: 10.07 MB / 436.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.3039, allocations: 199.5 kB / 437.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000359/0.3042, allocations: 278.9 kB / 437.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009052/0.3133, allocations: 5.609 MB / 443 MB, free: 5.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3133, allocations: 0 / 443 MB, free: 5.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.3133, allocations: 0 / 443 MB, free: 5.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.3133, allocations: 0 / 443 MB, free: 5.824 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002889/0.3162, allocations: 1.362 MB / 444.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3163, allocations: 8.031 kB / 444.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.772e-05/0.3164, allocations: 82.53 kB / 444.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/0.3167, allocations: 63.42 kB / 444.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.3172, allocations: 365.9 kB / 444.8 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.3172, allocations: 33 kB / 444.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/0.3173, allocations: 40 kB / 444.9 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.3184, allocations: 0.5882 MB / 445.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3185, allocations: 0 / 445.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/0.3185, allocations: 24 kB / 445.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.3185, allocations: 8 kB / 445.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.3197, allocations: 0.7417 MB / 446.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.3341, allocations: 11.96 MB / 458.2 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.3352, allocations: 0.5314 MB / 458.8 MB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.3356, allocations: 265.4 kB / 459 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01253/0.3481, allocations: 11.9 MB / 470.9 MB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3482, allocations: 39 kB / 471 MB, free: 5.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.244e-06/0.3482, allocations: 0 / 471 MB, free: 5.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005138/0.3533, allocations: 2.119 MB / 473.1 MB, free: 3.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.3534, allocations: 55.97 kB / 473.1 MB, free: 3.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.3537, allocations: 330.9 kB / 473.5 MB, free: 2.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.3537, allocations: 33.7 kB / 473.5 MB, free: 2.684 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3539, allocations: 200.3 kB / 473.7 MB, free: 2.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.354, allocations: 189.3 kB / 473.9 MB, free: 2.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.3541, allocations: 114.1 kB / 474 MB, free: 2.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.3543, allocations: 346.8 kB / 474.3 MB, free: 1.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.3546, allocations: 245 kB / 474.6 MB, free: 1.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/0.3552, allocations: 339.3 kB / 474.9 MB, free: 1.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.3562, allocations: 0.5956 MB / 475.5 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3562, allocations: 3.984 kB / 475.5 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001636/0.3579, allocations: 0.7518 MB / 476.3 MB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3579, allocations: 11.94 kB / 476.3 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.3579, allocations: 7.938 kB / 476.3 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000427/0.3583, allocations: 110.8 kB / 476.4 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.3588, allocations: 123.8 kB / 476.5 MB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.3608, allocations: 3.271 MB / 479.8 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.3611, allocations: 31.92 kB / 479.8 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.3612, allocations: 40.08 kB / 479.8 MB, free: 11.93 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 (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.0002118/0.3614, allocations: 194.7 kB / 480 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.3617, allocations: 47.47 kB / 480.1 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.3631, allocations: 0.8228 MB / 480.9 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3631, allocations: 4 kB / 480.9 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.3631, allocations: 0 / 480.9 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009888/0.3641, allocations: 0.7635 MB / 481.7 MB, free: 10 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.3659, allocations: 1.298 MB / 483 MB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.366, allocations: 0 / 483 MB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.3664, allocations: 103.8 kB / 483.1 MB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008149/0.3672, allocations: 148.7 kB / 483.2 MB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.3673, allocations: 15.98 kB / 483.2 MB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003527/0.3676, allocations: 0.6523 MB / 483.9 MB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3676, allocations: 0 / 483.9 MB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.3691, allocations: 0.9005 MB / 484.8 MB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.3692, allocations: 116.7 kB / 484.9 MB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.936e-05/0.3693, allocations: 15.98 kB / 484.9 MB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.3697, allocations: 39.86 kB / 485 MB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.3698, allocations: 32.39 kB / 485 MB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.617e-05/0.3698, allocations: 31.97 kB / 485 MB, free: 6.516 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002397/0.3701, allocations: 249.9 kB / 485.3 MB, free: 6.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3701, allocations: 4 kB / 485.3 MB, free: 6.266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003114/0.3732, allocations: 1.323 MB / 486.6 MB, free: 4.941 MB / 398.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.007427/0.3806, allocations: 3.051 MB / 489.6 MB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.3822, allocations: 0.7962 MB / 490.4 MB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3822, allocations: 4.188 kB / 490.4 MB, free: 1.027 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000559/0.3828, allocations: 291.2 kB / 490.7 MB, free: 0.7383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.3842, allocations: 264.9 kB / 491 MB, free: 492 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008245/0.3924, allocations: 5.504 MB / 496.5 MB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.3928, allocations: 0.8404 MB / 497.3 MB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005222/0.3933, allocations: 148.3 kB / 497.5 MB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.3936, allocations: 155.4 kB / 497.6 MB, free: 9.637 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3936, allocations: 0 / 497.6 MB, free: 9.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.986/4.379, allocations: 49.83 MB / 0.5346 GB, free: 151.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/4.38, allocations: 264.4 kB / 0.5349 GB, free: 150.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.488/8.868, allocations: 0 / 0.5349 GB, free: 150.9 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches