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.001103/0.001103, allocations: 106.6 kB / 16.62 MB, free: 6.809 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.001084/0.001084, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.309/1.309, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 47.59 kB / 300.1 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1156, allocations: 49.45 MB / 349.6 MB, free: 4.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2808/0.3964, allocations: 147.1 MB / 496.7 MB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.399, allocations: 2.519 MB / 499.2 MB, free: 15.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.3991, allocations: 4 kB / 499.2 MB, free: 15.44 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.3993, allocations: 19.89 kB / 499.2 MB, free: 15.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008353/0.4002, allocations: 284.2 kB / 499.5 MB, free: 15.15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.4003, allocations: 47.81 kB / 499.5 MB, free: 15.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.497e-05/0.4004, allocations: 75.61 kB / 499.6 MB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.4005, allocations: 11.98 kB / 499.6 MB, free: 15.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.907e-05/0.4006, allocations: 35.78 kB / 499.7 MB, free: 14.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.4007, allocations: 31.88 kB / 499.7 MB, free: 14.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.125e-06/0.4007, allocations: 0 / 499.7 MB, free: 14.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006122/0.4013, allocations: 371.5 kB / 0.4883 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.4013, allocations: 19.86 kB / 0.4884 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.4014, allocations: 23.92 kB / 0.4884 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.4018, allocations: 304.7 kB / 0.4887 GB, free: 14.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.4018, allocations: 0 / 0.4887 GB, free: 14.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4018, allocations: 0 / 0.4887 GB, free: 14.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.4018, allocations: 0 / 0.4887 GB, free: 14.25 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.0008223/0.4027, allocations: 435.8 kB / 0.4891 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.4027, allocations: 12.03 kB / 0.4891 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006423/0.4091, allocations: 456.7 kB / 0.4895 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.684e-05/0.4092, allocations: 172 kB / 0.4897 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.4093, allocations: 4 kB / 0.4897 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/0.4093, allocations: 11.91 kB / 0.4897 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000776/0.4101, allocations: 297.3 kB / 0.49 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4101, allocations: 0 / 0.49 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.792e-05/0.4102, allocations: 4 kB / 0.49 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.4102, allocations: 0 / 0.49 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007995/0.411, allocations: 275.8 kB / 0.4903 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009706/0.412, allocations: 432.8 kB / 0.4907 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009967/0.413, allocations: 202.4 kB / 0.4909 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.4132, allocations: 73.56 kB / 0.4909 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.4132, allocations: 8 kB / 0.4909 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.4133, allocations: 30.56 kB / 0.491 GB, free: 11.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.4133, allocations: 3.938 kB / 0.491 GB, free: 11.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001719/0.415, allocations: 427.4 kB / 0.4914 GB, free: 11.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.4151, allocations: 51.41 kB / 0.4914 GB, free: 11.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.042e-05/0.4151, allocations: 105.9 kB / 0.4915 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.4152, allocations: 29.64 kB / 0.4916 GB, free: 11.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.4152, allocations: 103.9 kB / 0.4917 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.4153, allocations: 59.11 kB / 0.4917 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-05/0.4154, allocations: 41.69 kB / 0.4918 GB, free: 10.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4155, allocations: 318.8 kB / 0.4921 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.4158, allocations: 79.94 kB / 0.4921 GB, free: 10.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.4161, allocations: 116.2 kB / 0.4922 GB, free: 10.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.4166, allocations: 207.2 kB / 0.4924 GB, free: 10.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4166, allocations: 0 / 0.4924 GB, free: 10.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006516/0.4173, allocations: 245.3 kB / 0.4927 GB, free: 9.883 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4173, allocations: 4 kB / 0.4927 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4173, allocations: 4 kB / 0.4927 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.4173, allocations: 0 / 0.4927 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.4177, allocations: 47.95 kB / 0.4927 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.4177, allocations: 8.062 kB / 0.4927 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.418, allocations: 19.98 kB / 0.4928 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.418, allocations: 11.98 kB / 0.4928 GB, free: 9.789 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.949e-05/0.4182, allocations: 121.8 kB / 0.4929 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.4182, allocations: 11.84 kB / 0.4929 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008189/0.419, allocations: 274 kB / 0.4932 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4191, allocations: 0 / 0.4932 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4191, allocations: 4.875 kB / 0.4932 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4191, allocations: 3.984 kB / 0.4932 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.4203, allocations: 0.5823 MB / 0.4937 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4203, allocations: 3.938 kB / 0.4937 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.4206, allocations: 43.91 kB / 0.4938 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4207, allocations: 4 kB / 0.4938 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.4207, allocations: 12.61 kB / 0.4938 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4207, allocations: 0 / 0.4938 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4207, allocations: 3.938 kB / 0.4938 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006496/0.4214, allocations: 335.6 kB / 0.4941 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.4214, allocations: 85.02 kB / 0.4942 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.4215, allocations: 7.859 kB / 0.4942 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.4218, allocations: 19.98 kB / 0.4942 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.4218, allocations: 15.92 kB / 0.4942 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.4218, allocations: 8 kB / 0.4943 GB, free: 8.164 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.891e-05/0.4219, allocations: 83.27 kB / 0.4943 GB, free: 8.082 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4219, allocations: 0 / 0.4943 GB, free: 8.082 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003271/0.4222, allocations: 44 kB / 0.4944 GB, free: 8.039 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.0002035/0.4224, allocations: 131.1 kB / 0.4945 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006226/0.423, allocations: 204 kB / 0.4947 GB, free: 7.703 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4231, allocations: 0 / 0.4947 GB, free: 7.703 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.4233, allocations: 104.5 kB / 0.4948 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.4238, allocations: 36.62 kB / 0.4948 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00075/0.4245, allocations: 310.8 kB / 0.4951 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.4248, allocations: 0.6928 MB / 0.4958 GB, free: 6.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004105/0.4252, allocations: 66.7 kB / 0.4959 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.4254, allocations: 31.42 kB / 0.4959 GB, free: 6.422 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4254, allocations: 0 / 0.4959 GB, free: 6.422 MB / 414.1 MB Notification: Performance of Templates: time 0.005801/0.4312, allocations: 3.041 MB / 0.4989 GB, free: 3.418 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/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