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.0008028/0.0008028, allocations: 92.97 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009508/0.0009508, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.183/1.183, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001856/0.0001856, allocations: 4 kB / 307.8 MB, free: 0.7383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07625/0.07645, allocations: 51.53 MB / 359.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1659/0.2424, allocations: 27.69 MB / 387 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.2447, allocations: 2.318 MB / 389.4 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.814e-05/0.2448, allocations: 1.031 kB / 389.4 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.2451, allocations: 56.89 kB / 389.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.2454, allocations: 163.8 kB / 389.6 MB, free: 5.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01241/0.2578, allocations: 5.384 MB / 395 MB, free: 2.688 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004677/0.2583, allocations: 499.8 kB / 395.5 MB, free: 2.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.2584, allocations: 13.34 kB / 395.5 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.2586, allocations: 124.4 kB / 395.6 MB, free: 2.367 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.2588, allocations: 138.3 kB / 395.7 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.2588, allocations: 7.406 kB / 395.7 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01395/0.2728, allocations: 9.597 MB / 405.3 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.2729, allocations: 67.7 kB / 405.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.2731, allocations: 127.9 kB / 405.5 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008076/0.2811, allocations: 4.783 MB / 410.3 MB, free: 8.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2812, allocations: 3.984 kB / 410.3 MB, free: 8.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2812, allocations: 0 / 410.3 MB, free: 8.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.2812, allocations: 0 / 410.3 MB, free: 8.305 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003064/0.2842, allocations: 1.1 MB / 411.4 MB, free: 7.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.2843, allocations: 12.03 kB / 411.4 MB, free: 7.141 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.014e-05/0.2844, allocations: 54.67 kB / 411.5 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.2845, allocations: 28.5 kB / 411.5 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.2847, allocations: 218.6 kB / 411.7 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.2848, allocations: 16.33 kB / 411.7 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.2848, allocations: 20 kB / 411.8 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000644/0.2855, allocations: 281.4 kB / 412 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.2855, allocations: 3.984 kB / 412 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.2855, allocations: 8 kB / 412 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.2856, allocations: 8 kB / 412 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007289/0.2863, allocations: 320.7 kB / 412.4 MB, free: 6.145 MB / 318.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.001357/0.2877, allocations: 0.8328 MB / 413.2 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.2883, allocations: 245.1 kB / 413.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.2886, allocations: 145.4 kB / 413.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01398/0.3026, allocations: 12.9 MB / 426.5 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.3027, allocations: 46.5 kB / 426.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 3.957e-06/0.3027, allocations: 0 / 426.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.00255/0.3053, allocations: 0.693 MB / 427.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.3053, allocations: 89.05 kB / 427.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3054, allocations: 152.2 kB / 427.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.3055, allocations: 33.7 kB / 427.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.3055, allocations: 112.8 kB / 427.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.449e-05/0.3056, allocations: 122.2 kB / 427.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.3057, allocations: 33.7 kB / 427.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.3058, allocations: 334.8 kB / 428.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.3062, allocations: 139.9 kB / 428.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/0.3066, allocations: 207.6 kB / 428.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008769/0.3075, allocations: 367 kB / 428.8 MB, free: 3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3075, allocations: 0 / 428.8 MB, free: 3 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001081/0.3086, allocations: 425 kB / 429.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3086, allocations: 4 kB / 429.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3086, allocations: 7.938 kB / 429.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3087, allocations: 4 kB / 429.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.3091, allocations: 96.08 kB / 429.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.3091, allocations: 11.88 kB / 429.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.3094, allocations: 24.86 kB / 429.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.3094, allocations: 19.98 kB / 429.4 MB, free: 2.414 MB / 334.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.0001253/0.3096, allocations: 133.8 kB / 429.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.3097, allocations: 31.7 kB / 429.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.3101, allocations: 190.7 kB / 429.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.3102, allocations: 11.94 kB / 429.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3102, allocations: 4 kB / 429.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3102, allocations: 0 / 429.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.3118, allocations: 0.7714 MB / 430.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.3118, allocations: 4.75 kB / 430.5 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.3122, allocations: 79.88 kB / 430.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3122, allocations: 4.156 kB / 430.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.3122, allocations: 19.92 kB / 430.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.3122, allocations: 4.875 kB / 430.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3122, allocations: 0 / 430.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.3136, allocations: 0.7141 MB / 431.3 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.3138, allocations: 124.8 kB / 431.4 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.3138, allocations: 12 kB / 431.4 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.3142, allocations: 19.97 kB / 431.5 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.3142, allocations: 35.75 kB / 431.5 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.3142, allocations: 16 kB / 431.5 MB, free: 108 kB / 334.1 MB Notification: Performance of sorting global known variables: time 8.181e-05/0.3143, allocations: 117.5 kB / 431.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3143, allocations: 0 / 431.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002158/0.3165, allocations: 0.9487 MB / 432.6 MB, free: 15.04 MB / 350.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.005159/0.3217, allocations: 2.397 MB / 435 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008745/0.3225, allocations: 355.9 kB / 435.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3226, allocations: 448 / 435.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.323, allocations: 183.8 kB / 435.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007001/0.3237, allocations: 100.2 kB / 435.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/0.329, allocations: 3.349 MB / 438.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.3293, allocations: 0.7529 MB / 439.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003704/0.3297, allocations: 82.39 kB / 439.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.3299, allocations: 79.39 kB / 439.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3299, allocations: 0 / 439.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04699/0.3768, allocations: 32.6 MB / 472.5 MB, free: 7.066 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.377, allocations: 234.8 kB / 472.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.797/3.174, allocations: 0 / 472.7 MB, free: 6.809 MB / 382.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