Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 227.2 MB / 245 MB, free: 7.656 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009493/0.0009495, allocations: 92.03 kB / 297.3 MB, free: 6.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3118/0.3118, allocations: 45.23 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002285/0.0002285, allocations: 4 kB / 468.4 MB, free: 7.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3258, allocations: 63.25 MB / 0.5192 GB, free: 43.71 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.666/5.992, allocations: 2.758 GB / 3.277 GB, free: 145.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/5.992, allocations: 87.84 kB / 3.277 GB, free: 145.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7194/6.712, allocations: 217.8 MB / 3.49 GB, free: 92.67 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.764e-06/6.712, allocations: 0 / 3.49 GB, free: 92.67 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.696e-05/6.712, allocations: 7.469 kB / 3.49 GB, free: 92.66 MB / 0.5417 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.007282/6.719, allocations: 1.766 MB / 3.492 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/6.719, allocations: 17.91 kB / 3.492 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/6.721, allocations: 224 kB / 3.492 GB, free: 91.69 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/6.722, allocations: 271.4 kB / 3.492 GB, free: 91.49 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/6.722, allocations: 27.62 kB / 3.492 GB, free: 91.49 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/6.722, allocations: 29.91 kB / 3.492 GB, free: 91.49 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/6.724, allocations: 0.8062 MB / 3.493 GB, free: 91.34 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/6.724, allocations: 1 kB / 3.493 GB, free: 91.34 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/6.724, allocations: 18.94 kB / 3.493 GB, free: 91.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/6.724, allocations: 7.5 kB / 3.493 GB, free: 91.34 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/6.727, allocations: 0.9217 MB / 3.494 GB, free: 91.34 MB / 0.5417 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.004391/6.731, allocations: 2.806 MB / 3.497 GB, free: 89.46 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/6.732, allocations: 366.3 kB / 3.497 GB, free: 89.43 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7357/7.468, allocations: 237 MB / 3.729 GB, free: 70.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001482/7.47, allocations: 471.1 kB / 3.729 GB, free: 70.14 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 3.166e-06/7.47, allocations: 6.281 kB / 3.729 GB, free: 70.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32): time 0.002972/7.473, allocations: 0.7623 MB / 3.73 GB, free: 70.11 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/7.473, allocations: 374.8 kB / 3.73 GB, free: 69.67 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/7.473, allocations: 160.8 kB / 3.73 GB, free: 69.57 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/7.473, allocations: 31.61 kB / 3.73 GB, free: 69.54 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/7.473, allocations: 183.2 kB / 3.731 GB, free: 69.41 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/7.473, allocations: 114.5 kB / 3.731 GB, free: 69.36 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/7.473, allocations: 12.31 kB / 3.731 GB, free: 69.36 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.919e-05/7.473, allocations: 331.6 kB / 3.731 GB, free: 69.04 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/7.474, allocations: 79.53 kB / 3.731 GB, free: 69.04 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/7.474, allocations: 337.6 kB / 3.731 GB, free: 68.71 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/7.474, allocations: 126.5 kB / 3.732 GB, free: 68.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/7.474, allocations: 3.5 kB / 3.732 GB, free: 68.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008077/7.475, allocations: 468.4 kB / 3.732 GB, free: 68.64 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/7.475, allocations: 7.656 kB / 3.732 GB, free: 68.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/7.475, allocations: 10.69 kB / 3.732 GB, free: 68.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/7.475, allocations: 13.72 kB / 3.732 GB, free: 68.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/7.475, allocations: 135.6 kB / 3.732 GB, free: 68.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/7.475, allocations: 16.55 kB / 3.732 GB, free: 68.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/7.476, allocations: 52.06 kB / 3.732 GB, free: 68.63 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.755e-05/7.476, allocations: 44.06 kB / 3.732 GB, free: 68.62 MB / 0.5573 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.000165/7.476, allocations: 167.5 kB / 3.732 GB, free: 68.51 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/7.476, allocations: 28.34 kB / 3.733 GB, free: 68.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/7.479, allocations: 2.496 MB / 3.735 GB, free: 68.19 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/7.479, allocations: 17.59 kB / 3.735 GB, free: 68.19 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/7.479, allocations: 2.875 kB / 3.735 GB, free: 68.19 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/7.479, allocations: 7.797 kB / 3.735 GB, free: 68.19 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009797/7.48, allocations: 0.9325 MB / 3.736 GB, free: 67.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/7.48, allocations: 0 / 3.736 GB, free: 67.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/7.48, allocations: 69.61 kB / 3.736 GB, free: 67.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/7.48, allocations: 10.95 kB / 3.736 GB, free: 67.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/7.48, allocations: 17.42 kB / 3.736 GB, free: 67.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/7.48, allocations: 5.688 kB / 3.736 GB, free: 67.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/7.48, allocations: 7.625 kB / 3.736 GB, free: 67.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007774/7.481, allocations: 0.8317 MB / 3.737 GB, free: 67.45 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/7.481, allocations: 394.6 kB / 3.737 GB, free: 67.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/7.481, allocations: 10.92 kB / 3.737 GB, free: 67.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/7.482, allocations: 16.78 kB / 3.737 GB, free: 67.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/7.482, allocations: 31.38 kB / 3.737 GB, free: 67.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/7.482, allocations: 21.03 kB / 3.737 GB, free: 67.24 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004804/7.482, allocations: 499.9 kB / 3.738 GB, free: 67.13 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.583e-06/7.482, allocations: 0 / 3.738 GB, free: 67.13 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006047/7.488, allocations: 1.546 MB / 3.739 GB, free: 67.04 MB / 0.5573 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.009979/7.498, allocations: 1.913 MB / 3.741 GB, free: 66.66 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006545/7.499, allocations: 399.1 kB / 3.741 GB, free: 66.62 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/7.499, allocations: 0 / 3.741 GB, free: 66.62 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002825/7.499, allocations: 278.1 kB / 3.742 GB, free: 66.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006454/7.5, allocations: 128 kB / 3.742 GB, free: 66.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.341/9.841, allocations: 0.9646 GB / 4.706 GB, free: 99.67 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/9.842, allocations: 1.007 MB / 4.707 GB, free: 98.96 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008702/9.843, allocations: 473.4 kB / 4.708 GB, free: 98.95 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/9.843, allocations: 53.11 kB / 4.708 GB, free: 98.95 MB / 0.5573 GB Notification: Performance of SimCode: time 8.81e-07/9.843, allocations: 0 / 4.708 GB, free: 98.95 MB / 0.5573 GB Notification: Performance of Templates: time 0.05373/9.897, allocations: 38.01 MB / 4.745 GB, free: 98.54 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches