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.002337/0.002337, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001558/0.001558, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.277/0.277, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.455e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.037/8.158, allocations: 2.752 GB / 3.224 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/8.158, allocations: 82.73 kB / 3.225 GB, free: 90.35 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.226/9.384, allocations: 215.7 MB / 3.435 GB, free: 96.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.914e-06/9.384, allocations: 0 / 3.435 GB, free: 96.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.519e-05/9.384, allocations: 4 kB / 3.435 GB, free: 96.11 MB / 0.5105 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.009015/9.393, allocations: 1.755 MB / 3.437 GB, free: 94.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/9.393, allocations: 12.03 kB / 3.437 GB, free: 94.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/9.396, allocations: 223 kB / 3.437 GB, free: 94.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/9.396, allocations: 275.8 kB / 3.437 GB, free: 93.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/9.396, allocations: 22.34 kB / 3.437 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.871e-05/9.397, allocations: 34.25 kB / 3.437 GB, free: 93.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/9.4, allocations: 0.855 MB / 3.438 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/9.4, allocations: 3.938 kB / 3.438 GB, free: 92.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.042e-05/9.4, allocations: 20 kB / 3.438 GB, free: 92.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/9.4, allocations: 11.95 kB / 3.438 GB, free: 92.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/9.403, allocations: 0.9505 MB / 3.439 GB, free: 91.95 MB / 0.5105 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 0.005265/9.409, allocations: 2.763 MB / 3.442 GB, free: 88.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/9.411, allocations: 423 kB / 3.442 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/9.411, allocations: 72.84 kB / 3.442 GB, free: 88.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31/10.72, allocations: 224.8 MB / 3.662 GB, free: 33.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001892/10.72, allocations: 0.4963 MB / 3.662 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 4.067e-06/10.72, allocations: 0 / 3.662 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.003959/10.73, allocations: 0.7948 MB / 3.663 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/10.73, allocations: 374.3 kB / 3.664 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/10.73, allocations: 175.7 kB / 3.664 GB, free: 31.97 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.412e-05/10.73, allocations: 32.95 kB / 3.664 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/10.73, allocations: 254.9 kB / 3.664 GB, free: 31.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/10.73, allocations: 109.2 kB / 3.664 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/10.73, allocations: 6 kB / 3.664 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.008e-05/10.73, allocations: 330.1 kB / 3.664 GB, free: 31.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/10.73, allocations: 75.05 kB / 3.665 GB, free: 31.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/10.73, allocations: 332.4 kB / 3.665 GB, free: 30.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/10.73, allocations: 129.8 kB / 3.665 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/10.73, allocations: 4 kB / 3.665 GB, free: 30.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001181/10.73, allocations: 438.8 kB / 3.665 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/10.73, allocations: 16.25 kB / 3.665 GB, free: 30.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/10.73, allocations: 8 kB / 3.665 GB, free: 30.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/10.73, allocations: 12 kB / 3.665 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007902/10.73, allocations: 143.3 kB / 3.666 GB, free: 30.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.42e-05/10.73, allocations: 16.41 kB / 3.666 GB, free: 30.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005354/10.73, allocations: 52.64 kB / 3.666 GB, free: 30.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.23e-05/10.73, allocations: 42.56 kB / 3.666 GB, free: 30.35 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 () * 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.0001735/10.73, allocations: 151.3 kB / 3.666 GB, free: 30.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/10.73, allocations: 19.81 kB / 3.666 GB, free: 30.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/10.73, allocations: 1.764 MB / 3.668 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.911e-05/10.73, allocations: 16.5 kB / 3.668 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/10.73, allocations: 15.52 kB / 3.668 GB, free: 29.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/10.73, allocations: 4 kB / 3.668 GB, free: 29.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/10.74, allocations: 0.8895 MB / 3.668 GB, free: 28.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/10.74, allocations: 4 kB / 3.668 GB, free: 28.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005392/10.74, allocations: 83.89 kB / 3.669 GB, free: 28.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/10.74, allocations: 4 kB / 3.669 GB, free: 28.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/10.74, allocations: 24.67 kB / 3.669 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/10.74, allocations: 7.938 kB / 3.669 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/10.74, allocations: 4 kB / 3.669 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/10.74, allocations: 0.8265 MB / 3.669 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/10.74, allocations: 335.1 kB / 3.67 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/10.74, allocations: 12.81 kB / 3.67 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/10.74, allocations: 24.59 kB / 3.67 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/10.74, allocations: 55.25 kB / 3.67 GB, free: 27.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/10.74, allocations: 24.69 kB / 3.67 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006783/10.74, allocations: 421.9 kB / 3.67 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/10.74, allocations: 0 / 3.67 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007468/10.75, allocations: 1.515 MB / 3.672 GB, free: 26.11 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 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$whenCondition1,medium.phase) * Number of discrete 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.01387/10.76, allocations: 1.892 MB / 3.674 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009495/10.76, allocations: 384.8 kB / 3.674 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/10.76, allocations: 0.75 kB / 3.674 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004282/10.76, allocations: 287.4 kB / 3.674 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/10.76, allocations: 126.2 kB / 3.674 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.112/13.88, allocations: 0.7555 GB / 4.43 GB, free: 74.13 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/13.88, allocations: 0.9656 MB / 4.431 GB, free: 73.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/13.88, allocations: 81.36 kB / 4.431 GB, free: 73.19 MB / 0.5261 GB Notification: Performance of SimCode: time 1.473e-06/13.88, allocations: 0 / 4.431 GB, free: 73.19 MB / 0.5261 GB Notification: Performance of Templates: time 0.06888/13.95, allocations: 34.37 MB / 4.464 GB, free: 45.41 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