Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00158/0.00158, allocations: 114 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002004/0.002004, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.2 kB / 306.5 MB, free: 0.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08188/0.08306, allocations: 50.53 MB / 357.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2967/0.3798, allocations: 150.1 MB / 0.4953 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.3823, allocations: 2.533 MB / 0.4978 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.3824, allocations: 0 / 0.4978 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.3825, allocations: 23.89 kB / 0.4978 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000843/0.3834, allocations: 308.8 kB / 0.4981 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.3837, allocations: 51.8 kB / 0.4981 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.3838, allocations: 99.42 kB / 0.4982 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.3838, allocations: 8.922 kB / 0.4982 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.384, allocations: 47.78 kB / 0.4983 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.384, allocations: 35.84 kB / 0.4983 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.3841, allocations: 4 kB / 0.4983 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007186/0.3848, allocations: 379.5 kB / 0.4987 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.3848, allocations: 15.88 kB / 0.4987 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.3849, allocations: 39.78 kB / 0.4987 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005099/0.3854, allocations: 317 kB / 0.499 GB, free: 1.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3854, allocations: 11.98 kB / 0.499 GB, free: 1.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3854, allocations: 0 / 0.499 GB, free: 1.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.3854, allocations: 3.375 kB / 0.4991 GB, free: 1.645 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008525/0.3863, allocations: 455.9 kB / 0.4995 GB, free: 1.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3863, allocations: 8.031 kB / 0.4995 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.3864, allocations: 42.75 kB / 0.4995 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006/0.3924, allocations: 460.6 kB / 0.5 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.3925, allocations: 183.3 kB / 0.5001 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3925, allocations: 8 kB / 0.5002 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.3926, allocations: 4 kB / 0.5002 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007426/0.3934, allocations: 297.3 kB / 0.5004 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3934, allocations: 4 kB / 0.5004 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/0.3934, allocations: 8 kB / 0.5005 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3934, allocations: 0 / 0.5005 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007758/0.3942, allocations: 271.7 kB / 0.5007 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.3945, allocations: 246.2 kB / 0.5009 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.3949, allocations: 165.5 kB / 0.5011 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.3951, allocations: 88.81 kB / 0.5012 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.3951, allocations: 3.984 kB / 0.5012 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.3952, allocations: 42.5 kB / 0.5012 GB, free: 15.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.3952, allocations: 3.938 kB / 0.5012 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.002105/0.3973, allocations: 0.578 MB / 0.5018 GB, free: 14.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.3973, allocations: 55.41 kB / 0.5019 GB, free: 14.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3974, allocations: 105.8 kB / 0.502 GB, free: 14.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.3975, allocations: 29.7 kB / 0.502 GB, free: 14.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.3975, allocations: 88.58 kB / 0.5021 GB, free: 14.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.066e-05/0.3976, allocations: 86.73 kB / 0.5022 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3977, allocations: 41.7 kB / 0.5022 GB, free: 14.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3978, allocations: 326.8 kB / 0.5025 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.3981, allocations: 99.92 kB / 0.5026 GB, free: 13.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.3984, allocations: 99.94 kB / 0.5027 GB, free: 13.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005968/0.399, allocations: 227.7 kB / 0.5029 GB, free: 13.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3991, allocations: 3.938 kB / 0.5029 GB, free: 13.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007086/0.3998, allocations: 277.3 kB / 0.5032 GB, free: 13.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.3998, allocations: 7.984 kB / 0.5032 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3998, allocations: 0 / 0.5032 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3999, allocations: 3.938 kB / 0.5032 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.4003, allocations: 60.77 kB / 0.5033 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.4003, allocations: 7.938 kB / 0.5033 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.4006, allocations: 15.98 kB / 0.5033 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/0.4007, allocations: 8 kB / 0.5033 GB, free: 13.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * 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.0001161/0.4008, allocations: 125.8 kB / 0.5034 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.4008, allocations: 11.91 kB / 0.5034 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009286/0.4018, allocations: 354.9 kB / 0.5038 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.4018, allocations: 7.938 kB / 0.5038 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4018, allocations: 0 / 0.5038 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.4018, allocations: 3.984 kB / 0.5038 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.4033, allocations: 0.7231 MB / 0.5045 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.4034, allocations: 7.938 kB / 0.5045 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.4038, allocations: 55.95 kB / 0.5045 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.4038, allocations: 4 kB / 0.5045 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.4038, allocations: 4 kB / 0.5045 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4038, allocations: 7.938 kB / 0.5045 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4038, allocations: 0 / 0.5045 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007438/0.4046, allocations: 419.8 kB / 0.5049 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.4046, allocations: 85.02 kB / 0.505 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.4047, allocations: 11.94 kB / 0.505 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.405, allocations: 15.98 kB / 0.5051 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.4051, allocations: 19.91 kB / 0.5051 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.4051, allocations: 16 kB / 0.5051 GB, free: 11.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.252e-05/0.4052, allocations: 91.27 kB / 0.5052 GB, free: 11.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4052, allocations: 0 / 0.5052 GB, free: 11.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003493/0.4055, allocations: 56 kB / 0.5052 GB, free: 10.96 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (26): * Single equations (assignments): 26 * 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.00116/0.4067, allocations: 0.97 MB / 0.5062 GB, free: 9.949 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007122/0.4074, allocations: 263.5 kB / 0.5064 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4074, allocations: 4 kB / 0.5064 GB, free: 9.688 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.4078, allocations: 135.8 kB / 0.5066 GB, free: 9.555 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.4083, allocations: 66.16 kB / 0.5066 GB, free: 9.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.4116, allocations: 2.128 MB / 0.5087 GB, free: 7.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.4118, allocations: 0.7047 MB / 0.5094 GB, free: 6.539 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004064/0.4122, allocations: 58.05 kB / 0.5094 GB, free: 6.484 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.4124, allocations: 55.41 kB / 0.5095 GB, free: 6.43 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4124, allocations: 0 / 0.5095 GB, free: 6.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04164/0.4541, allocations: 5.452 MB / 0.5148 GB, free: 1.09 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.4543, allocations: 188.6 kB / 0.515 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.279, allocations: 4 kB / 0.515 GB, free: 0.8242 MB / 430.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches