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.0009171/0.0009172, allocations: 96.97 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002041/0.0002041, allocations: 8 kB / 306.6 MB, free: 1.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08537/0.08559, allocations: 51.5 MB / 358.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2916/0.3772, allocations: 125.5 MB / 483.5 MB, free: 15.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.3795, allocations: 2.11 MB / 485.7 MB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.3796, allocations: 3.938 kB / 485.7 MB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.3797, allocations: 27.81 kB / 485.7 MB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000633/0.3803, allocations: 271.2 kB / 486 MB, free: 12.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.3805, allocations: 55.78 kB / 486 MB, free: 12.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.431e-05/0.3806, allocations: 55.91 kB / 486.1 MB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.3806, allocations: 7.984 kB / 486.1 MB, free: 12.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.3808, allocations: 47.84 kB / 486.1 MB, free: 12.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.102e-05/0.3809, allocations: 27.91 kB / 486.1 MB, free: 12.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.694e-06/0.3809, allocations: 0 / 486.1 MB, free: 12.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006675/0.3815, allocations: 383.5 kB / 486.5 MB, free: 12.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.3816, allocations: 8 kB / 486.5 MB, free: 12.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.3816, allocations: 37.64 kB / 486.6 MB, free: 12.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.3819, allocations: 208 kB / 486.8 MB, free: 11.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.3819, allocations: 0 / 486.8 MB, free: 11.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3819, allocations: 0 / 486.8 MB, free: 11.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.3819, allocations: 0 / 486.8 MB, free: 11.94 MB / 398.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.0007688/0.3827, allocations: 431.7 kB / 487.2 MB, free: 11.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3828, allocations: 8.031 kB / 487.2 MB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00609/0.3889, allocations: 459.8 kB / 487.6 MB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.389, allocations: 163 kB / 487.8 MB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.389, allocations: 15.95 kB / 487.8 MB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.511e-05/0.3891, allocations: 7.906 kB / 487.8 MB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007619/0.3899, allocations: 293.3 kB / 488.1 MB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3899, allocations: 0 / 488.1 MB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.3899, allocations: 0 / 488.1 MB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.39, allocations: 4 kB / 488.1 MB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007866/0.3907, allocations: 275.8 kB / 488.4 MB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000933/0.3917, allocations: 425.4 kB / 488.8 MB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000981/0.3927, allocations: 210.3 kB / 489 MB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3927, allocations: 3.938 kB / 489 MB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.3927, allocations: 30.56 kB / 489 MB, free: 9.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.3927, allocations: 0 / 489 MB, free: 9.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001644/0.3944, allocations: 417.5 kB / 489.4 MB, free: 9.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.3944, allocations: 55.39 kB / 489.5 MB, free: 9.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.3945, allocations: 101.9 kB / 489.6 MB, free: 8.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.3946, allocations: 29.7 kB / 489.6 MB, free: 8.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.3946, allocations: 95.94 kB / 489.7 MB, free: 8.777 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.3947, allocations: 67.03 kB / 489.8 MB, free: 8.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.3947, allocations: 4 kB / 489.8 MB, free: 8.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3948, allocations: 314.8 kB / 490.1 MB, free: 8.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.3951, allocations: 80.31 kB / 490.2 MB, free: 8.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.3954, allocations: 122 kB / 490.3 MB, free: 8.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.3956, allocations: 79.91 kB / 490.4 MB, free: 8.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3956, allocations: 4 kB / 490.4 MB, free: 8.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006534/0.3963, allocations: 243.9 kB / 490.6 MB, free: 7.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3963, allocations: 15.94 kB / 490.6 MB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3964, allocations: 0 / 490.6 MB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3964, allocations: 8.125 kB / 490.6 MB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.3968, allocations: 47.95 kB / 490.7 MB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3968, allocations: 0 / 490.7 MB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.397, allocations: 15.98 kB / 490.7 MB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.3971, allocations: 8 kB / 490.7 MB, free: 7.762 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.3972, allocations: 121.8 kB / 490.8 MB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.3972, allocations: 11.89 kB / 490.8 MB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008209/0.3981, allocations: 286.8 kB / 491.1 MB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3981, allocations: 0 / 491.1 MB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3981, allocations: 0 / 491.1 MB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3981, allocations: 4 kB / 491.1 MB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.3994, allocations: 0.5874 MB / 491.7 MB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3994, allocations: 0 / 491.7 MB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/0.3997, allocations: 47.89 kB / 491.8 MB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3997, allocations: 0 / 491.8 MB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.3998, allocations: 11.98 kB / 491.8 MB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.3998, allocations: 8.062 kB / 491.8 MB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3998, allocations: 0 / 491.8 MB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.4005, allocations: 350.7 kB / 492.1 MB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.4005, allocations: 85.02 kB / 492.2 MB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.4006, allocations: 0 / 492.2 MB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.4008, allocations: 15.98 kB / 492.2 MB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.4009, allocations: 19.88 kB / 492.2 MB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.4009, allocations: 15.98 kB / 492.3 MB, free: 6.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.299e-05/0.401, allocations: 83.28 kB / 492.3 MB, free: 6.012 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.401, allocations: 0 / 492.3 MB, free: 6.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003458/0.4013, allocations: 47.98 kB / 492.4 MB, free: 5.965 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002173/0.4016, allocations: 119.2 kB / 492.5 MB, free: 5.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005937/0.4022, allocations: 195.8 kB / 492.7 MB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4022, allocations: 0 / 492.7 MB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.4025, allocations: 104.2 kB / 492.8 MB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.4028, allocations: 35.91 kB / 492.8 MB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007726/0.4036, allocations: 318.1 kB / 493.1 MB, free: 5.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.4039, allocations: 0.6974 MB / 493.8 MB, free: 4.441 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003926/0.4043, allocations: 64.11 kB / 493.9 MB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.4044, allocations: 35.41 kB / 493.9 MB, free: 4.348 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4044, allocations: 0 / 493.9 MB, free: 4.348 MB / 398.1 MB Notification: Performance of Templates: time 0.005692/0.4101, allocations: 2.893 MB / 496.8 MB, free: 1.492 MB / 398.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","../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches