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.00226/0.00226, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 87.64 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3651/0.3651, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.48e-05/1.479e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3957, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.951/8.346, allocations: 2.751 GB / 3.217 GB, free: 38.85 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/8.347, allocations: 75.77 kB / 3.217 GB, free: 38.81 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.194/9.54, allocations: 212.4 MB / 3.424 GB, free: 35.35 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.593e-06/9.54, allocations: 0 / 3.424 GB, free: 35.35 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.672e-05/9.54, allocations: 4 kB / 3.424 GB, free: 35.34 MB / 0.4952 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.008471/9.549, allocations: 1.757 MB / 3.426 GB, free: 33.54 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/9.549, allocations: 11.31 kB / 3.426 GB, free: 33.54 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002324/9.551, allocations: 227.5 kB / 3.426 GB, free: 33.31 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/9.552, allocations: 278.5 kB / 3.427 GB, free: 33 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/9.552, allocations: 15.94 kB / 3.427 GB, free: 32.98 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.24e-05/9.552, allocations: 20 kB / 3.427 GB, free: 32.96 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009592/9.553, allocations: 0.5091 MB / 3.427 GB, free: 32.45 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000644/9.554, allocations: 389.4 kB / 3.428 GB, free: 32.03 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/9.554, allocations: 0 / 3.428 GB, free: 32.03 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.101e-05/9.554, allocations: 7.984 kB / 3.428 GB, free: 32.02 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/9.554, allocations: 8 kB / 3.428 GB, free: 32.01 MB / 0.4952 GB Warning: The model contains alias variables with conflicting start and/or 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 1.293/10.85, allocations: 216.9 MB / 3.639 GB, free: 8.242 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/10.85, allocations: 36.08 kB / 3.639 GB, free: 8.207 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.471e-05/10.85, allocations: 19.92 kB / 3.639 GB, free: 8.188 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5618/11.41, allocations: 45.86 MB / 3.684 GB, free: 98.02 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/11.41, allocations: 109.5 kB / 3.684 GB, free: 97.94 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=10): time 3.266e-06/11.41, allocations: 0 / 3.684 GB, free: 97.94 MB / 0.5265 GB Notification: Performance of matching and sorting (n=10): time 0.002082/11.41, allocations: 388.5 kB / 3.685 GB, free: 97.91 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/11.41, allocations: 134.5 kB / 3.685 GB, free: 97.75 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/11.41, allocations: 227.9 kB / 3.685 GB, free: 97.66 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/11.41, allocations: 25.7 kB / 3.685 GB, free: 97.63 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/11.41, allocations: 331.9 kB / 3.685 GB, free: 97.39 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/11.41, allocations: 34.58 kB / 3.685 GB, free: 97.38 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/11.41, allocations: 0 / 3.685 GB, free: 97.38 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 7.293e-05/11.41, allocations: 343.4 kB / 3.686 GB, free: 97.07 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/11.41, allocations: 61.78 kB / 3.686 GB, free: 97.06 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/11.41, allocations: 320 kB / 3.686 GB, free: 96.73 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009421/11.41, allocations: 142.5 kB / 3.686 GB, free: 96.73 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/11.41, allocations: 3.438 kB / 3.686 GB, free: 96.73 MB / 0.5265 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001704/11.42, allocations: 421.3 kB / 3.687 GB, free: 96.69 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/11.42, allocations: 11.5 kB / 3.687 GB, free: 96.69 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/11.42, allocations: 11.62 kB / 3.687 GB, free: 96.69 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/11.42, allocations: 11.47 kB / 3.687 GB, free: 96.69 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007758/11.42, allocations: 132.4 kB / 3.687 GB, free: 96.69 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/11.42, allocations: 24.5 kB / 3.687 GB, free: 96.69 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008539/11.42, allocations: 56.8 kB / 3.687 GB, free: 96.68 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/11.42, allocations: 41.59 kB / 3.687 GB, free: 96.68 MB / 0.5265 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,state_h_is.phase,state.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete 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.0001431/11.42, allocations: 132.7 kB / 3.687 GB, free: 96.57 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/11.42, allocations: 26.89 kB / 3.687 GB, free: 96.56 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00046/11.42, allocations: 280.9 kB / 3.687 GB, free: 96.49 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/11.42, allocations: 0 / 3.687 GB, free: 96.49 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/11.42, allocations: 0 / 3.687 GB, free: 96.49 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/11.42, allocations: 6.797 kB / 3.687 GB, free: 96.49 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000763/11.42, allocations: 0.6095 MB / 3.688 GB, free: 96.1 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/11.42, allocations: 0 / 3.688 GB, free: 96.1 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/11.42, allocations: 18.84 kB / 3.688 GB, free: 96.1 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/11.42, allocations: 0 / 3.688 GB, free: 96.1 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/11.42, allocations: 7.25 kB / 3.688 GB, free: 96.1 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/11.42, allocations: 7.438 kB / 3.688 GB, free: 96.1 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/11.42, allocations: 0 / 3.688 GB, free: 96.1 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/11.42, allocations: 333.3 kB / 3.688 GB, free: 95.79 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/11.42, allocations: 152 kB / 3.688 GB, free: 95.67 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/11.42, allocations: 3.469 kB / 3.688 GB, free: 95.67 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004803/11.42, allocations: 18.92 kB / 3.688 GB, free: 95.67 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/11.42, allocations: 14.53 kB / 3.688 GB, free: 95.67 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/11.42, allocations: 7.469 kB / 3.688 GB, free: 95.67 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0003459/11.42, allocations: 267.2 kB / 3.689 GB, free: 95.58 MB / 0.5265 GB Notification: Performance of sort global known variables: time 5.51e-07/11.42, allocations: 0 / 3.689 GB, free: 95.58 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.007213/11.43, allocations: 1.476 MB / 3.69 GB, free: 95.58 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.01375/11.44, allocations: 1.9 MB / 3.692 GB, free: 95.48 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.0005932/11.44, allocations: 188.9 kB / 3.692 GB, free: 95.48 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/11.44, allocations: 0 / 3.692 GB, free: 95.48 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 6.133e-05/11.44, allocations: 32.05 kB / 3.692 GB, free: 95.48 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/11.44, allocations: 34.06 kB / 3.692 GB, free: 95.48 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007569/11.44, allocations: 376.1 kB / 3.693 GB, free: 95.29 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/11.44, allocations: 0.7781 MB / 3.693 GB, free: 94.59 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/11.44, allocations: 61.78 kB / 3.693 GB, free: 94.58 MB / 0.5265 GB Notification: Performance of SimCode: time 7.81e-07/11.44, allocations: 0 / 3.693 GB, free: 94.58 MB / 0.5265 GB Notification: Performance of Templates: time 0.06976/11.51, allocations: 33.23 MB / 3.726 GB, free: 91.02 MB / 0.5265 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