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.001268/0.001268, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 60.05 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2385, allocations: 50.55 MB / 408.8 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02912/0.2677, allocations: 26.64 MB / 435.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.2704, allocations: 2.239 MB / 437.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.2705, allocations: 4 kB / 437.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.2709, allocations: 63.58 kB / 437.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003573/0.2712, allocations: 171 kB / 437.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01416/0.2854, allocations: 6.513 MB / 444.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004507/0.2859, allocations: 334.7 kB / 444.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.2859, allocations: 9.562 kB / 444.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.2861, allocations: 143.5 kB / 444.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.2864, allocations: 131.5 kB / 445 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.2864, allocations: 16 kB / 445 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01436/0.3008, allocations: 9.522 MB / 454.5 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3009, allocations: 79.77 kB / 454.6 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.301, allocations: 99.58 kB / 454.7 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007814/0.3089, allocations: 4.725 MB / 459.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3089, allocations: 0 / 459.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3089, allocations: 0 / 459.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.3089, allocations: 0 / 459.4 MB, free: 14.88 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.002649/0.3116, allocations: 1.146 MB / 460.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3116, allocations: 8.031 kB / 460.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.871e-05/0.3117, allocations: 50.73 kB / 460.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.3118, allocations: 27.92 kB / 460.7 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.3121, allocations: 218.8 kB / 460.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3121, allocations: 16.33 kB / 460.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.3122, allocations: 19.98 kB / 460.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.3129, allocations: 285.4 kB / 461.2 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3129, allocations: 0 / 461.2 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.3129, allocations: 8 kB / 461.2 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.313, allocations: 7.938 kB / 461.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007711/0.3137, allocations: 315.7 kB / 461.5 MB, free: 12.68 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.001398/0.3151, allocations: 0.8398 MB / 462.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.3158, allocations: 249.2 kB / 462.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.3161, allocations: 137.6 kB / 462.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01477/0.3309, allocations: 12.85 MB / 475.6 MB, free: 12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.007e-05/0.331, allocations: 38.56 kB / 475.6 MB, free: 11.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.224e-06/0.331, allocations: 0 / 475.6 MB, free: 11.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002754/0.3338, allocations: 0.7101 MB / 476.3 MB, free: 11.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.3338, allocations: 81.11 kB / 476.4 MB, free: 11.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.334, allocations: 152.1 kB / 476.5 MB, free: 10.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.334, allocations: 33.7 kB / 476.6 MB, free: 10.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.3341, allocations: 108.8 kB / 476.7 MB, free: 10.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.161e-05/0.3342, allocations: 122.2 kB / 476.8 MB, free: 10.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.3343, allocations: 77.56 kB / 476.9 MB, free: 10.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3344, allocations: 330.8 kB / 477.2 MB, free: 10.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.3348, allocations: 135.9 kB / 477.3 MB, free: 10.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.3353, allocations: 207.6 kB / 477.5 MB, free: 9.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008971/0.3362, allocations: 359.5 kB / 477.9 MB, free: 9.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3362, allocations: 7.938 kB / 477.9 MB, free: 9.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001113/0.3373, allocations: 413.1 kB / 478.3 MB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3373, allocations: 8 kB / 478.3 MB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3373, allocations: 3.984 kB / 478.3 MB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3374, allocations: 7.938 kB / 478.3 MB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/0.3378, allocations: 100 kB / 478.4 MB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3379, allocations: 4 kB / 478.4 MB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.3381, allocations: 23.83 kB / 478.4 MB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/0.3382, allocations: 23.98 kB / 478.5 MB, free: 8.977 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.0001343/0.3383, allocations: 145.7 kB / 478.6 MB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.3385, allocations: 19.81 kB / 478.6 MB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004524/0.3389, allocations: 194.6 kB / 478.8 MB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3389, allocations: 4 kB / 478.8 MB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3389, allocations: 0 / 478.8 MB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.339, allocations: 0 / 478.8 MB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.3407, allocations: 0.7907 MB / 479.6 MB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.3407, allocations: 0 / 479.6 MB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.3411, allocations: 79.88 kB / 479.7 MB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.3411, allocations: 4 kB / 479.7 MB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.3412, allocations: 11.98 kB / 479.7 MB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3412, allocations: 4 kB / 479.7 MB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3412, allocations: 11.94 kB / 479.7 MB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.3427, allocations: 0.7181 MB / 480.4 MB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.3428, allocations: 124.8 kB / 480.6 MB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.3429, allocations: 8 kB / 480.6 MB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.3432, allocations: 28.03 kB / 480.6 MB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.3433, allocations: 27.91 kB / 480.6 MB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.3433, allocations: 15.98 kB / 480.6 MB, free: 6.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.3434, allocations: 109.5 kB / 480.7 MB, free: 6.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.843e-06/0.3434, allocations: 0 / 480.7 MB, free: 6.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002595/0.346, allocations: 0.9564 MB / 481.7 MB, free: 5.602 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.005774/0.3518, allocations: 2.397 MB / 484.1 MB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.3528, allocations: 360.6 kB / 484.5 MB, free: 2.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3529, allocations: 0 / 484.5 MB, free: 2.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004611/0.3533, allocations: 184.5 kB / 484.6 MB, free: 2.637 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/0.3541, allocations: 103.8 kB / 484.7 MB, free: 2.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005685/0.3598, allocations: 3.227 MB / 488 MB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.3601, allocations: 0.7374 MB / 488.7 MB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003354/0.3604, allocations: 86.31 kB / 488.8 MB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.3606, allocations: 87.39 kB / 488.9 MB, free: 14.21 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3606, allocations: 0 / 488.9 MB, free: 14.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2344/0.5951, allocations: 33.19 MB / 0.5098 GB, free: 13.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.169/9.764, allocations: 10.89 kB / 0.5098 GB, free: 13.11 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