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.001193/0.001193, allocations: 99.45 kB / 17.59 MB, free: 5.562 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.001251/0.001251, allocations: 191.3 kB / 18.52 MB, free: 4.637 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.384/1.384, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 51.31 kB / 301.3 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09629/0.09745, allocations: 49.44 MB / 350.7 MB, free: 4.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3506/0.4481, allocations: 149.2 MB / 499.9 MB, free: 15.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.4507, allocations: 2.526 MB / 0.4907 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.4508, allocations: 0 / 0.4907 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.451, allocations: 33.83 kB / 0.4907 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.4521, allocations: 313.4 kB / 0.491 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.4523, allocations: 63.73 kB / 0.4911 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.4524, allocations: 75.53 kB / 0.4911 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.4525, allocations: 4 kB / 0.4911 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.4526, allocations: 43.78 kB / 0.4912 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.4526, allocations: 23.88 kB / 0.4912 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.4527, allocations: 4 kB / 0.4912 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007563/0.4534, allocations: 359.5 kB / 0.4916 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.4535, allocations: 11.94 kB / 0.4916 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.4535, allocations: 27.86 kB / 0.4916 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004662/0.454, allocations: 296.8 kB / 0.4919 GB, free: 11.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.454, allocations: 4 kB / 0.4919 GB, free: 11.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.454, allocations: 0 / 0.4919 GB, free: 11.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.454, allocations: 0 / 0.4919 GB, free: 11.75 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.0008668/0.4549, allocations: 435.9 kB / 0.4923 GB, free: 11.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4549, allocations: 12.03 kB / 0.4923 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00637/0.4613, allocations: 456.7 kB / 0.4927 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.4615, allocations: 172 kB / 0.4929 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.4615, allocations: 8 kB / 0.4929 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.414e-05/0.4616, allocations: 11.91 kB / 0.4929 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007716/0.4624, allocations: 301.3 kB / 0.4932 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.4624, allocations: 0 / 0.4932 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.4625, allocations: 0 / 0.4932 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4625, allocations: 0 / 0.4932 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008051/0.4633, allocations: 271.8 kB / 0.4935 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.4643, allocations: 432.8 kB / 0.4939 GB, free: 9.547 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.4654, allocations: 203 kB / 0.4941 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.4656, allocations: 73.44 kB / 0.4941 GB, free: 9.266 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.4656, allocations: 7.984 kB / 0.4942 GB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.4656, allocations: 30.56 kB / 0.4942 GB, free: 9.219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 2.735e-06/0.4657, allocations: 0 / 0.4942 GB, free: 9.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001752/0.4674, allocations: 424 kB / 0.4946 GB, free: 8.801 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.4675, allocations: 51.41 kB / 0.4946 GB, free: 8.738 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.4676, allocations: 105.9 kB / 0.4947 GB, free: 8.625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.4676, allocations: 33.69 kB / 0.4948 GB, free: 8.586 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.4677, allocations: 91.89 kB / 0.4949 GB, free: 8.492 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.4677, allocations: 59.11 kB / 0.4949 GB, free: 8.434 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.4678, allocations: 53.62 kB / 0.495 GB, free: 8.375 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.468, allocations: 314.8 kB / 0.4953 GB, free: 8.059 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.4683, allocations: 79.94 kB / 0.4953 GB, free: 7.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.4686, allocations: 123 kB / 0.4955 GB, free: 7.848 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/0.4691, allocations: 206.8 kB / 0.4957 GB, free: 7.633 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4691, allocations: 0 / 0.4957 GB, free: 7.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006809/0.4698, allocations: 245.3 kB / 0.4959 GB, free: 7.387 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.4699, allocations: 4 kB / 0.4959 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4699, allocations: 4 kB / 0.4959 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4699, allocations: 0 / 0.4959 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.4703, allocations: 51.95 kB / 0.4959 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.4704, allocations: 4.125 kB / 0.4959 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.4707, allocations: 19.92 kB / 0.496 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/0.4708, allocations: 16.17 kB / 0.496 GB, free: 7.289 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.0001495/0.4709, allocations: 117.8 kB / 0.4961 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.704e-05/0.471, allocations: 11.84 kB / 0.4961 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.4722, allocations: 280.2 kB / 0.4964 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4722, allocations: 0 / 0.4964 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4722, allocations: 4 kB / 0.4964 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4722, allocations: 0 / 0.4964 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.4739, allocations: 0.5877 MB / 0.497 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4739, allocations: 0 / 0.497 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.4744, allocations: 51.89 kB / 0.497 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.4744, allocations: 4 kB / 0.497 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.4745, allocations: 4 kB / 0.497 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4745, allocations: 0 / 0.497 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.4745, allocations: 3.938 kB / 0.497 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.4752, allocations: 331.7 kB / 0.4973 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.4752, allocations: 89 kB / 0.4974 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.4753, allocations: 7.938 kB / 0.4974 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.4756, allocations: 19.61 kB / 0.4974 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.4756, allocations: 15.92 kB / 0.4975 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.4756, allocations: 15.92 kB / 0.4975 GB, free: 5.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.113e-05/0.4757, allocations: 83.27 kB / 0.4976 GB, free: 5.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4757, allocations: 0 / 0.4976 GB, free: 5.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003509/0.4761, allocations: 52 kB / 0.4976 GB, free: 5.527 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.0002391/0.4763, allocations: 119.1 kB / 0.4977 GB, free: 5.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006527/0.477, allocations: 208 kB / 0.4979 GB, free: 5.199 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.477, allocations: 0 / 0.4979 GB, free: 5.199 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.4773, allocations: 103.9 kB / 0.498 GB, free: 5.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.4778, allocations: 40.08 kB / 0.498 GB, free: 5.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008554/0.4786, allocations: 304.5 kB / 0.4983 GB, free: 4.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.4789, allocations: 0.6928 MB / 0.499 GB, free: 4.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.4791, allocations: 43.34 kB / 0.4991 GB, free: 3.965 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4791, allocations: 0 / 0.4991 GB, free: 3.965 MB / 414.1 MB Notification: Performance of Templates: time 0.004469/0.4836, allocations: 2.326 MB / 0.5013 GB, free: 1.637 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/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