Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.IdealGasH2O,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O",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.001291/0.001291, allocations: 115 kB / 16.63 MB, free: 6.812 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.001347/0.001347, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 47.98 kB / 300.2 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08505/0.08612, allocations: 49.43 MB / 349.7 MB, free: 4.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2879/0.3741, allocations: 147.1 MB / 496.8 MB, free: 1.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.3767, allocations: 2.524 MB / 499.3 MB, free: 15.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.3767, allocations: 0 / 499.3 MB, free: 15.37 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.3769, allocations: 23.89 kB / 499.3 MB, free: 15.35 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008554/0.3779, allocations: 284.7 kB / 499.6 MB, free: 15.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.378, allocations: 47.81 kB / 499.6 MB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.971e-05/0.3781, allocations: 75.59 kB / 499.7 MB, free: 14.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.3782, allocations: 8 kB / 499.7 MB, free: 14.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.015e-05/0.3783, allocations: 35.8 kB / 499.8 MB, free: 14.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.3784, allocations: 31.91 kB / 499.8 MB, free: 14.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.337e-06/0.3784, allocations: 4 kB / 499.8 MB, free: 14.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006796/0.3791, allocations: 375.5 kB / 0.4884 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.3791, allocations: 7.938 kB / 0.4885 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.3791, allocations: 31.8 kB / 0.4885 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004852/0.3796, allocations: 297.1 kB / 0.4888 GB, free: 14.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3796, allocations: 0 / 0.4888 GB, free: 14.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.3796, allocations: 0 / 0.4888 GB, free: 14.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3797, allocations: 3.938 kB / 0.4888 GB, free: 14.18 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.000845/0.3805, allocations: 450.4 kB / 0.4892 GB, free: 13.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3805, allocations: 12.03 kB / 0.4892 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/0.3806, allocations: 34.75 kB / 0.4892 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/0.3866, allocations: 452.7 kB / 0.4897 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3867, allocations: 179.8 kB / 0.4898 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.3868, allocations: 11.91 kB / 0.4899 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-05/0.3869, allocations: 12 kB / 0.4899 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007545/0.3876, allocations: 292.1 kB / 0.4901 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3876, allocations: 0 / 0.4901 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.3877, allocations: 4 kB / 0.4902 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3877, allocations: 4 kB / 0.4902 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00078/0.3885, allocations: 275.8 kB / 0.4904 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.3895, allocations: 424.8 kB / 0.4908 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.3905, allocations: 206.3 kB / 0.491 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.3908, allocations: 72.81 kB / 0.4911 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.3908, allocations: 4 kB / 0.4911 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.3908, allocations: 34.56 kB / 0.4911 GB, free: 11.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.3908, allocations: 0 / 0.4911 GB, free: 11.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001745/0.3926, allocations: 422.2 kB / 0.4915 GB, free: 11.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.3926, allocations: 55.41 kB / 0.4916 GB, free: 11.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/0.3927, allocations: 97.86 kB / 0.4917 GB, free: 11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.3927, allocations: 29.7 kB / 0.4917 GB, free: 10.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.3928, allocations: 103.9 kB / 0.4918 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.3929, allocations: 63.09 kB / 0.4919 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-05/0.3929, allocations: 37.7 kB / 0.4919 GB, free: 10.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3931, allocations: 326.8 kB / 0.4922 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.3933, allocations: 79.94 kB / 0.4923 GB, free: 10.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.3936, allocations: 120.2 kB / 0.4924 GB, free: 10.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/0.3942, allocations: 200.2 kB / 0.4926 GB, free: 10 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3942, allocations: 0 / 0.4926 GB, free: 10 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006609/0.3948, allocations: 248.4 kB / 0.4928 GB, free: 9.758 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3949, allocations: 8 kB / 0.4928 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3949, allocations: 0 / 0.4928 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3949, allocations: 4 kB / 0.4928 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.3953, allocations: 47.95 kB / 0.4929 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3953, allocations: 4.125 kB / 0.4929 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.3956, allocations: 16.86 kB / 0.4929 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.3956, allocations: 15.92 kB / 0.4929 GB, free: 9.664 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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.000111/0.3957, allocations: 125.7 kB / 0.493 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.3958, allocations: 7.906 kB / 0.4931 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008294/0.3966, allocations: 275.5 kB / 0.4933 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3966, allocations: 8 kB / 0.4933 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3967, allocations: 0 / 0.4933 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.3967, allocations: 3.984 kB / 0.4933 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.3979, allocations: 0.5862 MB / 0.4939 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.3979, allocations: 0 / 0.4939 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/0.3983, allocations: 43.91 kB / 0.4939 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3983, allocations: 0 / 0.4939 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.3984, allocations: 11.98 kB / 0.4939 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3984, allocations: 3.938 kB / 0.494 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3984, allocations: 7.938 kB / 0.494 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006632/0.399, allocations: 321 kB / 0.4943 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.3991, allocations: 85.02 kB / 0.4943 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.3991, allocations: 15.98 kB / 0.4944 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.3994, allocations: 19.86 kB / 0.4944 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.3995, allocations: 11.98 kB / 0.4944 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.3995, allocations: 8 kB / 0.4944 GB, free: 8.039 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.411e-05/0.3996, allocations: 87.27 kB / 0.4945 GB, free: 7.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3996, allocations: 0 / 0.4945 GB, free: 7.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003251/0.3999, allocations: 40 kB / 0.4945 GB, free: 7.914 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 18 * 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.001019/0.4009, allocations: 0.8919 MB / 0.4954 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006281/0.4016, allocations: 207.9 kB / 0.4956 GB, free: 6.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4016, allocations: 0 / 0.4956 GB, free: 6.789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.4019, allocations: 99.86 kB / 0.4957 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.4023, allocations: 36.09 kB / 0.4957 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000976/0.4033, allocations: 352.4 kB / 0.4961 GB, free: 6.266 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.4036, allocations: 0.6928 MB / 0.4967 GB, free: 5.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000404/0.404, allocations: 57.36 kB / 0.4968 GB, free: 5.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.4042, allocations: 43.41 kB / 0.4968 GB, free: 5.453 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4042, allocations: 0 / 0.4968 GB, free: 5.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.4185, allocations: 4.196 MB / 0.5009 GB, free: 1.383 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.4187, allocations: 180.5 kB / 0.5011 GB, free: 1.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.283, allocations: 3.938 kB / 0.5011 GB, free: 1.125 MB / 414.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches