Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_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.0008086/0.0008087, allocations: 93.22 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.0009411/0.0009411, allocations: 203.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.191/1.191, allocations: 227.7 MB / 246.8 MB, free: 11.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001913/0.0001913, allocations: 8 kB / 307.8 MB, free: 0.7344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07762/0.07783, allocations: 51.53 MB / 359.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2797/0.3576, allocations: 150.4 MB / 0.4978 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3593, allocations: 1.595 MB / 0.4993 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.807e-05/0.3594, allocations: 3.938 kB / 0.4993 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.3597, allocations: 55.77 kB / 0.4994 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.3601, allocations: 163.9 kB / 0.4995 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.3624, allocations: 0.8976 MB / 0.5004 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004685/0.3629, allocations: 0.4982 MB / 0.5009 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.3629, allocations: 9.562 kB / 0.5009 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.3632, allocations: 151.4 kB / 0.5011 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.3634, allocations: 137.9 kB / 0.5012 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.3634, allocations: 12 kB / 0.5012 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.3659, allocations: 1.688 MB / 0.5029 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.201e-05/0.366, allocations: 67.83 kB / 0.5029 GB, free: 15.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.3661, allocations: 125.3 kB / 0.503 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.3676, allocations: 1.068 MB / 0.5041 GB, free: 14.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3676, allocations: 4 kB / 0.5041 GB, free: 14.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3676, allocations: 0 / 0.5041 GB, free: 14.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3677, allocations: 4 kB / 0.5041 GB, free: 14.48 MB / 430.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.001498/0.3692, allocations: 0.6551 MB / 0.5047 GB, free: 13.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3692, allocations: 12.03 kB / 0.5047 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.973e-05/0.3693, allocations: 50.73 kB / 0.5048 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.3694, allocations: 25.53 kB / 0.5048 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.3696, allocations: 223.2 kB / 0.505 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3696, allocations: 12.33 kB / 0.505 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.3697, allocations: 16 kB / 0.5051 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.3702, allocations: 265.4 kB / 0.5053 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3702, allocations: 0 / 0.5053 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.3702, allocations: 8 kB / 0.5053 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.3703, allocations: 4 kB / 0.5053 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005947/0.3709, allocations: 271.7 kB / 0.5056 GB, free: 12.85 MB / 430.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.001237/0.3721, allocations: 0.7937 MB / 0.5064 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.3727, allocations: 224.3 kB / 0.5066 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.373, allocations: 133.6 kB / 0.5067 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.3733, allocations: 364.3 kB / 0.507 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.3733, allocations: 34.56 kB / 0.5071 GB, free: 11.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.272e-06/0.3733, allocations: 0 / 0.5071 GB, free: 11.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002301/0.3756, allocations: 0.6872 MB / 0.5077 GB, free: 10.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.3757, allocations: 89.11 kB / 0.5078 GB, free: 10.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.3758, allocations: 137.8 kB / 0.508 GB, free: 10.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.3758, allocations: 33.7 kB / 0.508 GB, free: 10.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.3759, allocations: 108.8 kB / 0.5081 GB, free: 10.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.576e-05/0.376, allocations: 130.1 kB / 0.5082 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/0.376, allocations: 29.7 kB / 0.5083 GB, free: 9.879 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.896e-05/0.3761, allocations: 330.8 kB / 0.5086 GB, free: 9.547 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.3765, allocations: 139.9 kB / 0.5087 GB, free: 9.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/0.3769, allocations: 199.6 kB / 0.5089 GB, free: 9.188 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007523/0.3776, allocations: 363 kB / 0.5092 GB, free: 8.809 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3776, allocations: 0 / 0.5092 GB, free: 8.809 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009065/0.3786, allocations: 420.2 kB / 0.5096 GB, free: 8.395 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3786, allocations: 6.5 kB / 0.5096 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3786, allocations: 4 kB / 0.5096 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3786, allocations: 4 kB / 0.5097 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.3791, allocations: 96.03 kB / 0.5097 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.3791, allocations: 0 / 0.5097 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.3794, allocations: 39.75 kB / 0.5098 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.3794, allocations: 12 kB / 0.5098 GB, free: 8.238 MB / 430.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.0001255/0.3796, allocations: 142.9 kB / 0.5099 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.3796, allocations: 19.81 kB / 0.5099 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.38, allocations: 178.7 kB / 0.5101 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.38, allocations: 4 kB / 0.5101 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.38, allocations: 4 kB / 0.5101 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.38, allocations: 7.922 kB / 0.5101 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.3816, allocations: 0.7712 MB / 0.5109 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.3816, allocations: 4 kB / 0.5109 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004004/0.382, allocations: 75.83 kB / 0.511 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.382, allocations: 8.141 kB / 0.511 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.382, allocations: 16 kB / 0.511 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.3821, allocations: 4 kB / 0.511 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3821, allocations: 0 / 0.511 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.3833, allocations: 0.7182 MB / 0.5117 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.3835, allocations: 116.9 kB / 0.5118 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.3835, allocations: 11 kB / 0.5118 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.3839, allocations: 19.98 kB / 0.5118 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.3839, allocations: 23.97 kB / 0.5119 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.384, allocations: 15.92 kB / 0.5119 GB, free: 5.965 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.564e-05/0.384, allocations: 114.1 kB / 0.512 GB, free: 5.855 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.384, allocations: 0 / 0.512 GB, free: 5.855 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005282/0.3846, allocations: 155.9 kB / 0.5121 GB, free: 5.703 MB / 430.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 (38): * Single equations (assignments): 38 * 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.001838/0.3864, allocations: 1.392 MB / 0.5135 GB, free: 4.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008143/0.3872, allocations: 344 kB / 0.5138 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3872, allocations: 0 / 0.5138 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003867/0.3876, allocations: 180.5 kB / 0.514 GB, free: 3.758 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007121/0.3884, allocations: 110.6 kB / 0.5141 GB, free: 3.652 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.3926, allocations: 3.029 MB / 0.517 GB, free: 480 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.3928, allocations: 0.7374 MB / 0.5178 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003555/0.3932, allocations: 82.38 kB / 0.5178 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.3934, allocations: 71.41 kB / 0.5179 GB, free: 15.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3934, allocations: 0 / 0.5179 GB, free: 15.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.4124, allocations: 8.107 MB / 0.5258 GB, free: 7.582 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.4126, allocations: 182.3 kB / 0.526 GB, free: 7.328 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.26, allocations: 3.938 kB / 0.526 GB, free: 7.324 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches