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: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008242/0.0008245, allocations: 93.45 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009642/0.0009643, allocations: 201.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.7 MB / 246.8 MB, free: 11.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002369/0.0002369, allocations: 8.281 kB / 307.7 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08425/0.0845, allocations: 51.53 MB / 359.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3038/0.3884, allocations: 148.1 MB / 0.4954 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.391, allocations: 2.543 MB / 0.4979 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.3911, allocations: 3.938 kB / 0.4979 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.3913, allocations: 23.89 kB / 0.498 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007612/0.392, allocations: 288.8 kB / 0.4982 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.3922, allocations: 55.81 kB / 0.4983 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.3923, allocations: 95.42 kB / 0.4984 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.3924, allocations: 7.984 kB / 0.4984 GB, free: 4.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3925, allocations: 43.78 kB / 0.4984 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.3925, allocations: 31.86 kB / 0.4985 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.3926, allocations: 4 kB / 0.4985 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006404/0.3932, allocations: 376 kB / 0.4988 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.3932, allocations: 11.92 kB / 0.4988 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.3933, allocations: 73.44 kB / 0.4989 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.3937, allocations: 312.7 kB / 0.4992 GB, free: 3.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3937, allocations: 0 / 0.4992 GB, free: 3.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3938, allocations: 0 / 0.4992 GB, free: 3.785 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.3938, allocations: 2.531 kB / 0.4992 GB, free: 3.785 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.000829/0.3946, allocations: 451.8 kB / 0.4996 GB, free: 3.297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3946, allocations: 12.03 kB / 0.4996 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006724/0.4014, allocations: 461.1 kB / 0.5001 GB, free: 2.836 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.4015, allocations: 175.6 kB / 0.5003 GB, free: 2.625 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.4016, allocations: 11.98 kB / 0.5003 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.074e-05/0.4017, allocations: 7.906 kB / 0.5003 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007829/0.4024, allocations: 301.3 kB / 0.5006 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4025, allocations: 0 / 0.5006 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/0.4025, allocations: 4 kB / 0.5006 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4025, allocations: 0 / 0.5006 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008345/0.4034, allocations: 271.8 kB / 0.5008 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.4036, allocations: 250.2 kB / 0.5011 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.4041, allocations: 162.7 kB / 0.5012 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.4043, allocations: 84.81 kB / 0.5013 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.4043, allocations: 11.98 kB / 0.5013 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.4044, allocations: 34.56 kB / 0.5013 GB, free: 1.434 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.4044, allocations: 0 / 0.5013 GB, free: 1.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.002231/0.4066, allocations: 0.5767 MB / 0.5019 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.4067, allocations: 63.28 kB / 0.502 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.914e-05/0.4067, allocations: 105.8 kB / 0.5021 GB, free: 0.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.4068, allocations: 29.7 kB / 0.5021 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.4068, allocations: 96.52 kB / 0.5022 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.145e-05/0.4069, allocations: 74.84 kB / 0.5023 GB, free: 472 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.407, allocations: 25.7 kB / 0.5023 GB, free: 440 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.4071, allocations: 322.8 kB / 0.5026 GB, free: 108 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/0.4074, allocations: 95.94 kB / 0.5027 GB, free: 12 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.4077, allocations: 111.9 kB / 0.5028 GB, free: 15.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.4083, allocations: 220.6 kB / 0.503 GB, free: 15.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4084, allocations: 0 / 0.503 GB, free: 15.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007365/0.4091, allocations: 290.4 kB / 0.5033 GB, free: 15.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4091, allocations: 4 kB / 0.5033 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4091, allocations: 0 / 0.5033 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.4092, allocations: 4 kB / 0.5033 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.4096, allocations: 59.88 kB / 0.5033 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.4096, allocations: 0 / 0.5033 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.4099, allocations: 19.98 kB / 0.5034 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.41, allocations: 8 kB / 0.5034 GB, free: 15.3 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.0001055/0.4101, allocations: 125.7 kB / 0.5035 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.4101, allocations: 7.906 kB / 0.5035 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000972/0.4111, allocations: 356 kB / 0.5038 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.4111, allocations: 7.938 kB / 0.5038 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4111, allocations: 3.938 kB / 0.5038 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4111, allocations: 0 / 0.5038 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.4126, allocations: 0.7171 MB / 0.5045 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4127, allocations: 0 / 0.5045 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.4131, allocations: 67.88 kB / 0.5046 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.4131, allocations: 0 / 0.5046 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.4131, allocations: 8 kB / 0.5046 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.4132, allocations: 5.125 kB / 0.5046 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4132, allocations: 0 / 0.5046 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007852/0.414, allocations: 427.6 kB / 0.505 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.414, allocations: 89.02 kB / 0.5051 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.414, allocations: 4 kB / 0.5051 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.4144, allocations: 15.98 kB / 0.5051 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.4144, allocations: 27.84 kB / 0.5052 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.4145, allocations: 15.69 kB / 0.5052 GB, free: 13.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.496e-05/0.4145, allocations: 95.25 kB / 0.5053 GB, free: 13.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4145, allocations: 0 / 0.5053 GB, free: 13.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003471/0.4149, allocations: 56 kB / 0.5053 GB, free: 13.17 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.0002276/0.4151, allocations: 127.2 kB / 0.5054 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000771/0.4159, allocations: 259.1 kB / 0.5057 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4159, allocations: 0 / 0.5057 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.4163, allocations: 140.1 kB / 0.5058 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.4168, allocations: 58.67 kB / 0.5059 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008867/0.4177, allocations: 404 kB / 0.5063 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.418, allocations: 0.7011 MB / 0.5069 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003981/0.4184, allocations: 61.5 kB / 0.507 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.4186, allocations: 35.41 kB / 0.507 GB, free: 11.34 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4186, allocations: 0 / 0.507 GB, free: 11.34 MB / 430.1 MB Notification: Performance of Templates: time 0.007043/0.4257, allocations: 3.912 MB / 0.5109 GB, free: 7.461 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile (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 & ./Modelica_trunk_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches