Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009572/0.0009571, allocations: 197.8 kB / 17.38 MB, free: 4.426 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.197/1.197, allocations: 226.5 MB / 244.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007265/0.0007267, allocations: 91.8 kB / 296.7 MB, free: 6.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002097/0.0002097, allocations: 8 kB / 356.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.183, allocations: 51.29 MB / 408.1 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.289/0.472, allocations: 137.5 MB / 0.5328 GB, free: 13.44 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.4734, allocations: 1.474 MB / 0.5342 GB, free: 13.34 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.4735, allocations: 1.094 kB / 0.5342 GB, free: 13.34 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.4737, allocations: 56.16 kB / 0.5343 GB, free: 13.32 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.4741, allocations: 148 kB / 0.5344 GB, free: 13.29 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.4762, allocations: 0.8694 MB / 0.5353 GB, free: 13.14 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.4765, allocations: 398.8 kB / 0.5356 GB, free: 13.08 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.4766, allocations: 14.58 kB / 0.5357 GB, free: 13.08 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.4768, allocations: 134.7 kB / 0.5358 GB, free: 13.05 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.477, allocations: 128.8 kB / 0.5359 GB, free: 13.04 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.477, allocations: 8.25 kB / 0.5359 GB, free: 13.04 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.4791, allocations: 1.659 MB / 0.5375 GB, free: 12.94 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.633e-05/0.4792, allocations: 74.77 kB / 0.5376 GB, free: 12.93 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.4794, allocations: 109.4 kB / 0.5377 GB, free: 12.88 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008252/0.4802, allocations: 0.7 MB / 0.5384 GB, free: 12.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4802, allocations: 0 / 0.5384 GB, free: 12.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4802, allocations: 0 / 0.5384 GB, free: 12.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.4802, allocations: 0 / 0.5384 GB, free: 12.83 MB / 394.7 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.001428/0.4816, allocations: 0.6444 MB / 0.539 GB, free: 12.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.4817, allocations: 9.156 kB / 0.539 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.4817, allocations: 54.17 kB / 0.5391 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.4819, allocations: 19.62 kB / 0.5391 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.4821, allocations: 227.1 kB / 0.5393 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.4821, allocations: 11.61 kB / 0.5393 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.4821, allocations: 16.75 kB / 0.5394 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.4826, allocations: 256 kB / 0.5396 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4827, allocations: 3.938 kB / 0.5396 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.4827, allocations: 5.344 kB / 0.5396 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.4827, allocations: 9.906 kB / 0.5396 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005557/0.4833, allocations: 262.2 kB / 0.5399 GB, free: 11.87 MB / 394.7 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.001247/0.4845, allocations: 0.7863 MB / 0.5406 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.4851, allocations: 221.5 kB / 0.5408 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.4854, allocations: 138.7 kB / 0.541 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/0.4857, allocations: 356.8 kB / 0.5413 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.4857, allocations: 36.91 kB / 0.5414 GB, free: 10.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.542e-06/0.4857, allocations: 0 / 0.5414 GB, free: 10.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002172/0.4879, allocations: 0.6764 MB / 0.542 GB, free: 10.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.4879, allocations: 80.02 kB / 0.5421 GB, free: 10.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.981e-05/0.488, allocations: 121.6 kB / 0.5422 GB, free: 10.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.4881, allocations: 31.89 kB / 0.5422 GB, free: 10.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.4881, allocations: 109 kB / 0.5423 GB, free: 10.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.747e-05/0.4882, allocations: 121.4 kB / 0.5425 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.4882, allocations: 13.09 kB / 0.5425 GB, free: 10.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.4883, allocations: 323.6 kB / 0.5428 GB, free: 9.785 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.4887, allocations: 136 kB / 0.5429 GB, free: 9.758 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.489, allocations: 211 kB / 0.5431 GB, free: 9.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000708/0.4897, allocations: 360.1 kB / 0.5435 GB, free: 9.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4898, allocations: 3 kB / 0.5435 GB, free: 9.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008546/0.4906, allocations: 407.4 kB / 0.5438 GB, free: 9.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.4906, allocations: 5.844 kB / 0.5438 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4907, allocations: 2.844 kB / 0.5439 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.4907, allocations: 1.812 kB / 0.5439 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.4911, allocations: 89.06 kB / 0.5439 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4911, allocations: 6.688 kB / 0.5439 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.4915, allocations: 39.53 kB / 0.544 GB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.4915, allocations: 13.72 kB / 0.544 GB, free: 9.371 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.4916, allocations: 144.6 kB / 0.5441 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.4917, allocations: 15.72 kB / 0.5441 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.492, allocations: 183 kB / 0.5443 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.492, allocations: 2.938 kB / 0.5443 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.492, allocations: 3.25 kB / 0.5443 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.4921, allocations: 3.938 kB / 0.5443 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.4935, allocations: 0.7549 MB / 0.5451 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4935, allocations: 2.844 kB / 0.5451 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.494, allocations: 76.48 kB / 0.5451 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.494, allocations: 3.156 kB / 0.5451 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.494, allocations: 12.39 kB / 0.5452 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.494, allocations: 2.906 kB / 0.5452 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.494, allocations: 1.859 kB / 0.5452 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.4952, allocations: 0.7112 MB / 0.5459 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.952e-05/0.4954, allocations: 114.5 kB / 0.546 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.4954, allocations: 11.19 kB / 0.546 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.4957, allocations: 28.38 kB / 0.546 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.4958, allocations: 21.66 kB / 0.546 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.4958, allocations: 18.86 kB / 0.546 GB, free: 8.152 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.322e-05/0.4959, allocations: 91.05 kB / 0.5461 GB, free: 8.074 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4959, allocations: 0 / 0.5461 GB, free: 8.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005305/0.4964, allocations: 150.9 kB / 0.5463 GB, free: 8.051 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001764/0.4982, allocations: 1.367 MB / 0.5476 GB, free: 7.133 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007912/0.499, allocations: 347.5 kB / 0.5479 GB, free: 7.059 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.499, allocations: 0 / 0.5479 GB, free: 7.059 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.4994, allocations: 174.5 kB / 0.5481 GB, free: 7.023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.5001, allocations: 106.9 kB / 0.5482 GB, free: 6.984 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.5029, allocations: 1.601 MB / 0.5498 GB, free: 6.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.5031, allocations: 0.7347 MB / 0.5505 GB, free: 5.301 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.5033, allocations: 69.34 kB / 0.5506 GB, free: 5.285 MB / 394.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5033, allocations: 0 / 0.5506 GB, free: 5.285 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.96/3.463, allocations: 4.392 MB / 0.5548 GB, free: 3.055 MB / 394.7 MB (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_cpp_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches