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.001773/0.001773, allocations: 199.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.001071, allocations: 98.19 kB / 297.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4695/0.4695, allocations: 44.83 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002976, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3915, allocations: 62.96 MB / 0.5184 GB, free: 37.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.05/7.441, allocations: 2.758 GB / 3.277 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003762/7.442, allocations: 84.81 kB / 3.277 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7954/8.237, allocations: 215.9 MB / 3.488 GB, free: 24.96 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.154e-06/8.237, allocations: 0 / 3.488 GB, free: 24.96 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.556e-05/8.237, allocations: 4 kB / 3.488 GB, free: 24.96 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.008733/8.246, allocations: 1.758 MB / 3.489 GB, free: 23.15 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/8.246, allocations: 8.031 kB / 3.489 GB, free: 23.14 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/8.248, allocations: 228.4 kB / 3.49 GB, free: 22.92 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/8.248, allocations: 283.8 kB / 3.49 GB, free: 22.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/8.248, allocations: 25.03 kB / 3.49 GB, free: 22.58 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/8.248, allocations: 32.31 kB / 3.49 GB, free: 22.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/8.25, allocations: 0.806 MB / 3.491 GB, free: 21.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/8.25, allocations: 4.125 kB / 3.491 GB, free: 21.69 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/8.251, allocations: 19.92 kB / 3.491 GB, free: 21.67 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/8.251, allocations: 12 kB / 3.491 GB, free: 21.66 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/8.253, allocations: 0.9153 MB / 3.492 GB, free: 20.74 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.003306/8.256, allocations: 2.804 MB / 3.494 GB, free: 17.72 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/8.257, allocations: 368.1 kB / 3.495 GB, free: 17.36 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/8.257, allocations: 76.81 kB / 3.495 GB, free: 17.28 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233/9.49, allocations: 237.3 MB / 3.727 GB, free: 121 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001321/9.492, allocations: 457.9 kB / 3.727 GB, free: 120.9 MB / 0.573 GB Notification: Performance of pre-optimization done (n=32): time 2.334e-06/9.492, allocations: 0 / 3.727 GB, free: 120.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=32): time 0.002676/9.494, allocations: 0.7716 MB / 3.728 GB, free: 120.8 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/9.494, allocations: 382.9 kB / 3.728 GB, free: 120.4 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/9.495, allocations: 183.1 kB / 3.728 GB, free: 120.3 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/9.495, allocations: 35.31 kB / 3.728 GB, free: 120.2 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/9.495, allocations: 189.9 kB / 3.729 GB, free: 120.1 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 7.914e-05/9.495, allocations: 105.8 kB / 3.729 GB, free: 120.1 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/9.495, allocations: 11.16 kB / 3.729 GB, free: 120.1 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.564e-05/9.495, allocations: 331.1 kB / 3.729 GB, free: 119.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/9.495, allocations: 76.06 kB / 3.729 GB, free: 119.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/9.495, allocations: 343.3 kB / 3.729 GB, free: 119.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/9.496, allocations: 468.7 kB / 3.73 GB, free: 119.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/9.496, allocations: 3.531 kB / 3.73 GB, free: 119.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007598/9.497, allocations: 462.1 kB / 3.73 GB, free: 119.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/9.497, allocations: 8.688 kB / 3.73 GB, free: 119.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/9.497, allocations: 12.22 kB / 3.73 GB, free: 119.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/9.497, allocations: 12.94 kB / 3.73 GB, free: 119.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/9.497, allocations: 142.5 kB / 3.73 GB, free: 119.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/9.497, allocations: 16.44 kB / 3.73 GB, free: 119.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/9.498, allocations: 51.56 kB / 3.73 GB, free: 119 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/9.498, allocations: 42.11 kB / 3.731 GB, free: 119 MB / 0.573 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.0001644/9.498, allocations: 166.4 kB / 3.731 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/9.498, allocations: 31.44 kB / 3.731 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/9.5, allocations: 2.496 MB / 3.733 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/9.5, allocations: 17.83 kB / 3.733 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/9.5, allocations: 9.781 kB / 3.733 GB, free: 118.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/9.5, allocations: 6.094 kB / 3.733 GB, free: 118.6 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008685/9.501, allocations: 0.9284 MB / 3.734 GB, free: 118.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/9.501, allocations: 2.719 kB / 3.734 GB, free: 118.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/9.501, allocations: 77.48 kB / 3.734 GB, free: 118.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/9.502, allocations: 3.5 kB / 3.734 GB, free: 118.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/9.502, allocations: 13.84 kB / 3.734 GB, free: 118.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/9.502, allocations: 7.109 kB / 3.734 GB, free: 118.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/9.502, allocations: 9.969 kB / 3.734 GB, free: 118.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008036/9.502, allocations: 0.6903 MB / 3.735 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/9.503, allocations: 386.7 kB / 3.735 GB, free: 118 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.578e-05/9.503, allocations: 9 kB / 3.735 GB, free: 118 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/9.503, allocations: 24.75 kB / 3.735 GB, free: 118 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/9.503, allocations: 36.14 kB / 3.735 GB, free: 118 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/9.503, allocations: 15.19 kB / 3.735 GB, free: 118 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004757/9.504, allocations: 0.4952 MB / 3.736 GB, free: 117.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/9.504, allocations: 0 / 3.736 GB, free: 117.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00727/9.511, allocations: 1.539 MB / 3.737 GB, free: 117.9 MB / 0.573 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.01147/9.522, allocations: 1.892 MB / 3.739 GB, free: 117.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009527/9.523, allocations: 409.4 kB / 3.74 GB, free: 117.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/9.523, allocations: 3.531 kB / 3.74 GB, free: 117.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003147/9.524, allocations: 274.2 kB / 3.74 GB, free: 117.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/9.525, allocations: 138.3 kB / 3.74 GB, free: 117.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.904/11.43, allocations: 0.6328 GB / 4.373 GB, free: 121.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/11.43, allocations: 0.9879 MB / 4.374 GB, free: 120.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008965/11.43, allocations: 482.7 kB / 4.374 GB, free: 120.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/11.43, allocations: 59.83 kB / 4.374 GB, free: 120.8 MB / 0.573 GB Notification: Performance of SimCode: time 8.02e-07/11.43, allocations: 0 / 4.374 GB, free: 120.8 MB / 0.573 GB Notification: Performance of Templates: time 0.05703/11.49, allocations: 40.83 MB / 4.414 GB, free: 119.3 MB / 0.573 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/jenkins1/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