Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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_ph,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_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,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_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001613/0.001613, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.963/1.963, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001068/0.001068, allocations: 95.28 kB / 270.9 MB, free: 8.367 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.5221/0.5221, allocations: 43.54 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004712, allocations: 12 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1239, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.598/8.722, allocations: 2.752 GB / 3.231 GB, free: 61.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/8.722, allocations: 81.8 kB / 3.231 GB, free: 61.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.235/9.957, allocations: 216.1 MB / 3.442 GB, free: 51.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.715e-06/9.957, allocations: 0 / 3.442 GB, free: 51.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.794e-05/9.957, allocations: 4 kB / 3.442 GB, free: 51.69 MB / 0.4948 GB 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.009004/9.966, allocations: 1.754 MB / 3.443 GB, free: 49.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/9.967, allocations: 8.031 kB / 3.443 GB, free: 49.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/9.969, allocations: 235.5 kB / 3.444 GB, free: 49.65 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/9.97, allocations: 278.6 kB / 3.444 GB, free: 49.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/9.97, allocations: 21.69 kB / 3.444 GB, free: 49.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.898e-05/9.97, allocations: 32 kB / 3.444 GB, free: 49.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003409/9.973, allocations: 0.8019 MB / 3.445 GB, free: 48.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/9.973, allocations: 3.938 kB / 3.445 GB, free: 48.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.814e-05/9.973, allocations: 19.95 kB / 3.445 GB, free: 48.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/9.973, allocations: 8 kB / 3.445 GB, free: 48.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003655/9.977, allocations: 0.9192 MB / 3.446 GB, free: 47.49 MB / 0.4948 GB 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.005075/9.982, allocations: 2.772 MB / 3.448 GB, free: 44.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/9.984, allocations: 379.2 kB / 3.449 GB, free: 44.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318/11.3, allocations: 223.3 MB / 3.667 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002122/11.3, allocations: 466.6 kB / 3.667 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 3.877e-06/11.3, allocations: 0 / 3.667 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.00472/11.31, allocations: 0.757 MB / 3.668 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/11.31, allocations: 381.4 kB / 3.668 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/11.31, allocations: 165.1 kB / 3.668 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.135e-05/11.31, allocations: 37.08 kB / 3.668 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/11.31, allocations: 254.5 kB / 3.669 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/11.31, allocations: 110.2 kB / 3.669 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/11.31, allocations: 8.625 kB / 3.669 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001283/11.31, allocations: 333 kB / 3.669 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/11.31, allocations: 77.78 kB / 3.669 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/11.31, allocations: 339.7 kB / 3.67 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/11.31, allocations: 120 kB / 3.67 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/11.31, allocations: 8 kB / 3.67 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001488/11.31, allocations: 456.7 kB / 3.67 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/11.31, allocations: 8.969 kB / 3.67 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/11.31, allocations: 8 kB / 3.67 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/11.31, allocations: 20 kB / 3.67 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008536/11.31, allocations: 132.4 kB / 3.67 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.71e-05/11.31, allocations: 19.78 kB / 3.67 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005511/11.31, allocations: 55.64 kB / 3.67 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.058e-05/11.31, allocations: 46.12 kB / 3.67 GB, free: 1.844 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state_h_is.phase,state.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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002699/11.31, allocations: 159.7 kB / 3.671 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/11.31, allocations: 23.72 kB / 3.671 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/11.32, allocations: 2.501 MB / 3.673 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.665e-05/11.32, allocations: 17.59 kB / 3.673 GB, free: 376 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/11.32, allocations: 4.375 kB / 3.673 GB, free: 372 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/11.32, allocations: 8 kB / 3.673 GB, free: 364 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/11.32, allocations: 0.9492 MB / 3.674 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/11.32, allocations: 4 kB / 3.674 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006429/11.32, allocations: 77.73 kB / 3.674 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/11.32, allocations: 4 kB / 3.674 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/11.32, allocations: 9.625 kB / 3.674 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/11.32, allocations: 8 kB / 3.674 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/11.32, allocations: 2.062 kB / 3.674 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/11.32, allocations: 0.8359 MB / 3.675 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006221/11.32, allocations: 383.4 kB / 3.675 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/11.32, allocations: 13.31 kB / 3.675 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007048/11.33, allocations: 19.77 kB / 3.675 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/11.33, allocations: 37.94 kB / 3.675 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.092e-05/11.33, allocations: 18.81 kB / 3.675 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001037/11.33, allocations: 0.4916 MB / 3.676 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.02e-07/11.33, allocations: 0 / 3.676 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008234/11.33, allocations: 1.532 MB / 3.677 GB, free: 13.26 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01472/11.35, allocations: 1.885 MB / 3.679 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00129/11.35, allocations: 400.4 kB / 3.679 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/11.35, allocations: 4.312 kB / 3.679 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005759/11.35, allocations: 276.5 kB / 3.68 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/11.35, allocations: 124.6 kB / 3.68 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.169/15.52, allocations: 0.9608 GB / 4.641 GB, free: 49.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/15.52, allocations: 1.009 MB / 4.642 GB, free: 48.24 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/15.52, allocations: 61.19 kB / 4.642 GB, free: 48.2 MB / 0.5417 GB Notification: Performance of SimCode: time 9.32e-07/15.52, allocations: 0 / 4.642 GB, free: 48.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.4654/15.99, allocations: 34.78 MB / 4.676 GB, free: 92.93 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches