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.001427/0.001427, allocations: 113 kB / 17.08 MB, free: 6.016 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.001537/0.001537, allocations: 199 kB / 18.01 MB, free: 5.094 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.384/1.384, 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.2146/0.2146, allocations: 43.53 MB / 314.8 MB, free: 452 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.001479/0.001479, allocations: 63.91 kB / 442.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.126, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01819/0.1442, allocations: 13.82 MB / 0.5021 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03056/0.1748, allocations: 26.59 MB / 0.528 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002815/0.1751, allocations: 0 / 0.528 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000449/0.1756, allocations: 87.41 kB / 0.5281 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3303/0.506, allocations: 8.506 MB / 0.5364 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.5071, allocations: 345.8 kB / 0.5368 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005578/0.5127, allocations: 1.999 MB / 0.5387 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.5128, allocations: 30.3 kB / 0.5387 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008458/0.5137, allocations: 263.6 kB / 0.539 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008241/0.5219, allocations: 3.259 MB / 0.5422 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.5221, allocations: 10.66 kB / 0.5422 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03342/0.5555, allocations: 11.6 MB / 0.5535 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.5558, allocations: 48.62 kB / 0.5536 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004328/0.5562, allocations: 139.8 kB / 0.5537 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02396/0.5802, allocations: 6.737 MB / 0.5603 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.5803, allocations: 0 / 0.5603 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5803, allocations: 1.344 kB / 0.5603 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.5803, allocations: 0 / 0.5603 GB, free: 0.9102 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.006514/0.5868, allocations: 1.609 MB / 0.5619 GB, free: 15.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.02e-05/0.5869, allocations: 13.77 kB / 0.5619 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.5887, allocations: 186.3 kB / 0.562 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/0.5893, allocations: 268.4 kB / 0.5623 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.5893, allocations: 26.06 kB / 0.5623 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.5894, allocations: 29.5 kB / 0.5624 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.5916, allocations: 0.762 MB / 0.5631 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.5916, allocations: 0 / 0.5631 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.5917, allocations: 22.23 kB / 0.5631 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.5917, allocations: 8.188 kB / 0.5631 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.5939, allocations: 0.8163 MB / 0.5639 GB, free: 14.56 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.00371/0.5976, allocations: 2.705 MB / 0.5666 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.5989, allocations: 353.7 kB / 0.5669 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.5991, allocations: 73.58 kB / 0.567 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3791/0.9782, allocations: 142.9 MB / 0.7065 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/0.9796, allocations: 441.4 kB / 0.7069 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.426e-06/0.9796, allocations: 4 kB / 0.7069 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003939/0.9836, allocations: 1.129 MB / 0.708 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/0.9838, allocations: 371.2 kB / 0.7084 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.984, allocations: 191.6 kB / 0.7086 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.984, allocations: 29.7 kB / 0.7086 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.9841, allocations: 187 kB / 0.7088 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.9843, allocations: 115.9 kB / 0.7089 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.9844, allocations: 126.1 kB / 0.709 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.9846, allocations: 330.8 kB / 0.7093 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.9848, allocations: 77.06 kB / 0.7094 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.9851, allocations: 357.3 kB / 0.7097 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006258/0.9858, allocations: 480.9 kB / 0.7102 GB, free: 344 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.9858, allocations: 0 / 0.7102 GB, free: 344 kB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009477/0.9867, allocations: 471.8 kB / 0.7106 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.9868, allocations: 22.5 kB / 0.7107 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.9868, allocations: 8 kB / 0.7107 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.9868, allocations: 12 kB / 0.7107 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.9883, allocations: 216.2 kB / 0.7109 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007428/0.9891, allocations: 1.184 MB / 0.712 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.9894, allocations: 16 kB / 0.7121 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.045e-05/0.9895, allocations: 47.97 kB / 0.7121 GB, free: 14.4 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.0002028/0.9897, allocations: 164.8 kB / 0.7123 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.9898, allocations: 30.44 kB / 0.7123 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/0.9927, allocations: 2.825 MB / 0.715 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.908e-05/0.9928, allocations: 23.97 kB / 0.7151 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.9928, allocations: 4 kB / 0.7151 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.9928, allocations: 7.984 kB / 0.7151 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.9939, allocations: 0.9657 MB / 0.716 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.9939, allocations: 5.125 kB / 0.716 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/0.9944, allocations: 99.42 kB / 0.7161 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001981/0.9946, allocations: 158.8 kB / 0.7163 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.9947, allocations: 10.67 kB / 0.7163 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003793/0.9951, allocations: 0.6477 MB / 0.7169 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.9951, allocations: 4 kB / 0.7169 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.9964, allocations: 0.9816 MB / 0.7179 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.9965, allocations: 124.5 kB / 0.718 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.9966, allocations: 94.66 kB / 0.7181 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.9969, allocations: 24.59 kB / 0.7181 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.997, allocations: 31.09 kB / 0.7181 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.997, allocations: 15.98 kB / 0.7182 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005383/0.9976, allocations: 471 kB / 0.7186 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9976, allocations: 4 kB / 0.7186 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005225/1.003, allocations: 1.612 MB / 0.7202 GB, free: 6.016 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.009714/1.013, allocations: 1.845 MB / 0.722 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00182/1.014, allocations: 0.5477 MB / 0.7225 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.014, allocations: 1.75 kB / 0.7225 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005309/1.015, allocations: 362.2 kB / 0.7229 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009956/1.016, allocations: 129.7 kB / 0.723 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.076/2.092, allocations: 347.6 MB / 1.062 GB, free: 180.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/2.093, allocations: 0.9897 MB / 1.063 GB, free: 179.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/2.093, allocations: 59.41 kB / 1.063 GB, free: 179.1 MB / 0.6075 GB Notification: Performance of SimCode: time 1.463e-06/2.093, allocations: 0 / 1.063 GB, free: 179.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.04922/2.142, allocations: 37.68 MB / 1.1 GB, free: 141.5 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