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.001176/0.001176, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 58.91 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1189, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3231/0.4421, allocations: 152.2 MB / 0.4991 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.4449, allocations: 2.534 MB / 0.5016 GB, free: 8 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.4449, allocations: 0 / 0.5016 GB, free: 8 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.4452, allocations: 29.94 kB / 0.5016 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009358/0.4461, allocations: 341.6 kB / 0.5019 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.4463, allocations: 72.84 kB / 0.502 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.4465, allocations: 103.2 kB / 0.5021 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.4465, allocations: 4 kB / 0.5021 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.4467, allocations: 43.78 kB / 0.5021 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.4467, allocations: 35.8 kB / 0.5022 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.4468, allocations: 4 kB / 0.5022 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007719/0.4475, allocations: 367.5 kB / 0.5025 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.4476, allocations: 15.86 kB / 0.5025 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.4476, allocations: 35.88 kB / 0.5026 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.4482, allocations: 320.4 kB / 0.5029 GB, free: 14.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4482, allocations: 0 / 0.5029 GB, free: 14.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4482, allocations: 0 / 0.5029 GB, free: 14.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.4482, allocations: 3 kB / 0.5029 GB, free: 14.68 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.000906/0.4491, allocations: 459.8 kB / 0.5033 GB, free: 14.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4492, allocations: 8.031 kB / 0.5033 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006015/0.4552, allocations: 468.6 kB / 0.5038 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.4554, allocations: 176.3 kB / 0.504 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.4554, allocations: 4 kB / 0.504 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.815e-05/0.4555, allocations: 8 kB / 0.504 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/0.4562, allocations: 306.4 kB / 0.5043 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4563, allocations: 0 / 0.5043 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.4563, allocations: 0 / 0.5043 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4563, allocations: 4 kB / 0.5043 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007897/0.4571, allocations: 271.8 kB / 0.5045 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.4574, allocations: 258 kB / 0.5048 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.4579, allocations: 170.8 kB / 0.5049 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.4581, allocations: 80.81 kB / 0.505 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.4581, allocations: 8 kB / 0.505 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.4582, allocations: 34.56 kB / 0.505 GB, free: 12.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.704e-06/0.4582, allocations: 0 / 0.505 GB, free: 12.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.002183/0.4604, allocations: 0.5737 MB / 0.5056 GB, free: 11.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.4604, allocations: 59.34 kB / 0.5057 GB, free: 11.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.4605, allocations: 107.5 kB / 0.5058 GB, free: 11.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.4605, allocations: 33.7 kB / 0.5058 GB, free: 11.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.4606, allocations: 84.58 kB / 0.5059 GB, free: 11.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.154e-05/0.4607, allocations: 86.73 kB / 0.506 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.4608, allocations: 49.69 kB / 0.506 GB, free: 11.28 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4609, allocations: 314.8 kB / 0.5063 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.4612, allocations: 103.9 kB / 0.5064 GB, free: 10.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.4615, allocations: 99.94 kB / 0.5065 GB, free: 10.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005896/0.4621, allocations: 224.4 kB / 0.5067 GB, free: 10.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4621, allocations: 0 / 0.5067 GB, free: 10.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007116/0.4628, allocations: 289.3 kB / 0.507 GB, free: 10.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.4629, allocations: 8 kB / 0.507 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4629, allocations: 7.875 kB / 0.507 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.4629, allocations: 0 / 0.507 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/0.4634, allocations: 55.89 kB / 0.5071 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4634, allocations: 1.062 kB / 0.5071 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.4637, allocations: 19.98 kB / 0.5071 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/0.4637, allocations: 19.92 kB / 0.5071 GB, free: 10.15 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.0001274/0.4639, allocations: 121.8 kB / 0.5072 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.4639, allocations: 7.906 kB / 0.5072 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008957/0.4648, allocations: 351.9 kB / 0.5076 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.4648, allocations: 7.922 kB / 0.5076 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4648, allocations: 0.875 kB / 0.5076 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4649, allocations: 8 kB / 0.5076 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.4663, allocations: 0.7165 MB / 0.5083 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.4663, allocations: 0 / 0.5083 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004092/0.4668, allocations: 59.89 kB / 0.5083 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.4668, allocations: 3.984 kB / 0.5083 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.4668, allocations: 17.17 kB / 0.5084 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.4668, allocations: 0 / 0.5084 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4668, allocations: 7.938 kB / 0.5084 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007697/0.4676, allocations: 411.8 kB / 0.5088 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.4677, allocations: 85.02 kB / 0.5088 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.4677, allocations: 8 kB / 0.5088 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.468, allocations: 15.98 kB / 0.5089 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.4681, allocations: 23.91 kB / 0.5089 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.4681, allocations: 19.92 kB / 0.5089 GB, free: 8.176 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.219e-05/0.4682, allocations: 91.59 kB / 0.509 GB, free: 8.086 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4682, allocations: 0 / 0.509 GB, free: 8.086 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003469/0.4686, allocations: 52 kB / 0.509 GB, free: 8.035 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.0002397/0.4688, allocations: 147 kB / 0.5092 GB, free: 7.883 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006939/0.4695, allocations: 239.7 kB / 0.5094 GB, free: 7.648 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4695, allocations: 0 / 0.5094 GB, free: 7.648 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.4698, allocations: 140.1 kB / 0.5095 GB, free: 7.512 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.4704, allocations: 61.19 kB / 0.5096 GB, free: 7.453 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008678/0.4712, allocations: 346.5 kB / 0.5099 GB, free: 7.074 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.4715, allocations: 0.7008 MB / 0.5106 GB, free: 6.348 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000283/0.4718, allocations: 53.52 kB / 0.5107 GB, free: 6.297 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.472, allocations: 39.41 kB / 0.5107 GB, free: 6.258 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.472, allocations: 0 / 0.5107 GB, free: 6.258 MB / 430.1 MB Notification: Performance of Templates: time 0.007691/0.4797, allocations: 4.123 MB / 0.5147 GB, free: 2.16 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 -s cvode -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