Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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) 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 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(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_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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 119.9 kB / 17.09 MB, free: 5.98 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.001901/0.001901, allocations: 193.2 kB / 18.01 MB, free: 5.059 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.43/1.43, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2187/0.2187, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.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.002933/0.002933, allocations: 71.89 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.182, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.03496/0.2171, allocations: 13.82 MB / 0.5021 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05225/0.2694, allocations: 26.58 MB / 0.528 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.2698, allocations: 0 / 0.528 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006149/0.2705, allocations: 95.39 kB / 0.5281 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2487/0.5192, allocations: 8.497 MB / 0.5364 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007886/0.52, allocations: 348 kB / 0.5368 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00391/0.5239, allocations: 1.994 MB / 0.5387 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.727e-05/0.524, allocations: 24.59 kB / 0.5387 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004113/0.5244, allocations: 268.1 kB / 0.539 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006184/0.5306, allocations: 3.258 MB / 0.5422 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.537e-05/0.5307, allocations: 10.56 kB / 0.5422 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01913/0.5498, allocations: 11.61 MB / 0.5535 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.55, allocations: 51.7 kB / 0.5536 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.5502, allocations: 135.4 kB / 0.5537 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.5635, allocations: 6.734 MB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.5636, allocations: 0 / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5636, allocations: 2.188 kB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.5636, allocations: 0 / 0.5603 GB, free: 1.188 MB / 414.1 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.003964/0.5676, allocations: 1.611 MB / 0.5619 GB, free: 100 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.5676, allocations: 14.3 kB / 0.5619 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.569, allocations: 186.4 kB / 0.562 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.5693, allocations: 268.9 kB / 0.5623 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.5694, allocations: 27 kB / 0.5623 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.5694, allocations: 32.03 kB / 0.5624 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.5713, allocations: 0.7569 MB / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.5713, allocations: 6.844 kB / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.5714, allocations: 10.88 kB / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.5714, allocations: 8 kB / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.5733, allocations: 0.8246 MB / 0.5639 GB, free: 14.83 MB / 430.1 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.002875/0.5761, allocations: 2.703 MB / 0.5666 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.5772, allocations: 347.2 kB / 0.5669 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.606e-05/0.5773, allocations: 70.14 kB / 0.567 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4919/1.069, allocations: 142.9 MB / 0.7065 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/1.07, allocations: 436.2 kB / 0.7069 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 4.759e-06/1.07, allocations: 4 kB / 0.7069 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003648/1.074, allocations: 1.128 MB / 0.708 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/1.074, allocations: 380.4 kB / 0.7084 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/1.074, allocations: 187.6 kB / 0.7086 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/1.075, allocations: 33.7 kB / 0.7086 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.569e-05/1.075, allocations: 187.6 kB / 0.7088 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.116e-05/1.075, allocations: 114.4 kB / 0.7089 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/1.075, allocations: 122.1 kB / 0.709 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/1.075, allocations: 330.8 kB / 0.7093 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/1.075, allocations: 81.06 kB / 0.7094 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/1.075, allocations: 346.3 kB / 0.7097 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005451/1.076, allocations: 487 kB / 0.7102 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.076, allocations: 0.8438 kB / 0.7102 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007759/1.077, allocations: 461.3 kB / 0.7106 GB, free: 152 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.077, allocations: 23 kB / 0.7107 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.077, allocations: 8 kB / 0.7107 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/1.077, allocations: 12 kB / 0.7107 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/1.078, allocations: 213.1 kB / 0.7109 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000531/1.079, allocations: 1.192 MB / 0.712 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/1.079, allocations: 20 kB / 0.7121 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/1.079, allocations: 39.98 kB / 0.7121 GB, free: 14.62 MB / 0.5762 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001626/1.08, allocations: 166.6 kB / 0.7123 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.959e-05/1.08, allocations: 31.72 kB / 0.7123 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/1.082, allocations: 2.826 MB / 0.715 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/1.082, allocations: 28.34 kB / 0.7151 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/1.082, allocations: 8 kB / 0.7151 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/1.082, allocations: 7.844 kB / 0.7151 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008593/1.083, allocations: 0.9662 MB / 0.716 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/1.083, allocations: 5.125 kB / 0.716 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005456/1.084, allocations: 99.42 kB / 0.7161 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/1.084, allocations: 157.9 kB / 0.7163 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/1.084, allocations: 15.98 kB / 0.7163 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003699/1.084, allocations: 0.6413 MB / 0.7169 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.084, allocations: 4 kB / 0.7169 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/1.085, allocations: 0.9697 MB / 0.7179 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/1.085, allocations: 136.4 kB / 0.718 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/1.086, allocations: 94.72 kB / 0.7181 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/1.086, allocations: 19.67 kB / 0.7181 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/1.086, allocations: 34.47 kB / 0.7181 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/1.086, allocations: 16 kB / 0.7182 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005165/1.087, allocations: 471 kB / 0.7186 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.42e-07/1.087, allocations: 4 kB / 0.7186 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004281/1.091, allocations: 1.608 MB / 0.7202 GB, free: 6.238 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006814/1.098, allocations: 1.849 MB / 0.722 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001633/1.099, allocations: 0.5413 MB / 0.7225 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.099, allocations: 0 / 0.7225 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004335/1.1, allocations: 359.9 kB / 0.7229 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008029/1.101, allocations: 137.4 kB / 0.723 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.011/2.111, allocations: 347.6 MB / 1.062 GB, free: 169.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/2.112, allocations: 0.9859 MB / 1.063 GB, free: 168.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/2.112, allocations: 59.41 kB / 1.063 GB, free: 168.6 MB / 0.6075 GB Notification: Performance of SimCode: time 1.603e-06/2.112, allocations: 1.203 kB / 1.063 GB, free: 168.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.0497/2.162, allocations: 37.56 MB / 1.1 GB, free: 131.1 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches