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: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 115.8 kB / 17.69 MB, free: 5.305 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.001089/0.001089, allocations: 192 kB / 18.63 MB, free: 4.375 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.315/1.315, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009695/0.0009695, allocations: 47.19 kB / 302 MB, free: 5.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09003/0.09101, allocations: 49.45 MB / 351.5 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3146/0.4057, allocations: 149.2 MB / 0.489 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.4083, allocations: 2.521 MB / 0.4914 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.4083, allocations: 4 kB / 0.4914 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.4085, allocations: 23.83 kB / 0.4915 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008077/0.4094, allocations: 323.1 kB / 0.4918 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.4095, allocations: 59.75 kB / 0.4918 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.475e-05/0.4096, allocations: 75.59 kB / 0.4919 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.4097, allocations: 7.984 kB / 0.4919 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/0.4098, allocations: 31.81 kB / 0.4919 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.537e-05/0.4099, allocations: 31.84 kB / 0.492 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.445e-06/0.4099, allocations: 4 kB / 0.492 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006503/0.4105, allocations: 355.5 kB / 0.4923 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.4106, allocations: 15.92 kB / 0.4923 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.4106, allocations: 27.86 kB / 0.4923 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004747/0.4111, allocations: 296.7 kB / 0.4926 GB, free: 11.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4111, allocations: 3.375 kB / 0.4926 GB, free: 11.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4111, allocations: 0 / 0.4926 GB, free: 11.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.4111, allocations: 4 kB / 0.4926 GB, free: 11.4 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.000887/0.412, allocations: 439.8 kB / 0.4931 GB, free: 10.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4121, allocations: 11.89 kB / 0.4931 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005912/0.418, allocations: 452.8 kB / 0.4935 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.4181, allocations: 176 kB / 0.4937 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4182, allocations: 4 kB / 0.4937 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.77e-05/0.4182, allocations: 15.91 kB / 0.4937 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007715/0.419, allocations: 293.3 kB / 0.494 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.419, allocations: 0 / 0.494 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.4191, allocations: 3.984 kB / 0.494 GB, free: 9.941 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.4191, allocations: 4 kB / 0.494 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008029/0.4199, allocations: 271.8 kB / 0.4942 GB, free: 9.672 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.4209, allocations: 432.8 kB / 0.4946 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009479/0.4219, allocations: 202.4 kB / 0.4948 GB, free: 8.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.4221, allocations: 69.44 kB / 0.4949 GB, free: 8.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.4221, allocations: 4 kB / 0.4949 GB, free: 8.914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.4222, allocations: 30.56 kB / 0.4949 GB, free: 8.875 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.4222, allocations: 0 / 0.4949 GB, free: 8.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.00168/0.4239, allocations: 424.3 kB / 0.4953 GB, free: 8.457 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.4239, allocations: 59.41 kB / 0.4954 GB, free: 8.387 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.022e-05/0.424, allocations: 97.86 kB / 0.4955 GB, free: 8.281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.424, allocations: 33.64 kB / 0.4955 GB, free: 8.242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.4241, allocations: 103.9 kB / 0.4956 GB, free: 8.137 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.4241, allocations: 59.11 kB / 0.4957 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.565e-05/0.4242, allocations: 45.69 kB / 0.4957 GB, free: 8.027 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.4243, allocations: 318.8 kB / 0.496 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.4246, allocations: 83.94 kB / 0.4961 GB, free: 7.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.4249, allocations: 115.2 kB / 0.4962 GB, free: 7.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/0.4254, allocations: 206.8 kB / 0.4964 GB, free: 7.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4254, allocations: 0 / 0.4964 GB, free: 7.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000622/0.426, allocations: 245.3 kB / 0.4966 GB, free: 7.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.426, allocations: 8 kB / 0.4967 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.426, allocations: 0 / 0.4967 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.4261, allocations: 4 kB / 0.4967 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.4265, allocations: 60.89 kB / 0.4967 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4265, allocations: 3.938 kB / 0.4967 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.4267, allocations: 11.98 kB / 0.4967 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.4268, allocations: 15.98 kB / 0.4967 GB, free: 6.938 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 9.875e-05/0.4269, allocations: 117.8 kB / 0.4969 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.4269, allocations: 8.094 kB / 0.4969 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007504/0.4277, allocations: 280 kB / 0.4971 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.4277, allocations: 4 kB / 0.4971 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4277, allocations: 3.984 kB / 0.4971 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4277, allocations: 0 / 0.4971 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.429, allocations: 0.5786 MB / 0.4977 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.429, allocations: 4 kB / 0.4977 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.4294, allocations: 47.91 kB / 0.4978 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4294, allocations: 0 / 0.4978 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.4294, allocations: 7.984 kB / 0.4978 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4294, allocations: 0 / 0.4978 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4294, allocations: 7.938 kB / 0.4978 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000632/0.4301, allocations: 332.2 kB / 0.4981 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.4301, allocations: 93 kB / 0.4982 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.4302, allocations: 0 / 0.4982 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.4304, allocations: 23.17 kB / 0.4982 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.4305, allocations: 15.92 kB / 0.4982 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.4305, allocations: 12 kB / 0.4982 GB, free: 5.316 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.722e-05/0.4306, allocations: 83.27 kB / 0.4983 GB, free: 5.234 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4306, allocations: 0 / 0.4983 GB, free: 5.234 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003442/0.4309, allocations: 44 kB / 0.4983 GB, free: 5.191 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.0002203/0.4311, allocations: 124.8 kB / 0.4985 GB, free: 5.062 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006014/0.4318, allocations: 207.7 kB / 0.4987 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4318, allocations: 0 / 0.4987 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.432, allocations: 99.88 kB / 0.4988 GB, free: 4.762 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.4325, allocations: 44.95 kB / 0.4988 GB, free: 4.719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007552/0.4333, allocations: 282.8 kB / 0.4991 GB, free: 4.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.4335, allocations: 0.6928 MB / 0.4997 GB, free: 3.691 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002653/0.4338, allocations: 56.73 kB / 0.4998 GB, free: 3.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.4339, allocations: 31.42 kB / 0.4998 GB, free: 3.609 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.434, allocations: 0 / 0.4998 GB, free: 3.609 MB / 414.1 MB Notification: Performance of Templates: time 0.006052/0.44, allocations: 3.042 MB / 0.5028 GB, free: 0.5898 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile (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 & ./Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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