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.001436/0.001436, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 61.41 kB / 307.6 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09722, allocations: 50.53 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3291/0.4263, allocations: 152.2 MB / 0.4984 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.429, allocations: 2.544 MB / 0.5009 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.4291, allocations: 0 / 0.5009 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.4293, allocations: 23.83 kB / 0.5009 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009145/0.4302, allocations: 338 kB / 0.5012 GB, free: 200 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.4304, allocations: 60.23 kB / 0.5013 GB, free: 140 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.4306, allocations: 115.3 kB / 0.5014 GB, free: 24 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.4306, allocations: 4 kB / 0.5014 GB, free: 20 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.4307, allocations: 39.8 kB / 0.5014 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.451e-05/0.4308, allocations: 39.78 kB / 0.5015 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.4309, allocations: 8 kB / 0.5015 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007241/0.4316, allocations: 363.5 kB / 0.5018 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.4316, allocations: 15.91 kB / 0.5018 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.4317, allocations: 35.81 kB / 0.5019 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.4322, allocations: 316.3 kB / 0.5022 GB, free: 15.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4322, allocations: 0 / 0.5022 GB, free: 15.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4322, allocations: 0 / 0.5022 GB, free: 15.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.4322, allocations: 4 kB / 0.5022 GB, free: 15.22 MB / 430.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.0008997/0.4331, allocations: 459.8 kB / 0.5026 GB, free: 14.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.4331, allocations: 8.031 kB / 0.5026 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006619/0.4398, allocations: 460.6 kB / 0.503 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.44, allocations: 183.5 kB / 0.5032 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.44, allocations: 4 kB / 0.5032 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.99e-05/0.4401, allocations: 8 kB / 0.5032 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007801/0.4409, allocations: 297.3 kB / 0.5035 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.4409, allocations: 4 kB / 0.5035 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/0.441, allocations: 7.938 kB / 0.5035 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.441, allocations: 0 / 0.5035 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008388/0.4419, allocations: 283.8 kB / 0.5038 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.4422, allocations: 242.2 kB / 0.504 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.4426, allocations: 162.8 kB / 0.5042 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.4428, allocations: 92.8 kB / 0.5043 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.4429, allocations: 0 / 0.5043 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.4429, allocations: 35.44 kB / 0.5043 GB, free: 12.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.4429, allocations: 0 / 0.5043 GB, free: 12.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.002224/0.4451, allocations: 0.5844 MB / 0.5049 GB, free: 12.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.4452, allocations: 63.34 kB / 0.5049 GB, free: 12.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.4453, allocations: 106.5 kB / 0.505 GB, free: 12.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.4453, allocations: 25.7 kB / 0.5051 GB, free: 12.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.4454, allocations: 88.58 kB / 0.5051 GB, free: 11.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.179e-05/0.4455, allocations: 82.75 kB / 0.5052 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-05/0.4456, allocations: 41.7 kB / 0.5053 GB, free: 11.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4457, allocations: 322.8 kB / 0.5056 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.446, allocations: 103.9 kB / 0.5057 GB, free: 11.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.4463, allocations: 99.94 kB / 0.5058 GB, free: 11.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/0.447, allocations: 227.7 kB / 0.506 GB, free: 11.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.447, allocations: 0 / 0.506 GB, free: 11.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007491/0.4477, allocations: 285.3 kB / 0.5063 GB, free: 10.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.4477, allocations: 4 kB / 0.5063 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4478, allocations: 0.5 kB / 0.5063 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.4478, allocations: 4 kB / 0.5063 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.4483, allocations: 55.89 kB / 0.5063 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4483, allocations: 4 kB / 0.5063 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.4486, allocations: 19.42 kB / 0.5063 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.4486, allocations: 15.98 kB / 0.5064 GB, free: 10.71 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.0001306/0.4488, allocations: 129.7 kB / 0.5065 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.4488, allocations: 7.906 kB / 0.5065 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009892/0.4498, allocations: 357.6 kB / 0.5068 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.4498, allocations: 11.92 kB / 0.5068 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.4498, allocations: 0 / 0.5068 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4499, allocations: 3.984 kB / 0.5068 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.4515, allocations: 0.7282 MB / 0.5076 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4515, allocations: 0 / 0.5076 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.4519, allocations: 59.89 kB / 0.5076 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.4519, allocations: 4.156 kB / 0.5076 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.452, allocations: 11.98 kB / 0.5076 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.452, allocations: 4 kB / 0.5076 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.452, allocations: 3.938 kB / 0.5076 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008375/0.4528, allocations: 407.7 kB / 0.508 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.4529, allocations: 89.02 kB / 0.5081 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.453, allocations: 4 kB / 0.5081 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.4533, allocations: 19.98 kB / 0.5081 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.4534, allocations: 31.84 kB / 0.5082 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.4534, allocations: 8 kB / 0.5082 GB, free: 8.719 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.614e-05/0.4534, allocations: 91.27 kB / 0.5083 GB, free: 8.629 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4535, allocations: 0 / 0.5083 GB, free: 8.629 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.4538, allocations: 52 kB / 0.5083 GB, free: 8.578 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.0002476/0.4541, allocations: 139.1 kB / 0.5084 GB, free: 8.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007733/0.4549, allocations: 251.7 kB / 0.5087 GB, free: 8.188 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4549, allocations: 0 / 0.5087 GB, free: 8.188 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.4552, allocations: 139.8 kB / 0.5088 GB, free: 8.051 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005776/0.4558, allocations: 74.02 kB / 0.5089 GB, free: 7.984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009553/0.4568, allocations: 371.9 kB / 0.5092 GB, free: 7.574 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.4571, allocations: 0.7047 MB / 0.5099 GB, free: 6.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.4573, allocations: 39.41 kB / 0.51 GB, free: 6.805 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4573, allocations: 0 / 0.51 GB, free: 6.805 MB / 430.1 MB Notification: Performance of Templates: time 0.00514/0.4624, allocations: 2.904 MB / 0.5128 GB, free: 3.898 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/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_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches