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.001211/0.00121, 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.001245/0.001245, 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.251/1.251, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59 kB / 306.3 MB, free: 0.9883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08133/0.08256, allocations: 50.53 MB / 356.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1666/0.2492, allocations: 28.44 MB / 385.3 MB, free: 6.969 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.2515, allocations: 2.359 MB / 387.7 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.2517, allocations: 0 / 387.7 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.252, allocations: 57.31 kB / 387.7 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.2524, allocations: 163.4 kB / 387.9 MB, free: 5.227 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01238/0.2648, allocations: 5.398 MB / 393.3 MB, free: 2.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.2652, allocations: 494.6 kB / 393.8 MB, free: 2.254 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.2653, allocations: 18 kB / 393.8 MB, free: 2.242 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.2655, allocations: 129.3 kB / 393.9 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.2657, allocations: 129.2 kB / 394 MB, free: 2.117 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.2658, allocations: 8.156 kB / 394.1 MB, free: 2.117 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01413/0.2799, allocations: 9.601 MB / 403.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.28, allocations: 63.12 kB / 403.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.2802, allocations: 98.47 kB / 403.8 MB, free: 13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00856/0.2887, allocations: 4.807 MB / 408.6 MB, free: 8.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2887, allocations: 4 kB / 408.6 MB, free: 8.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2888, allocations: 0 / 408.6 MB, free: 8.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.2888, allocations: 0 / 408.6 MB, free: 8.301 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.002855/0.2916, allocations: 1.151 MB / 409.8 MB, free: 7.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2917, allocations: 11.97 kB / 409.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.571e-05/0.2917, allocations: 50.73 kB / 409.8 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.2919, allocations: 28.5 kB / 409.9 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.2921, allocations: 214.7 kB / 410.1 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2921, allocations: 20.27 kB / 410.1 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.2922, allocations: 16 kB / 410.1 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/0.2928, allocations: 285.4 kB / 410.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2929, allocations: 0 / 410.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.2929, allocations: 8 kB / 410.4 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.2929, allocations: 8 kB / 410.4 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007133/0.2936, allocations: 320.7 kB / 410.7 MB, free: 6.105 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.001306/0.295, allocations: 0.8288 MB / 411.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006427/0.2956, allocations: 253.1 kB / 411.8 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.2959, allocations: 137.6 kB / 411.9 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01378/0.3097, allocations: 12.85 MB / 424.8 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3097, allocations: 38.98 kB / 424.8 MB, free: 5.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.3097, allocations: 0 / 424.8 MB, free: 5.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002536/0.3123, allocations: 0.7057 MB / 425.5 MB, free: 4.676 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.3123, allocations: 88.98 kB / 425.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3124, allocations: 145.6 kB / 425.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3125, allocations: 33.7 kB / 425.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.3125, allocations: 116.8 kB / 425.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.612e-05/0.3126, allocations: 126.2 kB / 426 MB, free: 4.137 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.3128, allocations: 73.64 kB / 426.1 MB, free: 4.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.3129, allocations: 330.8 kB / 426.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.3132, allocations: 135.8 kB / 426.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/0.3137, allocations: 207.6 kB / 426.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008273/0.3145, allocations: 367.2 kB / 427.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3145, allocations: 0 / 427.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001043/0.3155, allocations: 424.6 kB / 427.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3156, allocations: 4 kB / 427.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3156, allocations: 4 kB / 427.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3156, allocations: 4 kB / 427.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.316, allocations: 91.81 kB / 427.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.3161, allocations: 7.938 kB / 427.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.3164, allocations: 36.03 kB / 427.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.3164, allocations: 20 kB / 427.7 MB, free: 2.398 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.0001254/0.3165, allocations: 141.8 kB / 427.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.3167, allocations: 19.81 kB / 427.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004492/0.3171, allocations: 194.6 kB / 428 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3172, allocations: 7.938 kB / 428 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3172, allocations: 0 / 428 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3172, allocations: 3.984 kB / 428 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.3187, allocations: 0.7715 MB / 428.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.3187, allocations: 3.938 kB / 428.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.3191, allocations: 83.81 kB / 428.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3192, allocations: 4 kB / 428.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.3192, allocations: 8 kB / 428.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3192, allocations: 4 kB / 428.9 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3192, allocations: 7 kB / 428.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.3206, allocations: 0.7142 MB / 429.6 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.3207, allocations: 136.8 kB / 429.8 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.3208, allocations: 8 kB / 429.8 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.3211, allocations: 24.05 kB / 429.8 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.3212, allocations: 27.91 kB / 429.8 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.3212, allocations: 15.98 kB / 429.8 MB, free: 96 kB / 334.1 MB Notification: Performance of sorting global known variables: time 8.547e-05/0.3213, allocations: 110.3 kB / 430 MB, free: 15.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3213, allocations: 0 / 430 MB, free: 15.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002529/0.3238, allocations: 0.9526 MB / 430.9 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.005913/0.3298, allocations: 2.4 MB / 433.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008917/0.3307, allocations: 355.9 kB / 433.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3307, allocations: 3.938 kB / 433.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004259/0.3311, allocations: 180.5 kB / 433.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006742/0.3318, allocations: 107.8 kB / 433.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005389/0.3372, allocations: 3.289 MB / 437.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.3375, allocations: 0.7413 MB / 438 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004002/0.3379, allocations: 86.38 kB / 438.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.3381, allocations: 75.39 kB / 438.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3381, allocations: 4 kB / 438.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7071/1.045, allocations: 32.72 MB / 470.9 MB, free: 6.965 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/1.046, allocations: 238.2 kB / 471.1 MB, free: 6.707 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.465/4.51, allocations: 0 / 471.1 MB, free: 6.707 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