Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 110.4 kB / 17.73 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.00151, allocations: 187.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 47.92 kB / 328.5 MB, free: 3.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1037, allocations: 46.62 MB / 375.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3971/0.5009, allocations: 150.4 MB / 0.5132 GB, free: 8.758 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.5026, allocations: 1.524 MB / 0.5147 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.5027, allocations: 0 / 0.5147 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.5029, allocations: 27.78 kB / 0.5148 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009108/0.5039, allocations: 318.3 kB / 0.5151 GB, free: 6.895 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.5041, allocations: 68.3 kB / 0.5151 GB, free: 6.828 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.5042, allocations: 67.61 kB / 0.5152 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.5042, allocations: 7.984 kB / 0.5152 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.5043, allocations: 37.5 kB / 0.5152 GB, free: 6.719 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/0.5044, allocations: 27.84 kB / 0.5153 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.5044, allocations: 0 / 0.5153 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007297/0.5052, allocations: 365 kB / 0.5156 GB, free: 6.336 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.5052, allocations: 11.92 kB / 0.5156 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.5052, allocations: 31.86 kB / 0.5157 GB, free: 6.293 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005452/0.5058, allocations: 287 kB / 0.5159 GB, free: 6.016 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.5058, allocations: 4 kB / 0.5159 GB, free: 6.012 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5058, allocations: 0 / 0.5159 GB, free: 6.012 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.5058, allocations: 0 / 0.5159 GB, free: 6.012 MB / 446.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.0008622/0.5067, allocations: 431.3 kB / 0.5163 GB, free: 5.543 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.5067, allocations: 12.03 kB / 0.5164 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00671/0.5135, allocations: 465.3 kB / 0.5168 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.5136, allocations: 168.5 kB / 0.517 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.5137, allocations: 7.938 kB / 0.517 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.816e-05/0.5138, allocations: 8 kB / 0.517 GB, free: 4.859 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008045/0.5146, allocations: 293.3 kB / 0.5172 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5146, allocations: 0 / 0.5172 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/0.5147, allocations: 8 kB / 0.5173 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.5147, allocations: 3.938 kB / 0.5173 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008098/0.5155, allocations: 275.7 kB / 0.5175 GB, free: 4.285 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.5165, allocations: 436.7 kB / 0.5179 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.5176, allocations: 206.4 kB / 0.5181 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.5178, allocations: 72.81 kB / 0.5182 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.5178, allocations: 0 / 0.5182 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.518, allocations: 34.56 kB / 0.5182 GB, free: 3.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.518, allocations: 0 / 0.5182 GB, free: 3.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001877/0.5199, allocations: 430.8 kB / 0.5187 GB, free: 3.055 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.5199, allocations: 51.41 kB / 0.5187 GB, free: 2.992 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.916e-05/0.52, allocations: 105.8 kB / 0.5188 GB, free: 2.879 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.5201, allocations: 29.7 kB / 0.5188 GB, free: 2.844 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.5202, allocations: 92.56 kB / 0.5189 GB, free: 2.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.5202, allocations: 55.2 kB / 0.519 GB, free: 2.695 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.5203, allocations: 53.56 kB / 0.519 GB, free: 2.637 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5205, allocations: 314.8 kB / 0.5193 GB, free: 2.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.5207, allocations: 79.94 kB / 0.5194 GB, free: 2.242 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.521, allocations: 116.2 kB / 0.5195 GB, free: 2.113 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/0.5216, allocations: 207.3 kB / 0.5197 GB, free: 1.898 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5216, allocations: 8 kB / 0.5197 GB, free: 1.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006843/0.5223, allocations: 242.2 kB / 0.5199 GB, free: 1.648 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5224, allocations: 4 kB / 0.5199 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.5224, allocations: 4 kB / 0.52 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.5224, allocations: 4.125 kB / 0.52 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.5228, allocations: 51.95 kB / 0.52 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.5228, allocations: 4 kB / 0.52 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.5231, allocations: 11.92 kB / 0.52 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/0.5231, allocations: 19.98 kB / 0.52 GB, free: 1.551 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.5233, allocations: 117.8 kB / 0.5202 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.5233, allocations: 11.91 kB / 0.5202 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008715/0.5242, allocations: 277 kB / 0.5204 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5242, allocations: 0 / 0.5204 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5242, allocations: 192 / 0.5204 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.5242, allocations: 3.984 kB / 0.5204 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.5255, allocations: 0.5829 MB / 0.521 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5256, allocations: 0 / 0.521 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.5259, allocations: 47.91 kB / 0.521 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.5259, allocations: 4 kB / 0.5211 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.526, allocations: 3.984 kB / 0.5211 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.526, allocations: 8.062 kB / 0.5211 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.526, allocations: 0 / 0.5211 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006755/0.5267, allocations: 333.5 kB / 0.5214 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.5268, allocations: 84.95 kB / 0.5215 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.5268, allocations: 19.86 kB / 0.5215 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.5271, allocations: 11.98 kB / 0.5215 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.5271, allocations: 11.92 kB / 0.5215 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.5272, allocations: 12 kB / 0.5215 GB, free: 15.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.27e-05/0.5272, allocations: 83.27 kB / 0.5216 GB, free: 15.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5272, allocations: 4 kB / 0.5216 GB, free: 15.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003566/0.5276, allocations: 40 kB / 0.5216 GB, free: 15.8 MB / 462.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 (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.0002877/0.5279, allocations: 123.2 kB / 0.5218 GB, free: 15.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006777/0.5286, allocations: 207.6 kB / 0.522 GB, free: 15.47 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5286, allocations: 4 kB / 0.522 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.5289, allocations: 100.2 kB / 0.5221 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.5294, allocations: 36.94 kB / 0.5221 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008919/0.5303, allocations: 274.9 kB / 0.5223 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.5306, allocations: 0.6928 MB / 0.523 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002759/0.5309, allocations: 52.75 kB / 0.5231 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.5311, allocations: 31.42 kB / 0.5231 GB, free: 14.23 MB / 462.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5311, allocations: 0 / 0.5231 GB, free: 14.23 MB / 462.1 MB Notification: Performance of Templates: time 0.006667/0.5378, allocations: 3.075 MB / 0.5261 GB, free: 11.16 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches