Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.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.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 67.88 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2679, allocations: 50.53 MB / 408.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0298/0.2978, allocations: 26.65 MB / 435.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.3005, allocations: 2.239 MB / 437.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.3006, allocations: 0 / 437.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.3009, allocations: 63.64 kB / 437.7 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004072/0.3014, allocations: 171 kB / 437.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01545/0.3168, allocations: 6.52 MB / 444.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004792/0.3173, allocations: 334.7 kB / 444.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.833e-05/0.3174, allocations: 13.56 kB / 444.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.3176, allocations: 143.5 kB / 444.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.3178, allocations: 123.6 kB / 445 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.3179, allocations: 12 kB / 445 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01677/0.3347, allocations: 9.53 MB / 454.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.3348, allocations: 67.78 kB / 454.6 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.335, allocations: 107.6 kB / 454.7 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009828/0.3448, allocations: 4.722 MB / 459.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3449, allocations: 0 / 459.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3449, allocations: 3.938 kB / 459.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.3449, allocations: 4 kB / 459.4 MB, free: 14.74 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00295/0.3479, allocations: 1.146 MB / 460.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.3479, allocations: 8.031 kB / 460.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.83e-05/0.348, allocations: 50.73 kB / 460.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.3481, allocations: 23.94 kB / 460.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.3484, allocations: 226.7 kB / 460.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3484, allocations: 8.328 kB / 460.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.3485, allocations: 20 kB / 460.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006849/0.3492, allocations: 289.4 kB / 461.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3492, allocations: 0 / 461.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.3492, allocations: 4 kB / 461.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.3493, allocations: 11.94 kB / 461.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007304/0.35, allocations: 315.7 kB / 461.5 MB, free: 12.54 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.3514, allocations: 0.8321 MB / 462.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000682/0.3521, allocations: 257.1 kB / 462.6 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.3525, allocations: 129.6 kB / 462.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0159/0.3684, allocations: 12.85 MB / 475.6 MB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/0.3685, allocations: 42.5 kB / 475.6 MB, free: 11.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.675e-06/0.3685, allocations: 0 / 475.6 MB, free: 11.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002925/0.3714, allocations: 0.7025 MB / 476.3 MB, free: 11.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.3715, allocations: 81.11 kB / 476.4 MB, free: 11.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.3716, allocations: 144.1 kB / 476.5 MB, free: 10.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/0.3717, allocations: 33.7 kB / 476.6 MB, free: 10.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.627e-05/0.3718, allocations: 116.7 kB / 476.7 MB, free: 10.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.3719, allocations: 122.2 kB / 476.8 MB, free: 10.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.372, allocations: 69.64 kB / 476.9 MB, free: 10.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3721, allocations: 338.8 kB / 477.2 MB, free: 10.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/0.3725, allocations: 131.9 kB / 477.3 MB, free: 10.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.373, allocations: 215.6 kB / 477.5 MB, free: 9.801 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009259/0.374, allocations: 359.2 kB / 477.9 MB, free: 9.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.374, allocations: 4 kB / 477.9 MB, free: 9.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001135/0.3751, allocations: 421.2 kB / 478.3 MB, free: 9.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3751, allocations: 8 kB / 478.3 MB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3752, allocations: 0 / 478.3 MB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.3752, allocations: 7.938 kB / 478.3 MB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/0.3757, allocations: 83.88 kB / 478.4 MB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.3757, allocations: 11.92 kB / 478.4 MB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.376, allocations: 31.83 kB / 478.4 MB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.3761, allocations: 15.98 kB / 478.5 MB, free: 8.848 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001789/0.3762, allocations: 145.8 kB / 478.6 MB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.3764, allocations: 23.75 kB / 478.6 MB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.3769, allocations: 198.7 kB / 478.8 MB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.3769, allocations: 4 kB / 478.8 MB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.3769, allocations: 4 kB / 478.8 MB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.3769, allocations: 3.984 kB / 478.8 MB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.3787, allocations: 0.7829 MB / 479.6 MB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3787, allocations: 4 kB / 479.6 MB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.3791, allocations: 80.03 kB / 479.7 MB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.3792, allocations: 4 kB / 479.7 MB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.3792, allocations: 12 kB / 479.7 MB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.3792, allocations: 11.92 kB / 479.7 MB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3792, allocations: 0 / 479.7 MB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.3807, allocations: 0.7179 MB / 480.4 MB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.3809, allocations: 124.8 kB / 480.6 MB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.3809, allocations: 8 kB / 480.6 MB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.3813, allocations: 19.98 kB / 480.6 MB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.3814, allocations: 27.89 kB / 480.6 MB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.3814, allocations: 16.06 kB / 480.6 MB, free: 6.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.493e-05/0.3815, allocations: 117.5 kB / 480.8 MB, free: 6.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3815, allocations: 3.938 kB / 480.8 MB, free: 6.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002815/0.3843, allocations: 0.9487 MB / 481.7 MB, free: 5.469 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006405/0.3907, allocations: 2.412 MB / 484.1 MB, free: 3.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.3918, allocations: 353.1 kB / 484.5 MB, free: 2.676 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3918, allocations: 4 kB / 484.5 MB, free: 2.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.3923, allocations: 175.8 kB / 484.6 MB, free: 2.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007353/0.393, allocations: 104.1 kB / 484.7 MB, free: 2.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006821/0.3999, allocations: 3.226 MB / 488 MB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.4002, allocations: 0.7491 MB / 488.7 MB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003337/0.4006, allocations: 86.33 kB / 488.8 MB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.4008, allocations: 79.38 kB / 488.9 MB, free: 14.08 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4008, allocations: 0 / 488.9 MB, free: 14.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06766/0.4684, allocations: 33.18 MB / 0.5098 GB, free: 12.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.892/9.36, allocations: 14.55 kB / 0.5098 GB, free: 12.97 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches