Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009884/0.0009883, allocations: 197.2 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008014/0.0008014, allocations: 90.55 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2092/0.2092, allocations: 45.15 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.565e-05/1.568e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.732/6.844, allocations: 2.756 GB / 3.26 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/6.844, allocations: 79.52 kB / 3.26 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7711/7.615, allocations: 213.6 MB / 3.469 GB, free: 90.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.193e-06/7.615, allocations: 6.078 kB / 3.469 GB, free: 90.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.284e-05/7.615, allocations: 3.656 kB / 3.469 GB, free: 90.69 MB / 0.5261 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.007058/7.622, allocations: 1.743 MB / 3.471 GB, free: 89.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/7.622, allocations: 10.98 kB / 3.471 GB, free: 89.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/7.624, allocations: 193.1 kB / 3.471 GB, free: 89.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/7.624, allocations: 269.1 kB / 3.471 GB, free: 89.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/7.624, allocations: 7 kB / 3.471 GB, free: 89.53 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/7.624, allocations: 18.47 kB / 3.471 GB, free: 89.53 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005349/7.625, allocations: 472 kB / 3.472 GB, free: 89.53 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/7.625, allocations: 378.1 kB / 3.472 GB, free: 89.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/7.625, allocations: 7.703 kB / 3.472 GB, free: 89.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/7.625, allocations: 3.938 kB / 3.472 GB, free: 89.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/7.625, allocations: 10.02 kB / 3.472 GB, free: 89.37 MB / 0.5261 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.2983/7.923, allocations: 132.8 MB / 3.602 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/7.924, allocations: 77.62 kB / 3.602 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/7.924, allocations: 24.77 kB / 3.602 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4429/8.366, allocations: 48.68 MB / 3.649 GB, free: 91.63 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/8.367, allocations: 106 kB / 3.649 GB, free: 91.57 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=12): time 2.775e-06/8.367, allocations: 3.609 kB / 3.649 GB, free: 91.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.003243/8.37, allocations: 0.5936 MB / 3.65 GB, free: 91.52 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/8.37, allocations: 85.55 kB / 3.65 GB, free: 91.42 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/8.37, allocations: 223 kB / 3.65 GB, free: 91.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/8.37, allocations: 32.77 kB / 3.65 GB, free: 91.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/8.37, allocations: 247.1 kB / 3.65 GB, free: 91.12 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/8.371, allocations: 41.94 kB / 3.651 GB, free: 91.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/8.371, allocations: 0 / 3.651 GB, free: 91.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.356e-05/8.371, allocations: 337.2 kB / 3.651 GB, free: 90.79 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.541e-05/8.371, allocations: 63.56 kB / 3.651 GB, free: 90.79 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/8.371, allocations: 328.7 kB / 3.651 GB, free: 90.46 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/8.372, allocations: 209.4 kB / 3.651 GB, free: 90.46 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/8.372, allocations: 0 / 3.651 GB, free: 90.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00157/8.374, allocations: 492.8 kB / 3.652 GB, free: 90.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/8.374, allocations: 11.5 kB / 3.652 GB, free: 90.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/8.374, allocations: 10.44 kB / 3.652 GB, free: 90.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/8.374, allocations: 12.97 kB / 3.652 GB, free: 90.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/8.375, allocations: 213.2 kB / 3.652 GB, free: 90.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002614/8.375, allocations: 0.6034 MB / 3.653 GB, free: 89.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/8.376, allocations: 18.38 kB / 3.653 GB, free: 89.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/8.376, allocations: 48.2 kB / 3.653 GB, free: 89.82 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001218/8.376, allocations: 129.8 kB / 3.653 GB, free: 89.72 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/8.376, allocations: 25.78 kB / 3.653 GB, free: 89.71 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/8.377, allocations: 0.7901 MB / 3.654 GB, free: 89.61 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/8.377, allocations: 9.875 kB / 3.654 GB, free: 89.61 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/8.377, allocations: 3.344 kB / 3.654 GB, free: 89.61 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/8.377, allocations: 0 / 3.654 GB, free: 89.61 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/8.377, allocations: 418.2 kB / 3.654 GB, free: 89.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/8.377, allocations: 0 / 3.654 GB, free: 89.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/8.378, allocations: 50.86 kB / 3.654 GB, free: 89.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002541/8.378, allocations: 232.2 kB / 3.654 GB, free: 89.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/8.378, allocations: 0.8125 kB / 3.654 GB, free: 89.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002902/8.378, allocations: 0.6594 MB / 3.655 GB, free: 88.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/8.378, allocations: 3 kB / 3.655 GB, free: 88.89 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005938/8.379, allocations: 0.5836 MB / 3.656 GB, free: 88.74 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/8.379, allocations: 140.5 kB / 3.656 GB, free: 88.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.774e-05/8.379, allocations: 6.703 kB / 3.656 GB, free: 88.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/8.379, allocations: 8.438 kB / 3.656 GB, free: 88.63 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/8.38, allocations: 11.09 kB / 3.656 GB, free: 88.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/8.38, allocations: 7.562 kB / 3.656 GB, free: 88.63 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001828/8.38, allocations: 227 kB / 3.656 GB, free: 88.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/8.38, allocations: 0 / 3.656 GB, free: 88.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007516/8.387, allocations: 1.619 MB / 3.658 GB, free: 88.51 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01435/8.402, allocations: 2.051 MB / 3.66 GB, free: 88.24 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007683/8.402, allocations: 312.3 kB / 3.66 GB, free: 88.24 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/8.402, allocations: 0 / 3.66 GB, free: 88.24 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/8.403, allocations: 155.6 kB / 3.66 GB, free: 88.24 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/8.403, allocations: 41.67 kB / 3.66 GB, free: 88.24 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007622/8.404, allocations: 488.4 kB / 3.661 GB, free: 88.11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/8.404, allocations: 0.8037 MB / 3.661 GB, free: 87.41 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001326/8.405, allocations: 1.123 MB / 3.662 GB, free: 87.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/8.406, allocations: 51.56 kB / 3.662 GB, free: 87.39 MB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/8.406, allocations: 0 / 3.662 GB, free: 87.39 MB / 0.5417 GB Notification: Performance of Templates: time 0.05126/8.457, allocations: 36.58 MB / 3.698 GB, free: 85.84 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches