Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.IdealGasH2O.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.006916/0.006915, allocations: 199 kB / 18.07 MB, free: 3.758 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.788/2.788, allocations: 226.5 MB / 245.4 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001419/0.001419, allocations: 95.64 kB / 297.4 MB, free: 6.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005309/0.0005312, allocations: 8 kB / 357.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5351/0.5357, allocations: 51.3 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.829/2.365, allocations: 444.1 MB / 0.8327 GB, free: 11.29 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/2.366, allocations: 67.91 kB / 0.8328 GB, free: 11.26 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5254/2.891, allocations: 25.51 MB / 0.8577 GB, free: 170 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.996e-06/2.891, allocations: 0 / 0.8577 GB, free: 170 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/2.891, allocations: 0 / 0.8577 GB, free: 170 MB / 458.7 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.001273/2.893, allocations: 449.1 kB / 0.8581 GB, free: 169.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/2.893, allocations: 9.219 kB / 0.8582 GB, free: 169.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007988/2.901, allocations: 464.1 kB / 0.8586 GB, free: 169.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/2.901, allocations: 165.2 kB / 0.8588 GB, free: 169.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/2.901, allocations: 7.125 kB / 0.8588 GB, free: 169.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/2.901, allocations: 10.84 kB / 0.8588 GB, free: 169.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/2.902, allocations: 298.9 kB / 0.8591 GB, free: 169.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/2.902, allocations: 3.328 kB / 0.8591 GB, free: 169.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/2.903, allocations: 3.938 kB / 0.8591 GB, free: 169.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/2.903, allocations: 3.375 kB / 0.8591 GB, free: 169.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/2.904, allocations: 273.4 kB / 0.8593 GB, free: 169.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/2.905, allocations: 435.9 kB / 0.8597 GB, free: 169.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/2.907, allocations: 228 kB / 0.86 GB, free: 169 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/2.907, allocations: 68.58 kB / 0.86 GB, free: 169 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.028e-05/2.907, allocations: 5.797 kB / 0.86 GB, free: 169 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/2.907, allocations: 41.42 kB / 0.8601 GB, free: 169 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 5.35e-06/2.907, allocations: 0 / 0.8601 GB, free: 169 MB / 458.7 MB Notification: Performance of matching and sorting (n=17): time 0.00296/2.91, allocations: 414.7 kB / 0.8605 GB, free: 168.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/2.91, allocations: 54.69 kB / 0.8605 GB, free: 168.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/2.91, allocations: 102.6 kB / 0.8606 GB, free: 168.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/2.91, allocations: 32.95 kB / 0.8606 GB, free: 168.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/2.91, allocations: 91.33 kB / 0.8607 GB, free: 168.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.153e-05/2.911, allocations: 60.23 kB / 0.8608 GB, free: 168.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/2.911, allocations: 4 kB / 0.8608 GB, free: 168.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/2.911, allocations: 324.2 kB / 0.8611 GB, free: 168.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/2.911, allocations: 77.95 kB / 0.8612 GB, free: 168.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/2.911, allocations: 119.9 kB / 0.8613 GB, free: 168.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007723/2.912, allocations: 203.3 kB / 0.8615 GB, free: 168.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/2.912, allocations: 0 / 0.8615 GB, free: 168.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009239/2.913, allocations: 238.8 kB / 0.8617 GB, free: 168.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/2.913, allocations: 5.781 kB / 0.8617 GB, free: 168.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/2.913, allocations: 11 kB / 0.8617 GB, free: 168.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/2.913, allocations: 8.062 kB / 0.8617 GB, free: 168.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/2.914, allocations: 50.03 kB / 0.8618 GB, free: 168.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/2.914, allocations: 3.562 kB / 0.8618 GB, free: 168.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/2.914, allocations: 17.27 kB / 0.8618 GB, free: 168.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.755e-05/2.914, allocations: 9.406 kB / 0.8618 GB, free: 168.1 MB / 458.7 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.0001373/2.914, allocations: 124.8 kB / 0.8619 GB, free: 168 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/2.915, allocations: 10.48 kB / 0.8619 GB, free: 167.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/2.916, allocations: 276.1 kB / 0.8622 GB, free: 167.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/2.916, allocations: 11.55 kB / 0.8622 GB, free: 167.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/2.916, allocations: 0 / 0.8622 GB, free: 167.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/2.916, allocations: 3.938 kB / 0.8622 GB, free: 167.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/2.917, allocations: 0.5685 MB / 0.8628 GB, free: 167.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/2.917, allocations: 4 kB / 0.8628 GB, free: 167.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/2.918, allocations: 46.91 kB / 0.8628 GB, free: 167.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/2.918, allocations: 0 / 0.8628 GB, free: 167.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/2.918, allocations: 11.84 kB / 0.8628 GB, free: 167.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/2.918, allocations: 6.422 kB / 0.8628 GB, free: 167.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/2.918, allocations: 0 / 0.8628 GB, free: 167.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008642/2.919, allocations: 330.4 kB / 0.8632 GB, free: 167.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/2.919, allocations: 84.39 kB / 0.8632 GB, free: 167.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/2.919, allocations: 7 kB / 0.8632 GB, free: 167.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/2.919, allocations: 13.55 kB / 0.8633 GB, free: 167.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/2.919, allocations: 13.47 kB / 0.8633 GB, free: 167.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/2.919, allocations: 9.5 kB / 0.8633 GB, free: 167.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.574e-05/2.919, allocations: 86.69 kB / 0.8634 GB, free: 167 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/2.919, allocations: 0 / 0.8634 GB, free: 167 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008019/2.92, allocations: 84.91 kB / 0.8634 GB, free: 167 MB / 458.7 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.001325/2.922, allocations: 0.5166 MB / 0.864 GB, free: 166.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009931/2.923, allocations: 200.5 kB / 0.8641 GB, free: 166.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/2.923, allocations: 7.281 kB / 0.8641 GB, free: 166.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004202/2.923, allocations: 99.95 kB / 0.8642 GB, free: 166.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/2.924, allocations: 42.53 kB / 0.8643 GB, free: 166.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/2.925, allocations: 335.3 kB / 0.8646 GB, free: 166.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004386/2.929, allocations: 0.6913 MB / 0.8653 GB, free: 165.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/2.93, allocations: 44.56 kB / 0.8653 GB, free: 165.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.462e-06/2.93, allocations: 0 / 0.8653 GB, free: 165.7 MB / 458.7 MB Notification: Performance of Templates: time 0.01311/2.943, allocations: 4.692 MB / 0.8699 GB, free: 162.7 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.IdealGasH2O --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches