Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008189/0.0008188, allocations: 90.3 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3816/0.3816, allocations: 43.56 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.0004347, allocations: 12 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1394, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.285/0.4245, allocations: 12.8 MB / 0.4913 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02929/0.4538, allocations: 24.59 MB / 0.5153 GB, free: 24.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005118/0.4544, allocations: 5 kB / 0.5153 GB, free: 24.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005007/0.4549, allocations: 76.81 kB / 0.5154 GB, free: 24.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02696/0.4819, allocations: 6.566 MB / 0.5218 GB, free: 21.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.4829, allocations: 296.5 kB / 0.522 GB, free: 20.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004281/0.4872, allocations: 3.199 MB / 0.5252 GB, free: 20.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.413e-05/0.4873, allocations: 18.45 kB / 0.5252 GB, free: 20.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004592/0.4878, allocations: 246 kB / 0.5254 GB, free: 20.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00661/0.4944, allocations: 5.666 MB / 0.531 GB, free: 19.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.295e-05/0.4945, allocations: 16.88 kB / 0.531 GB, free: 19.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02819/0.5227, allocations: 11.08 MB / 0.5418 GB, free: 17.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.523, allocations: 51.17 kB / 0.5418 GB, free: 17.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002404/0.5232, allocations: 74.42 kB / 0.5419 GB, free: 17.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01389/0.5371, allocations: 4.501 MB / 0.5463 GB, free: 15.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5372, allocations: 0.7812 kB / 0.5463 GB, free: 15.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.5372, allocations: 0 / 0.5463 GB, free: 15.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.5372, allocations: 1.25 kB / 0.5463 GB, free: 15.26 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.008498/0.5457, allocations: 1.547 MB / 0.5478 GB, free: 14.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.5458, allocations: 9.344 kB / 0.5478 GB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.5473, allocations: 192.4 kB / 0.548 GB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.5478, allocations: 270.2 kB / 0.5483 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.5478, allocations: 22.06 kB / 0.5483 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.5479, allocations: 30.28 kB / 0.5483 GB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.55, allocations: 0.7578 MB / 0.5491 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.5501, allocations: 2.594 kB / 0.5491 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-05/0.5501, allocations: 14.19 kB / 0.5491 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.5501, allocations: 6.969 kB / 0.5491 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.5521, allocations: 0.8183 MB / 0.5499 GB, free: 12.9 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/0.5556, allocations: 2.711 MB / 0.5525 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.5569, allocations: 353.1 kB / 0.5529 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.557, allocations: 74.98 kB / 0.5529 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6671/1.224, allocations: 142.5 MB / 0.6921 GB, free: 160 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/1.225, allocations: 444.1 kB / 0.6925 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 2.434e-06/1.225, allocations: 0 / 0.6925 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.003417/1.229, allocations: 1.108 MB / 0.6936 GB, free: 159.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.229, allocations: 380 kB / 0.6939 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/1.229, allocations: 181.8 kB / 0.6941 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/1.229, allocations: 32.11 kB / 0.6941 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/1.229, allocations: 183.1 kB / 0.6943 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.339e-05/1.229, allocations: 114.5 kB / 0.6944 GB, free: 158.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/1.229, allocations: 11.28 kB / 0.6944 GB, free: 158.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.431e-05/1.23, allocations: 337 kB / 0.6948 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/1.23, allocations: 78.2 kB / 0.6948 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/1.23, allocations: 348 kB / 0.6952 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/1.23, allocations: 133.3 kB / 0.6953 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.23, allocations: 7.281 kB / 0.6953 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006684/1.231, allocations: 454.2 kB / 0.6957 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.231, allocations: 10.66 kB / 0.6957 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.231, allocations: 9.719 kB / 0.6957 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/1.231, allocations: 16.81 kB / 0.6958 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/1.232, allocations: 209.8 kB / 0.696 GB, free: 158 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004602/1.233, allocations: 1.187 MB / 0.6971 GB, free: 156.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/1.233, allocations: 27.94 kB / 0.6971 GB, free: 156.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/1.233, allocations: 45.97 kB / 0.6972 GB, free: 156.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001619/1.233, allocations: 166.9 kB / 0.6973 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/1.233, allocations: 24.62 kB / 0.6974 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/1.236, allocations: 2.887 MB / 0.7002 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/1.236, allocations: 24.16 kB / 0.7002 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/1.236, allocations: 3.188 kB / 0.7002 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/1.236, allocations: 6.641 kB / 0.7002 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009249/1.237, allocations: 0.9664 MB / 0.7012 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.237, allocations: 2.938 kB / 0.7012 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/1.238, allocations: 96.3 kB / 0.7013 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002572/1.238, allocations: 169.7 kB / 0.7014 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/1.238, allocations: 17.59 kB / 0.7014 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002809/1.238, allocations: 0.6376 MB / 0.7021 GB, free: 155.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.238, allocations: 7.812 kB / 0.7021 GB, free: 155.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000917/1.239, allocations: 0.967 MB / 0.703 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/1.24, allocations: 345.3 kB / 0.7033 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.659e-05/1.24, allocations: 21.58 kB / 0.7034 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/1.24, allocations: 16.89 kB / 0.7034 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/1.24, allocations: 29.31 kB / 0.7034 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/1.24, allocations: 19.48 kB / 0.7034 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004676/1.241, allocations: 462.5 kB / 0.7039 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.61e-07/1.241, allocations: 0 / 0.7039 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00781/1.248, allocations: 1.62 MB / 0.7054 GB, free: 154 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01181/1.26, allocations: 1.867 MB / 0.7073 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001688/1.262, allocations: 0.5321 MB / 0.7078 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.262, allocations: 3.562 kB / 0.7078 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004065/1.262, allocations: 352.8 kB / 0.7081 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009211/1.263, allocations: 140.4 kB / 0.7083 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.013/2.277, allocations: 347.7 MB / 1.048 GB, free: 160.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/2.277, allocations: 0.9799 MB / 1.049 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/2.277, allocations: 60.89 kB / 1.049 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.663e-06/2.277, allocations: 0 / 1.049 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.06479/2.342, allocations: 37.56 MB / 1.086 GB, free: 149 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches