Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008476/0.0008476, allocations: 95.14 kB / 17.3 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009481/0.000948, allocations: 176.6 kB / 18.21 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.206/1.206, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.0004189, allocations: 16 kB / 281.5 MB, free: 3.32 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07699/0.07742, allocations: 47.58 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03032/0.1078, allocations: 27.67 MB / 356.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.1105, allocations: 2.31 MB / 359 MB, free: 5.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.082e-05/0.1106, allocations: 0 / 359 MB, free: 5.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.1109, allocations: 55.72 kB / 359.1 MB, free: 5.535 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.1112, allocations: 155.2 kB / 359.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01443/0.1257, allocations: 5.034 MB / 364.3 MB, free: 340 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005429/0.1262, allocations: 470.4 kB / 364.7 MB, free: 15.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.585e-05/0.1263, allocations: 12.91 kB / 364.7 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.1266, allocations: 119.6 kB / 364.9 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.1268, allocations: 123.5 kB / 365 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.1269, allocations: 8 kB / 365 MB, free: 15.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01542/0.1423, allocations: 9.483 MB / 374.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.1425, allocations: 63.84 kB / 374.5 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.1426, allocations: 113.3 kB / 374.6 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009186/0.1518, allocations: 4.744 MB / 379.4 MB, free: 1.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1518, allocations: 0 / 379.4 MB, free: 1.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1518, allocations: 0 / 379.4 MB, free: 1.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1519, allocations: 0 / 379.4 MB, free: 1.18 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.003144/0.155, allocations: 1.065 MB / 380.5 MB, free: 64 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1551, allocations: 8.031 kB / 380.5 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1319/0.2869, allocations: 53.77 kB / 380.5 MB, free: 52.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.2871, allocations: 24.97 kB / 380.5 MB, free: 52.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.2873, allocations: 218 kB / 380.7 MB, free: 52.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.2874, allocations: 10.95 kB / 380.8 MB, free: 52.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/0.2874, allocations: 16 kB / 380.8 MB, free: 52.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007653/0.2882, allocations: 290.6 kB / 381.1 MB, free: 51.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2882, allocations: 0 / 381.1 MB, free: 51.97 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.2883, allocations: 11.56 kB / 381.1 MB, free: 51.97 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.2883, allocations: 7.094 kB / 381.1 MB, free: 51.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007444/0.289, allocations: 310.2 kB / 381.4 MB, free: 51.97 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.001218/0.2903, allocations: 0.8198 MB / 382.2 MB, free: 51.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/0.2909, allocations: 250.5 kB / 382.4 MB, free: 51.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.2912, allocations: 134.2 kB / 382.6 MB, free: 51.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01257/0.3038, allocations: 12.91 MB / 395.5 MB, free: 38.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.3038, allocations: 42.14 kB / 395.5 MB, free: 38.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.844e-06/0.3038, allocations: 0 / 395.5 MB, free: 38.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002736/0.3066, allocations: 0.6932 MB / 396.2 MB, free: 38.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.3066, allocations: 88.66 kB / 396.3 MB, free: 38.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.912e-05/0.3067, allocations: 127.7 kB / 396.4 MB, free: 38.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.3068, allocations: 32.95 kB / 396.5 MB, free: 38.31 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.3068, allocations: 104.5 kB / 396.6 MB, free: 38.21 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/0.3069, allocations: 132.2 kB / 396.7 MB, free: 38.13 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.307, allocations: 36.08 kB / 396.7 MB, free: 38.11 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.788e-05/0.307, allocations: 330.4 kB / 397.1 MB, free: 37.79 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003704/0.3074, allocations: 137.6 kB / 397.2 MB, free: 37.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/0.3078, allocations: 205.3 kB / 397.4 MB, free: 37.63 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008528/0.3087, allocations: 357.2 kB / 397.7 MB, free: 37.45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3087, allocations: 1.062 kB / 397.7 MB, free: 37.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001072/0.3098, allocations: 425.4 kB / 398.2 MB, free: 37.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3098, allocations: 6.219 kB / 398.2 MB, free: 37.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3098, allocations: 4.75 kB / 398.2 MB, free: 37.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.3099, allocations: 4.797 kB / 398.2 MB, free: 37.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/0.3103, allocations: 96.92 kB / 398.3 MB, free: 37.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3103, allocations: 5.109 kB / 398.3 MB, free: 37.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.3106, allocations: 22.92 kB / 398.3 MB, free: 37.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.3107, allocations: 18.34 kB / 398.3 MB, free: 37.26 MB / 318.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.0001111/0.3108, allocations: 142.8 kB / 398.4 MB, free: 37.13 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.3109, allocations: 22.91 kB / 398.5 MB, free: 37.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004423/0.3114, allocations: 189.5 kB / 398.7 MB, free: 37.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3114, allocations: 4.188 kB / 398.7 MB, free: 37.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3114, allocations: 1.188 kB / 398.7 MB, free: 37.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3114, allocations: 4.094 kB / 398.7 MB, free: 37.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.3129, allocations: 0.76 MB / 399.4 MB, free: 36.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3129, allocations: 1.5 kB / 399.4 MB, free: 36.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/0.3133, allocations: 79.94 kB / 399.5 MB, free: 36.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3134, allocations: 4.125 kB / 399.5 MB, free: 36.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.3134, allocations: 10.28 kB / 399.5 MB, free: 36.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.3134, allocations: 10.55 kB / 399.5 MB, free: 36.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.3134, allocations: 8.562 kB / 399.5 MB, free: 36.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.3147, allocations: 0.7063 MB / 400.2 MB, free: 36.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/0.3148, allocations: 122.2 kB / 400.4 MB, free: 35.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.3149, allocations: 7.875 kB / 400.4 MB, free: 35.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.3152, allocations: 28.69 kB / 400.4 MB, free: 35.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.3153, allocations: 28.02 kB / 400.4 MB, free: 35.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.3153, allocations: 19.02 kB / 400.4 MB, free: 35.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.431e-05/0.3154, allocations: 98.75 kB / 400.5 MB, free: 35.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3154, allocations: 0 / 400.5 MB, free: 35.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002338/0.3177, allocations: 0.9241 MB / 401.5 MB, free: 35.79 MB / 318.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.005122/0.3228, allocations: 2.415 MB / 403.9 MB, free: 34.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008791/0.3237, allocations: 342.2 kB / 404.2 MB, free: 34.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3237, allocations: 0 / 404.2 MB, free: 34.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.3242, allocations: 178.9 kB / 404.4 MB, free: 34.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.3249, allocations: 107.8 kB / 404.5 MB, free: 34.56 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/0.3293, allocations: 3.237 MB / 407.7 MB, free: 32.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.3295, allocations: 0.7359 MB / 408.5 MB, free: 31.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003753/0.3299, allocations: 84.8 kB / 408.5 MB, free: 31.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.33, allocations: 70.58 kB / 408.6 MB, free: 31.3 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.33, allocations: 0 / 408.6 MB, free: 31.3 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1463/0.4764, allocations: 33.47 MB / 442.1 MB, free: 416 kB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/0.4765, allocations: 236.8 kB / 442.3 MB, free: 152 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/3.381, allocations: 7.938 kB / 442.3 MB, free: 144 kB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches