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.00112/0.00112, allocations: 117.4 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 61.38 kB / 306.6 MB, free: 0.8477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0803/0.08153, allocations: 50.54 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1773/0.2588, allocations: 26.78 MB / 383.9 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.2612, allocations: 2.249 MB / 386.1 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.2613, allocations: 1 kB / 386.1 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.2617, allocations: 59.62 kB / 386.2 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.2621, allocations: 158.7 kB / 386.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01584/0.2779, allocations: 5.883 MB / 392.2 MB, free: 3.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00043/0.2784, allocations: 338.2 kB / 392.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.044e-05/0.2784, allocations: 9.281 kB / 392.6 MB, free: 3.051 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.2787, allocations: 143.5 kB / 392.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.2789, allocations: 133.6 kB / 392.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.2789, allocations: 15.75 kB / 392.8 MB, free: 2.906 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01428/0.2932, allocations: 9.473 MB / 402.3 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.2933, allocations: 66.47 kB / 402.4 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.2935, allocations: 107.1 kB / 402.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009144/0.3026, allocations: 4.817 MB / 407.3 MB, free: 9.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3027, allocations: 4 kB / 407.3 MB, free: 9.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3027, allocations: 0 / 407.3 MB, free: 9.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.3027, allocations: 0 / 407.3 MB, free: 9.621 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.003922/0.3066, allocations: 1.139 MB / 408.4 MB, free: 8.434 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.3067, allocations: 11.97 kB / 408.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.405e-05/0.3068, allocations: 59.55 kB / 408.5 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.307, allocations: 28.48 kB / 408.5 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.3073, allocations: 221.4 kB / 408.8 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.3073, allocations: 8.328 kB / 408.8 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.3073, allocations: 20 kB / 408.8 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007032/0.308, allocations: 293.4 kB / 409.1 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3081, allocations: 3.906 kB / 409.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.3081, allocations: 12 kB / 409.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.3081, allocations: 4 kB / 409.1 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007525/0.3089, allocations: 320.7 kB / 409.4 MB, free: 7.418 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.001538/0.3104, allocations: 0.8276 MB / 410.2 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/0.3111, allocations: 257.1 kB / 410.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.3114, allocations: 133.6 kB / 410.6 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01446/0.3259, allocations: 12.85 MB / 423.5 MB, free: 6.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.3259, allocations: 42.5 kB / 423.5 MB, free: 6.699 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.764e-06/0.3259, allocations: 0 / 423.5 MB, free: 6.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002684/0.3286, allocations: 0.6927 MB / 424.2 MB, free: 6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.3287, allocations: 92.98 kB / 424.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3288, allocations: 145.5 kB / 424.4 MB, free: 5.738 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.3289, allocations: 33.7 kB / 424.5 MB, free: 5.699 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.3289, allocations: 116.8 kB / 424.6 MB, free: 5.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.179e-05/0.329, allocations: 126.2 kB / 424.7 MB, free: 5.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.3291, allocations: 73.64 kB / 424.8 MB, free: 5.379 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.3292, allocations: 334.8 kB / 425.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/0.3296, allocations: 127.9 kB / 425.2 MB, free: 4.918 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/0.3301, allocations: 211.6 kB / 425.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008616/0.331, allocations: 361.7 kB / 425.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.331, allocations: 0 / 425.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001101/0.3321, allocations: 431.5 kB / 426.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3321, allocations: 4 kB / 426.2 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3321, allocations: 4 kB / 426.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3321, allocations: 4 kB / 426.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/0.3326, allocations: 91.86 kB / 426.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.3326, allocations: 11.88 kB / 426.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.3329, allocations: 28.14 kB / 426.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.333, allocations: 23.98 kB / 426.4 MB, free: 3.719 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.0001282/0.3331, allocations: 133.8 kB / 426.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.3333, allocations: 27.8 kB / 426.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.3337, allocations: 197.1 kB / 426.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3337, allocations: 7.938 kB / 426.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3337, allocations: 0 / 426.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3338, allocations: 0 / 426.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.3354, allocations: 0.7792 MB / 427.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3354, allocations: 3.938 kB / 427.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.3358, allocations: 83.81 kB / 427.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3359, allocations: 7.938 kB / 427.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.3359, allocations: 11.98 kB / 427.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.3359, allocations: 4 kB / 427.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3359, allocations: 4 kB / 427.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.3373, allocations: 0.7209 MB / 428.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.3375, allocations: 116.9 kB / 428.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.3375, allocations: 12 kB / 428.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.3379, allocations: 28.03 kB / 428.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.338, allocations: 27.91 kB / 428.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.338, allocations: 12 kB / 428.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.744e-05/0.3381, allocations: 109.5 kB / 428.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3381, allocations: 0 / 428.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00226/0.3403, allocations: 0.9564 MB / 429.6 MB, free: 364 kB / 334.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.005489/0.3458, allocations: 2.4 MB / 432 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009278/0.3468, allocations: 375.8 kB / 432.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3468, allocations: 3.938 kB / 432.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004339/0.3472, allocations: 180.5 kB / 432.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006826/0.3479, allocations: 105.7 kB / 432.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/0.3532, allocations: 3.283 MB / 435.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.3535, allocations: 0.7452 MB / 436.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004106/0.3539, allocations: 82.39 kB / 436.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.3541, allocations: 79.38 kB / 436.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of SimCode: time 2.215e-06/0.3541, allocations: 4 kB / 436.8 MB, free: 8.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.145/1.499, allocations: 32.98 MB / 469.8 MB, free: 8.035 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/1.499, allocations: 235.7 kB / 470 MB, free: 7.777 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.087/4.587, allocations: 0 / 470 MB, free: 7.777 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