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.001344/0.001344, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 61.19 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08413/0.08536, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2947/0.3801, allocations: 152.2 MB / 0.4991 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002557/0.3827, allocations: 2.548 MB / 0.5016 GB, free: 8 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.3828, allocations: 0 / 0.5016 GB, free: 8 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.383, allocations: 29.94 kB / 0.5016 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009286/0.3839, allocations: 341.6 kB / 0.502 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.3841, allocations: 59.73 kB / 0.502 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.3843, allocations: 103.4 kB / 0.5021 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.3843, allocations: 8 kB / 0.5021 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3844, allocations: 43.69 kB / 0.5022 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.881e-05/0.3845, allocations: 35.84 kB / 0.5022 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3845, allocations: 4 kB / 0.5022 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006628/0.3852, allocations: 367.5 kB / 0.5026 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.3852, allocations: 11.91 kB / 0.5026 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.37e-05/0.3853, allocations: 43.75 kB / 0.5026 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004513/0.3857, allocations: 313.6 kB / 0.5029 GB, free: 14.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3857, allocations: 0 / 0.5029 GB, free: 14.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3857, allocations: 0 / 0.5029 GB, free: 14.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3858, allocations: 0 / 0.5029 GB, free: 14.69 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.0008636/0.3866, allocations: 459.7 kB / 0.5033 GB, free: 14.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3867, allocations: 8.031 kB / 0.5033 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006134/0.3928, allocations: 464.6 kB / 0.5038 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.393, allocations: 175.6 kB / 0.504 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.393, allocations: 15.94 kB / 0.504 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-05/0.3931, allocations: 4 kB / 0.504 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007232/0.3938, allocations: 301.3 kB / 0.5043 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3938, allocations: 0 / 0.5043 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.3939, allocations: 7.938 kB / 0.5043 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3939, allocations: 4 kB / 0.5043 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007866/0.3947, allocations: 275.8 kB / 0.5045 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.395, allocations: 250 kB / 0.5048 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.3954, allocations: 166.8 kB / 0.5049 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.3956, allocations: 84.81 kB / 0.505 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.3956, allocations: 4 kB / 0.505 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3956, allocations: 30.56 kB / 0.5051 GB, free: 12.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 2.925e-06/0.3957, allocations: 3.984 kB / 0.5051 GB, free: 12.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.002195/0.3979, allocations: 0.5814 MB / 0.5056 GB, free: 11.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.3979, allocations: 59.34 kB / 0.5057 GB, free: 11.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.318e-05/0.398, allocations: 109.8 kB / 0.5058 GB, free: 11.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.398, allocations: 33.7 kB / 0.5058 GB, free: 11.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.3981, allocations: 84.58 kB / 0.5059 GB, free: 11.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.618e-05/0.3982, allocations: 78.75 kB / 0.506 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.3983, allocations: 45.7 kB / 0.506 GB, free: 11.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.3984, allocations: 326.8 kB / 0.5063 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.3987, allocations: 99.92 kB / 0.5064 GB, free: 10.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.399, allocations: 95.94 kB / 0.5065 GB, free: 10.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005807/0.3995, allocations: 231.7 kB / 0.5067 GB, free: 10.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.3996, allocations: 0 / 0.5067 GB, free: 10.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007101/0.4003, allocations: 277.3 kB / 0.507 GB, free: 10.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4003, allocations: 8 kB / 0.507 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4003, allocations: 4 kB / 0.507 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4003, allocations: 3.938 kB / 0.507 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/0.4008, allocations: 59.89 kB / 0.5071 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.4008, allocations: 0 / 0.5071 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.4011, allocations: 15.98 kB / 0.5071 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.4012, allocations: 11.98 kB / 0.5071 GB, free: 10.17 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.0001096/0.4013, allocations: 129.7 kB / 0.5072 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.4013, allocations: 7.906 kB / 0.5072 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009027/0.4022, allocations: 348 kB / 0.5076 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.4022, allocations: 3.938 kB / 0.5076 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4023, allocations: 4.484 kB / 0.5076 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4023, allocations: 4 kB / 0.5076 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.4037, allocations: 0.7207 MB / 0.5083 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4038, allocations: 0.875 kB / 0.5083 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004586/0.4042, allocations: 68.05 kB / 0.5083 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4042, allocations: 3.938 kB / 0.5083 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.4043, allocations: 11.98 kB / 0.5084 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4043, allocations: 0 / 0.5084 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4043, allocations: 4 kB / 0.5084 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007535/0.405, allocations: 421.7 kB / 0.5088 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.4051, allocations: 85.02 kB / 0.5088 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.4052, allocations: 8 kB / 0.5089 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.4055, allocations: 19.98 kB / 0.5089 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.4055, allocations: 19.95 kB / 0.5089 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.4056, allocations: 15.94 kB / 0.5089 GB, free: 8.188 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.027e-05/0.4056, allocations: 87.27 kB / 0.509 GB, free: 8.102 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4056, allocations: 3.938 kB / 0.509 GB, free: 8.098 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.406, allocations: 56 kB / 0.509 GB, free: 8.043 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.0002051/0.4062, allocations: 135.1 kB / 0.5092 GB, free: 7.902 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007014/0.4069, allocations: 251.7 kB / 0.5094 GB, free: 7.656 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4069, allocations: 0 / 0.5094 GB, free: 7.656 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.4073, allocations: 135.8 kB / 0.5095 GB, free: 7.523 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.4078, allocations: 62.69 kB / 0.5096 GB, free: 7.469 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008764/0.4087, allocations: 338.5 kB / 0.5099 GB, free: 7.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.4089, allocations: 0.7047 MB / 0.5106 GB, free: 6.367 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002888/0.4092, allocations: 57.5 kB / 0.5107 GB, free: 6.312 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.4094, allocations: 43.41 kB / 0.5107 GB, free: 6.27 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4094, allocations: 0 / 0.5107 GB, free: 6.27 MB / 430.1 MB Notification: Performance of Templates: time 0.007262/0.4167, allocations: 4.11 MB / 0.5147 GB, free: 2.184 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 gbode -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