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.0008965/0.0008965, allocations: 178.3 kB / 17.41 MB, free: 4.41 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.393/1.393, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007306/0.0007306, allocations: 93.34 kB / 271.9 MB, free: 8.246 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.3418/0.3418, allocations: 43.56 MB / 363.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003785, allocations: 12 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1116, allocations: 58.84 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.068/6.179, allocations: 2.752 GB / 3.232 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/6.179, allocations: 80.73 kB / 3.232 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7325/6.912, allocations: 214.2 MB / 3.441 GB, free: 73.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.124e-06/6.912, allocations: 0 / 3.441 GB, free: 73.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.849e-05/6.912, allocations: 3.906 kB / 3.441 GB, free: 73.1 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.00822/6.92, allocations: 1.756 MB / 3.443 GB, free: 72.08 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/6.92, allocations: 11.59 kB / 3.443 GB, free: 72.08 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/6.922, allocations: 220.9 kB / 3.443 GB, free: 72.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/6.923, allocations: 279.2 kB / 3.443 GB, free: 71.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/6.923, allocations: 28.22 kB / 3.443 GB, free: 71.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/6.923, allocations: 30.47 kB / 3.444 GB, free: 71.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/6.925, allocations: 0.8062 MB / 3.444 GB, free: 71.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/6.925, allocations: 1.5 kB / 3.444 GB, free: 71.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.555e-05/6.925, allocations: 17.06 kB / 3.444 GB, free: 71.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/6.925, allocations: 10.25 kB / 3.444 GB, free: 71.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/6.927, allocations: 0.9173 MB / 3.445 GB, free: 71.71 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.003272/6.931, allocations: 2.777 MB / 3.448 GB, free: 69.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/6.932, allocations: 368.1 kB / 3.448 GB, free: 69.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/6.932, allocations: 80.55 kB / 3.448 GB, free: 69.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8242/7.756, allocations: 223.3 MB / 3.666 GB, free: 39.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001567/7.758, allocations: 466.5 kB / 3.667 GB, free: 38.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 5.33e-06/7.758, allocations: 4 kB / 3.667 GB, free: 38.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.003169/7.761, allocations: 0.7628 MB / 3.668 GB, free: 38.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/7.761, allocations: 375.6 kB / 3.668 GB, free: 38.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/7.761, allocations: 184.1 kB / 3.668 GB, free: 38.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.96e-05/7.761, allocations: 33.7 kB / 3.668 GB, free: 38.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/7.762, allocations: 182.2 kB / 3.668 GB, free: 38.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/7.762, allocations: 115.2 kB / 3.668 GB, free: 38.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/7.762, allocations: 10.06 kB / 3.668 GB, free: 38.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001175/7.762, allocations: 334.9 kB / 3.669 GB, free: 37.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/7.762, allocations: 74.36 kB / 3.669 GB, free: 37.76 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/7.763, allocations: 343 kB / 3.669 GB, free: 37.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006952/7.763, allocations: 466.5 kB / 3.67 GB, free: 37.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/7.763, allocations: 4.844 kB / 3.67 GB, free: 37.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001052/7.764, allocations: 464.3 kB / 3.67 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/7.764, allocations: 10.72 kB / 3.67 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/7.764, allocations: 7.281 kB / 3.67 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/7.764, allocations: 14.28 kB / 3.67 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/7.765, allocations: 138.9 kB / 3.67 GB, free: 37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/7.765, allocations: 19.41 kB / 3.67 GB, free: 36.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/7.765, allocations: 56.62 kB / 3.67 GB, free: 36.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.897e-05/7.765, allocations: 44.05 kB / 3.67 GB, free: 36.97 MB / 0.5105 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.0001895/7.766, allocations: 161 kB / 3.671 GB, free: 36.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/7.766, allocations: 26.44 kB / 3.671 GB, free: 36.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/7.768, allocations: 2.492 MB / 3.673 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/7.768, allocations: 18.12 kB / 3.673 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/7.768, allocations: 7.75 kB / 3.673 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/7.768, allocations: 6.953 kB / 3.673 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/7.769, allocations: 0.9336 MB / 3.674 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/7.769, allocations: 3.906 kB / 3.674 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/7.77, allocations: 76.39 kB / 3.674 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/7.77, allocations: 7.203 kB / 3.674 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/7.77, allocations: 14.81 kB / 3.674 GB, free: 36.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/7.77, allocations: 7.391 kB / 3.674 GB, free: 36.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/7.77, allocations: 8.75 kB / 3.674 GB, free: 36.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008015/7.771, allocations: 0.6823 MB / 3.675 GB, free: 36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/7.771, allocations: 392.5 kB / 3.675 GB, free: 35.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/7.771, allocations: 16.2 kB / 3.675 GB, free: 35.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/7.772, allocations: 15.44 kB / 3.675 GB, free: 35.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/7.772, allocations: 41.8 kB / 3.675 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/7.772, allocations: 15.81 kB / 3.675 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005275/7.772, allocations: 0.4924 MB / 3.676 GB, free: 35.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/7.772, allocations: 0 / 3.676 GB, free: 35.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0069/7.779, allocations: 1.52 MB / 3.677 GB, free: 35.6 MB / 0.5105 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.01251/7.792, allocations: 1.879 MB / 3.679 GB, free: 35.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009702/7.793, allocations: 405.6 kB / 3.679 GB, free: 35.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/7.793, allocations: 1.75 kB / 3.679 GB, free: 35.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004144/7.793, allocations: 271.4 kB / 3.68 GB, free: 35.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/7.794, allocations: 142.2 kB / 3.68 GB, free: 35.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.517/9.311, allocations: 0.6303 GB / 4.31 GB, free: 38.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/9.312, allocations: 0.9858 MB / 4.311 GB, free: 37.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/9.312, allocations: 59.41 kB / 4.311 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of SimCode: time 1.272e-06/9.312, allocations: 3.5 kB / 4.311 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.2618/9.574, allocations: 31.12 MB / 4.341 GB, free: 95 MB / 0.5261 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