Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001071/0.001071, allocations: 92.59 kB / 17.31 MB, free: 5.59 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.001238/0.001238, allocations: 175.9 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.3 MB / 242.3 MB, free: 16 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002604, allocations: 12.08 kB / 302.1 MB, free: 6.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09926/0.09954, allocations: 50.42 MB / 352.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3447/0.4443, allocations: 145.1 MB / 497.6 MB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003383/0.4477, allocations: 2.529 MB / 0.4884 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.4478, allocations: 0 / 0.4884 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.448, allocations: 23.89 kB / 0.4884 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008901/0.4489, allocations: 264.8 kB / 0.4887 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.4491, allocations: 55.8 kB / 0.4887 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.4492, allocations: 71.61 kB / 0.4888 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.4493, allocations: 8 kB / 0.4888 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.4494, allocations: 35.8 kB / 0.4888 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.074e-05/0.4495, allocations: 23.91 kB / 0.4888 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.4496, allocations: 0 / 0.4888 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008159/0.4504, allocations: 363.5 kB / 0.4892 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.4504, allocations: 11.94 kB / 0.4892 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.4505, allocations: 57.55 kB / 0.4893 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.4509, allocations: 209 kB / 0.4895 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4509, allocations: 4 kB / 0.4895 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4509, allocations: 7.875 kB / 0.4895 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.4509, allocations: 0 / 0.4895 GB, free: 0.9023 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.0008424/0.4518, allocations: 423.9 kB / 0.4899 GB, free: 452 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4518, allocations: 12.03 kB / 0.4899 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006297/0.4581, allocations: 457.2 kB / 0.4903 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.4582, allocations: 172.1 kB / 0.4905 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.4583, allocations: 7.984 kB / 0.4905 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.481e-05/0.4584, allocations: 15.84 kB / 0.4905 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007625/0.4591, allocations: 293.3 kB / 0.4908 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.4592, allocations: 3.938 kB / 0.4908 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/0.4592, allocations: 8 kB / 0.4908 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4592, allocations: 4 kB / 0.4908 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000811/0.46, allocations: 271.8 kB / 0.4911 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009631/0.461, allocations: 420.9 kB / 0.4915 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.462, allocations: 203.4 kB / 0.4917 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.4622, allocations: 72.81 kB / 0.4917 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.4623, allocations: 0 / 0.4917 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.4623, allocations: 42.5 kB / 0.4918 GB, free: 14.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.4623, allocations: 0 / 0.4918 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001743/0.4641, allocations: 427.1 kB / 0.4922 GB, free: 13.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.4641, allocations: 55.41 kB / 0.4922 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.022e-05/0.4642, allocations: 97.86 kB / 0.4923 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.4643, allocations: 29.7 kB / 0.4923 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.4643, allocations: 99.88 kB / 0.4924 GB, free: 13.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.4644, allocations: 55.11 kB / 0.4925 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.4644, allocations: 21.72 kB / 0.4925 GB, free: 13.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4646, allocations: 322.8 kB / 0.4928 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.4648, allocations: 75.94 kB / 0.4929 GB, free: 13.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.4651, allocations: 112.2 kB / 0.493 GB, free: 13.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005963/0.4657, allocations: 202.7 kB / 0.4932 GB, free: 12.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.4658, allocations: 7.938 kB / 0.4932 GB, free: 12.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006715/0.4664, allocations: 253.2 kB / 0.4934 GB, free: 12.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4665, allocations: 6.5 kB / 0.4935 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.4665, allocations: 4 kB / 0.4935 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4665, allocations: 128 / 0.4935 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.4669, allocations: 55.89 kB / 0.4935 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4669, allocations: 4 kB / 0.4935 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.4672, allocations: 16.86 kB / 0.4935 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.4672, allocations: 8 kB / 0.4935 GB, free: 12.48 MB / 414.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.0001151/0.4673, allocations: 129.7 kB / 0.4937 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.4674, allocations: 4 kB / 0.4937 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008617/0.4683, allocations: 278.8 kB / 0.4939 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4683, allocations: 3.938 kB / 0.4939 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4683, allocations: 0 / 0.4939 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4683, allocations: 3.984 kB / 0.4939 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.4696, allocations: 0.5891 MB / 0.4945 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4696, allocations: 0 / 0.4945 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.4699, allocations: 44.89 kB / 0.4946 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.4699, allocations: 4 kB / 0.4946 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.47, allocations: 7.984 kB / 0.4946 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.47, allocations: 4.062 kB / 0.4946 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.47, allocations: 3.938 kB / 0.4946 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006831/0.4707, allocations: 332.9 kB / 0.4949 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.4707, allocations: 85.02 kB / 0.495 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.4708, allocations: 7.938 kB / 0.495 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.4711, allocations: 11.98 kB / 0.495 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.4711, allocations: 19.91 kB / 0.495 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.4711, allocations: 8 kB / 0.495 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.963e-05/0.4712, allocations: 83.27 kB / 0.4951 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.4712, allocations: 0 / 0.4951 GB, free: 10.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003272/0.4715, allocations: 51.94 kB / 0.4951 GB, free: 10.73 MB / 414.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.0002296/0.4718, allocations: 135.1 kB / 0.4953 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006337/0.4724, allocations: 198 kB / 0.4955 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.4724, allocations: 4 kB / 0.4955 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.4727, allocations: 100.2 kB / 0.4956 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.4732, allocations: 35.97 kB / 0.4956 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008617/0.474, allocations: 338.3 kB / 0.4959 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.4743, allocations: 0.7008 MB / 0.4966 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.4745, allocations: 39.41 kB / 0.4966 GB, free: 9.129 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4745, allocations: 0 / 0.4966 GB, free: 9.129 MB / 414.1 MB Notification: Performance of Templates: time 0.005275/0.4798, allocations: 2.316 MB / 0.4989 GB, free: 6.816 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches