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.001074/0.001074, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 57.81 kB / 307 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08133, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2816/0.3629, allocations: 152.2 MB / 0.4978 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.3655, allocations: 2.545 MB / 0.5003 GB, free: 460 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/0.3655, allocations: 0 / 0.5003 GB, free: 460 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.3657, allocations: 30.19 kB / 0.5003 GB, free: 432 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007302/0.3665, allocations: 336.8 kB / 0.5006 GB, free: 100 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.3666, allocations: 67.72 kB / 0.5007 GB, free: 32 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.3668, allocations: 103.4 kB / 0.5008 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.3668, allocations: 8 kB / 0.5008 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.292e-05/0.3669, allocations: 47.77 kB / 0.5009 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.367, allocations: 35.8 kB / 0.5009 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.367, allocations: 4 kB / 0.5009 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006686/0.3677, allocations: 367.5 kB / 0.5013 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.3677, allocations: 11.88 kB / 0.5013 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.3678, allocations: 39.84 kB / 0.5013 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.3682, allocations: 317 kB / 0.5016 GB, free: 15.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3682, allocations: 0 / 0.5016 GB, free: 15.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3682, allocations: 3.656 kB / 0.5016 GB, free: 15.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.3682, allocations: 4 kB / 0.5016 GB, free: 15.11 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008596/0.3691, allocations: 459.9 kB / 0.5021 GB, free: 14.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.3691, allocations: 8.031 kB / 0.5021 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.252e-05/0.3692, allocations: 38.75 kB / 0.5021 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006709/0.3759, allocations: 464.6 kB / 0.5025 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.3761, allocations: 179.4 kB / 0.5027 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3761, allocations: 7.984 kB / 0.5027 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.3761, allocations: 8 kB / 0.5027 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007267/0.3769, allocations: 293.3 kB / 0.503 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3769, allocations: 0 / 0.503 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.813e-05/0.377, allocations: 4 kB / 0.503 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.377, allocations: 4 kB / 0.503 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008248/0.3778, allocations: 275.7 kB / 0.5033 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.3781, allocations: 258.2 kB / 0.5035 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.3785, allocations: 162.8 kB / 0.5037 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.3787, allocations: 80.81 kB / 0.5038 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.3787, allocations: 4 kB / 0.5038 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.3788, allocations: 42.5 kB / 0.5038 GB, free: 12.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.3788, allocations: 0 / 0.5038 GB, free: 12.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.002161/0.3809, allocations: 0.5809 MB / 0.5044 GB, free: 12.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.381, allocations: 51.41 kB / 0.5044 GB, free: 12.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.739e-05/0.3811, allocations: 109.8 kB / 0.5045 GB, free: 11.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.3811, allocations: 29.7 kB / 0.5045 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.3811, allocations: 84.56 kB / 0.5046 GB, free: 11.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.957e-05/0.3812, allocations: 86.75 kB / 0.5047 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.3813, allocations: 49.69 kB / 0.5048 GB, free: 11.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.569e-05/0.3814, allocations: 318.8 kB / 0.5051 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.3818, allocations: 99.94 kB / 0.5052 GB, free: 11.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.3821, allocations: 99.94 kB / 0.5053 GB, free: 11.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/0.3827, allocations: 231.6 kB / 0.5055 GB, free: 10.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3827, allocations: 0 / 0.5055 GB, free: 10.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007367/0.3835, allocations: 289.3 kB / 0.5058 GB, free: 10.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3835, allocations: 4 kB / 0.5058 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3835, allocations: 0.5469 kB / 0.5058 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3835, allocations: 3.938 kB / 0.5058 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.384, allocations: 59.89 kB / 0.5058 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.384, allocations: 0 / 0.5058 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.3843, allocations: 11.98 kB / 0.5058 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.3843, allocations: 19.92 kB / 0.5058 GB, free: 10.55 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.000113/0.3845, allocations: 125.8 kB / 0.506 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.3845, allocations: 11.91 kB / 0.506 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00097/0.3855, allocations: 358.4 kB / 0.5063 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3855, allocations: 7.938 kB / 0.5063 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.3855, allocations: 0 / 0.5063 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3855, allocations: 0 / 0.5063 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.387, allocations: 0.7284 MB / 0.507 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.387, allocations: 4 kB / 0.507 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/0.3874, allocations: 54.2 kB / 0.5071 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.3874, allocations: 4 kB / 0.5071 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.3875, allocations: 11.98 kB / 0.5071 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.3875, allocations: 7.938 kB / 0.5071 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3875, allocations: 0 / 0.5071 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007878/0.3883, allocations: 407.7 kB / 0.5075 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.3883, allocations: 93.02 kB / 0.5076 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.3884, allocations: 4 kB / 0.5076 GB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.3887, allocations: 19.92 kB / 0.5076 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.3888, allocations: 23.91 kB / 0.5076 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.3888, allocations: 15.98 kB / 0.5077 GB, free: 8.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.818e-05/0.3888, allocations: 87.22 kB / 0.5077 GB, free: 8.484 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3889, allocations: 0 / 0.5077 GB, free: 8.484 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003518/0.3892, allocations: 60 kB / 0.5078 GB, free: 8.426 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.001127/0.3903, allocations: 0.97 MB / 0.5087 GB, free: 7.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007229/0.3911, allocations: 267.5 kB / 0.509 GB, free: 7.152 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3911, allocations: 0 / 0.509 GB, free: 7.152 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.3915, allocations: 140 kB / 0.5091 GB, free: 7.016 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.392, allocations: 55 kB / 0.5092 GB, free: 6.965 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.3952, allocations: 2.085 MB / 0.5112 GB, free: 4.773 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.3955, allocations: 0.7047 MB / 0.5119 GB, free: 4.043 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003877/0.3959, allocations: 58.12 kB / 0.512 GB, free: 3.988 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.3961, allocations: 55.41 kB / 0.512 GB, free: 3.934 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3961, allocations: 0 / 0.512 GB, free: 3.934 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.4173, allocations: 5.565 MB / 0.5175 GB, free: 14.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.268, allocations: 4.375 kB / 0.5175 GB, free: 14.42 MB / 446.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