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.001191/0.001191, allocations: 112.3 kB / 17.68 MB, free: 5.473 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.001576/0.001576, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.345/1.345, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009541/0.0009541, allocations: 42.84 kB / 302 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08876/0.08973, allocations: 49.45 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2967/0.3864, allocations: 149.2 MB / 0.489 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.3889, allocations: 2.526 MB / 0.4914 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.389, allocations: 0 / 0.4914 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.3892, allocations: 19.89 kB / 0.4914 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008146/0.39, allocations: 320.9 kB / 0.4918 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.3902, allocations: 64.86 kB / 0.4918 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.535e-05/0.3903, allocations: 75.59 kB / 0.4919 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.3904, allocations: 4 kB / 0.4919 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.44e-05/0.3905, allocations: 39.78 kB / 0.4919 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.838e-05/0.3905, allocations: 26.69 kB / 0.492 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.495e-06/0.3905, allocations: 0 / 0.492 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006334/0.3912, allocations: 367.5 kB / 0.4923 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.3912, allocations: 3.984 kB / 0.4923 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.3912, allocations: 27.88 kB / 0.4923 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.3917, allocations: 292.5 kB / 0.4926 GB, free: 11.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.3917, allocations: 4 kB / 0.4926 GB, free: 11.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3917, allocations: 0 / 0.4926 GB, free: 11.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3917, allocations: 4 kB / 0.4926 GB, free: 11.2 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.0007955/0.3925, allocations: 439.8 kB / 0.493 GB, free: 10.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3926, allocations: 12.03 kB / 0.4931 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005992/0.3986, allocations: 456.8 kB / 0.4935 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.3987, allocations: 172 kB / 0.4937 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3987, allocations: 8 kB / 0.4937 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/0.3988, allocations: 8.719 kB / 0.4937 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007381/0.3996, allocations: 297.3 kB / 0.494 GB, free: 9.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3996, allocations: 0 / 0.494 GB, free: 9.746 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.3996, allocations: 12 kB / 0.494 GB, free: 9.734 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.3996, allocations: 0 / 0.494 GB, free: 9.734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008229/0.4005, allocations: 271.7 kB / 0.4942 GB, free: 9.469 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009801/0.4015, allocations: 420.8 kB / 0.4946 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009869/0.4025, allocations: 206.4 kB / 0.4948 GB, free: 8.793 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.4027, allocations: 72.81 kB / 0.4949 GB, free: 8.719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.4027, allocations: 0 / 0.4949 GB, free: 8.719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.4027, allocations: 38.5 kB / 0.4949 GB, free: 8.676 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.4027, allocations: 4 kB / 0.4949 GB, free: 8.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001652/0.4044, allocations: 422.2 kB / 0.4953 GB, free: 8.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.4044, allocations: 55.34 kB / 0.4954 GB, free: 8.188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/0.4045, allocations: 105.8 kB / 0.4955 GB, free: 8.074 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.4045, allocations: 29.7 kB / 0.4955 GB, free: 8.039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.4046, allocations: 96.58 kB / 0.4956 GB, free: 7.941 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.4046, allocations: 59.11 kB / 0.4957 GB, free: 7.883 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/0.4047, allocations: 49.69 kB / 0.4957 GB, free: 7.828 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.4048, allocations: 318.8 kB / 0.496 GB, free: 7.508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.4051, allocations: 75.94 kB / 0.4961 GB, free: 7.434 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.4055, allocations: 119.2 kB / 0.4962 GB, free: 7.305 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.406, allocations: 206.8 kB / 0.4964 GB, free: 7.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.406, allocations: 0 / 0.4964 GB, free: 7.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006411/0.4067, allocations: 253.2 kB / 0.4966 GB, free: 6.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4067, allocations: 4 kB / 0.4966 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4067, allocations: 4.125 kB / 0.4966 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4067, allocations: 4 kB / 0.4967 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.4071, allocations: 51.89 kB / 0.4967 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.4071, allocations: 4 kB / 0.4967 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.4074, allocations: 11.98 kB / 0.4967 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.4074, allocations: 15.98 kB / 0.4967 GB, free: 6.742 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.000102/0.4075, allocations: 121.8 kB / 0.4968 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.4076, allocations: 11.91 kB / 0.4969 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008106/0.4084, allocations: 274 kB / 0.4971 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4084, allocations: 4 kB / 0.4971 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4084, allocations: 0 / 0.4971 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4084, allocations: 0 / 0.4971 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.4097, allocations: 0.5864 MB / 0.4977 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4097, allocations: 0 / 0.4977 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003548/0.4101, allocations: 47.89 kB / 0.4977 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4101, allocations: 4 kB / 0.4977 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.4101, allocations: 4.062 kB / 0.4977 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.4101, allocations: 8 kB / 0.4978 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/0.4101, allocations: 3.938 kB / 0.4978 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006407/0.4108, allocations: 340.1 kB / 0.4981 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.4108, allocations: 81.02 kB / 0.4982 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.4109, allocations: 8 kB / 0.4982 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.4111, allocations: 13.48 kB / 0.4982 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.4112, allocations: 15.92 kB / 0.4982 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.4112, allocations: 11.98 kB / 0.4982 GB, free: 5.117 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.336e-05/0.4113, allocations: 79.28 kB / 0.4983 GB, free: 5.039 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4113, allocations: 4 kB / 0.4983 GB, free: 5.035 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003754/0.4116, allocations: 48 kB / 0.4983 GB, free: 4.988 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.000202/0.4119, allocations: 127.1 kB / 0.4985 GB, free: 4.855 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005885/0.4125, allocations: 195.7 kB / 0.4986 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4125, allocations: 4 kB / 0.4986 GB, free: 4.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.4128, allocations: 108.2 kB / 0.4987 GB, free: 4.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.4132, allocations: 34.58 kB / 0.4988 GB, free: 4.523 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/0.414, allocations: 278.8 kB / 0.499 GB, free: 4.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.4142, allocations: 0.6928 MB / 0.4997 GB, free: 3.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002638/0.4145, allocations: 56.73 kB / 0.4998 GB, free: 3.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.4147, allocations: 35.42 kB / 0.4998 GB, free: 3.414 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4147, allocations: 0 / 0.4998 GB, free: 3.414 MB / 414.1 MB Notification: Performance of Templates: time 0.005917/0.4206, allocations: 3.051 MB / 0.5028 GB, free: 396 kB / 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 cvode -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